Jump to content

Configuration carriers troubles and cart


Recommended Posts

Hello,

 

I experience a trouble with carriers configuration with PS 1.4.5.1 : I have 3 non-free carriers (lets call then A, B C) and a free one D in order to allow customer to get articles in the shop (I don't know the english name, in french is "Retrait en boutique").

 

I declared the carriers and the weight :

 

A (the default carrier) : from 0g to 1kg - price 3 euros - Out of range behaviour : disable carrier - URL : A

B : from 1 to 10kg without customer signature - price 5 euros - Out of range behaviour : Apply the cost of highest range - URL B

C: from 1 to 10kg with customer signature - price 6 euros - - Out of range behaviour : Apply the cost of highest range - URL B

D: free - get articles in the shop (Apply shipping cost: no)

 

When a customer add product, until 1kg, it's ok, the price of the default carrier is apply in the cart, but just above 1kg, the shipping cost drops down to zero ! It looks like prestashop selects the free carrier D instead of B. When he checks out his order, he can see that it's the free one, which is not very cool for the customer (who can imagine that is free).

 

Does anyone have such configuration ? Can someone help me to realize it ?

 

Thank you in advance,

 

Vincent

Link to comment
Share on other sites

Hi Dave,

 

I wanted to keep it simple, so I create a zone called "France Metropolitaine", I disabled all the countries except France, and put France in the "France Metropolitaine" zone. I disabled all the other zones too.

 

"France Metropolitaine" zone is selected in all the carriers, and I put the price for this zone/weight for each carriers.

 

I test with unidentified customer.

 

Is it normal ? Do you think that is it possible to do it ? I must say that I made a lots of tests, drop and recreate tables in order to reinitialize them ... Maybe I made a mistake ...

 

Thank you for helping,

 

Vincent

Link to comment
Share on other sites

I think your only mistake is the tables part. You shouldn't need to do anything other than use the settings in your BO.

 

You seem ton know your way around the shipping settings so I'll assume you have the fees by carrier set up also.

 

If this is the case, go to Countries>France and edit France. Un-check the Need zip code or remove the NNNNN from the Zip code format field, and Save.

 

I think because of this prestashop is waiting for a valid zip code. If it doesn't get it then the only option it can provide is the free option.

 

You didn't provide your URL so I couldn't check but this is my best guess.

 

Hope this helps.

Link to comment
Share on other sites

Dave,

 

I have unchecked the Need Zip code for France (I remember that I did it), but no help.

 

My shop is not opened yet and the last time I open it for 1 hour, I got an order ! and I am out of stock ! If you give me your IP I can grant access. Are you ok to see ?

 

Thank you,

 

Vincent

Link to comment
Share on other sites

As you have confirmed you have un-checked the zip code there isn't much else I could tell you just looking at your FO.

 

However, if you set up an employee with admin permissions and PM me the login details, I would be happy to take a look for you.

Link to comment
Share on other sites

Hello,

 

I tested and a fresh installed 1.4.5.1 and 1.4.6.2, and still the same problem.

 

So, I modified the function getOrderShippingCost in Cart.php. It's an override class you you can put the file in /override/classes. Tested on PS 1.4.5.1 but should work on 1.4.X

 

The details here : http://www.prestashop.com/forums/topic/116568-solved-default-carrier-issue/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...