Hello,
Have found solutions for 1.5.6.4 however I can't find them for 2.3.0.2.
I would like to somehow start the weight of the shopping cart at 30g before any products are added.
As my packing boxes are 27g each.
I want to give an accurate shipping price as possible.
Thanks in advance.
As long as your shipping method uses $this->cart->getWeight() to get the weight of the cart, you should be able to make an edit like this:
Note: that assumes your default weight class is grams, so if it's not, you should convert the 30 value appropriately.
Code: Select all
IN:
/system/library/cart.php or /system/library/cart/cart.php
REPLACE:
$weight = 0;
WITH:
$weight = 30;
Note: that assumes your default weight class is grams, so if it's not, you should convert the 30 value appropriately.
Who is online
Users browsing this forum: No registered users and 222 guests