Jump to content

Major Shipping Problems


Recommended Posts

I can't get shipping to work properly.  The two main issues are (1) SHIPPING > Handling Charge field doesn't ever calculate for orders; and (2) CATALOG > PRODUCTS > (select an item) > SHIPPING > Additional shipping cost (per quantity) never calculates for orders either.

 

I've been working at this for a week and it's like these fields are just dummy fields.  I've even gone into MODULES > MODULES > USPS (module) > PRODUCT SETTINGS (tab) and tried to setup an additional charge per item there -- and nothing.

 

- I want all orders to have a flat $ on top of the calculated shipping costs.

- I need an additional flat $ per some items that require special shipping (they need special shipping packaging, etc., due to size and they are glass).

 

Any help would be great.  Thank you.

Link to comment
Share on other sites

Can you show me the configuration screenshots of your USPS module? 

 

The configuration I am talking about is actually when you create a carrier, and that actually might be much easier in your case.

 

I would also suggest that you disable the module and make a new carrier as specified in this blog post, http://www.prestashop.com/blog/en/how-to-set-up-shipping-in-prestashop-v1-5-5/

Link to comment
Share on other sites

  • 1 month later...

I have the same issues with FEDEX module.  Doesnt apply additional shipping cost specified in the Catalog/Product/Shipping tab or the additional shipping cost specified in the Module Catagory or Product additional shipping cost.  Neither show any additional cost added to the shopping CART/checkout process.  Please help

Link to comment
Share on other sites

The issue comes in when calculating costs as one package - i.e. you want to put all items in one package and calculate the shipping cost for one package.

The logic to add additional costs for (carrier, category, product) is not applied.

See module: fedexcarrier - function public function getWebserviceShippingCost($wsParams) {

 

So in order to get fedex working for onepackage calculations add the following code info fedexcarrier.php (first make backup of file to fedexcarrier-orginal.php in case problems).

 

Within if (Configuration::get('FEDEX_CARRIER_CALCUL_MODE') == 'onepackage') {

block there is a foreach loop

foreach ($wsParams['products'] as $product) {

 

** Add this code after foreach

// Load specific configuration

$config = $this->loadShippingCostConfig($product);

 

** Add this code at bottom of foreach

// If Additional charges
if (isset($config['id_currency']) && isset($config['additional_charges'])) {
       $conversionRate = 1;
       $conversionRate = $this->getCartCurrencyRate((int) ($config['id_currency']), (int) $wsParams['id_cart']);
       $cost += ($config['additional_charges'] * $conversionRate);
}

 

You will notice this is the same code the runs when calculating shipping costs individually.

Hope this helps.

Link to comment
Share on other sites

×
×
  • Create New...