Jump to content

Checkout page shows additional (unwanted) delivery methods


Recommended Posts

I'm using one page checkout and FedEx shipping module 1.3 and PrestaShop 1.5.6.2

 

I have FedEx Ground set up for orders shipping to a business address and FedEx Home Delivery for orders shipping to a residence. So at any one time, you should only have 1 shipping option/rate available for the cart.

 

When on the checkout page, if you change the delivery address, the delivery method updates and shows Free option for the carrier which should not be applied.

 

Ex: cart with residential address (no company name) selected shows FedEx Ground Home Delivery with rate.  If the address is changed to a non residential address (it has a company name) the delivery methods now show FedEx Ground Home Delivery with a rate of "Free" and FedEx Ground with the correct rate. In this scenario, we don't wan't the Home Delivery option to show, because it is not an actual shipping option.

 

Please help!!

 

post-735438-0-28497100-1390607850_thumb.jpgpost-735438-0-45371400-1390607852_thumb.jpg

Link to comment
Share on other sites

I didn't apply any restrictions.  See screenshots of settings.  

 

The restrictions are in modules/fedexcarrier/fedexcarrier.php: 

 

$wsParams

'recipient_residential' => ($address->company != '' ? false:true),

in function getFedexShippingCost($wsParams)

$request['RequestedShipment']['Recipient']['Address'] = array('StreetLines' => $wsParams['recipient_address1'], 'City' => $wsParams['recipient_city'], 'StateOrProvinceCode' => $wsParams['recipient_state_iso'], 'PostalCode' => $wsParams['recipient_postalcode'], 'CountryCode' => $wsParams['recipient_country_iso'], 'Residential' => $wsParams['recipient_residential']);
 

 

post-735438-0-99792700-1390843926_thumb.png

post-735438-0-19402200-1390843928_thumb.png

post-735438-0-87690100-1390843929_thumb.png

post-735438-0-28182400-1390843931_thumb.png

Link to comment
Share on other sites

I'm also having the issue with international shipping.  It is giving me a ground home and ground option for an international address and not international priority.  I tested with a new user account and a Canada address. Canada is set up in it's own zone with Mexico.

 

 

post-735438-0-71259600-1390860528_thumb.png

Link to comment
Share on other sites

×
×
  • Create New...