Shipping Cost to Canada Way too Low

  • Posts: 33
  • Thank you received: 0
8 years 9 months ago #229883

-- url of the page with the problem -- : 3dheliupgrades.com
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 2.5.19

I've had several customers in Canada place orders and the cost for USPS Priority International is always much too low. The most recent order was today. The calculated shipping cost to Ontario was $1.20, but the actual shipping cost was $22. Due to the incorrect shipping amount, I actually lost money on this transaction.

Is there anything I can check to get the correct shipping amount for orders being shipped to Canada?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 9 months ago #230038

Hello,
The USPS shipping plugin algorithm automatically "group" your products together into packages based on the USPS package's size/weight restriction.
In your case, the best solution will probably be to directly add a fixed price through the "Price" option of your shipping method OR, directly edit the usps.php file of your USPS shipping plugin and add this line :

$limit['unit'] = 1;
Just before that line :
$packages = $this->getOrderPackage($order, array('weight_unit' => 'oz', 'volume_unit' => 'in', 'limit' => $limit, 'required_dimensions' => $required_dimensions));
So that it won't dynamically group your products anymore.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
8 years 7 months ago #234436

I have still not been able to solve this. I just got another order and the USPS shipping price is $22.75, while Hikashop only charged $1.25.

I'd really like to get this figured out!

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 7 months ago #234562

Hello,

1. Can you download the last Hikashop version through our website install it and test it again ?

2. If it didn't solve your issue, can you also edit your usps.php file as I told you in my last message and test it again ?

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
8 years 7 months ago #234641

Thank you for your reply! :)

I have a lot of custom templates and don't want to lose them. So I've been hesitant to upgrade.

I did edit the usps.php file, but it didn't make a difference.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 7 months ago #234659

Hi,
The USPS shipping plugin is only displaying the results which are coming from the USPS platform, if forcing 1 product per package didn't changed your shipping price, even after clearing your browser cache, then we won't be able to do more but just :
- Adding a value to the "Price" option

OR

- Directly edit the code of the USPS shipping plugin to suit your needs but some development skills will be required.

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 0
8 years 7 months ago #236055

Is there some kind of guidance available for how to edit the USPS plugin code? I'm not a programmer, but can follow instructions.

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 7 months ago #236062

Hi,

Unfortunately, we don't have a ready-made solution so that you can just copy/paste some code here and there for what you want.
If you need a developer to work on that for you, you can contact our partners:
www.hikashop.com/home/our-partners.html

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum