Re: Shipping module setting weight independent of number of items ordered
NOTE: I have a goober in the Flat Rate flat.php ... I am not taking into account the mixed cart with Tube Products and non-Tube Products ...
NOTE: if you do not need it, then just ignore the code until I have to to review it again ...
The USPS and FREE SHIPPING! code seems to be working ...
Re: Shipping module setting weight independent of number of items ordered
I fixed the flat.php to show only when the number of Products is the same as the Tube Products ...
Re: Shipping module setting weight independent of number of items ordered
Thank you for your response. Is it sufficient to apply the mods to USPS module alone? Does the logic require that I set the weight of the tube items zero or negative?
Re: Shipping module setting weight independent of number of items ordered
Set the weight on the Tube Products to 0 ...
The code for the FREE SHIPPING! freeshipper and USPS has the customizations for these ...
You just need to set the right products_id values in the code ...
If you need more products_id values you can add them by adding another:
Code:
$chk_products_in_cart += $_SESSION['cart']->in_cart_check('products_id', '195');
below the other ones, where you can change the 195 to the next products_id ...
Re: Shipping module setting weight independent of number of items ordered
Eerything works A OK. God bless zen cart forum:clap:
Re: Shipping module setting weight independent of number of items ordered
One more question. Is tare weight calculation impacted by this mod? It appears tare weight ignores 0.9 for tube products.
Re: Shipping module setting weight independent of number of items ordered
Never mind I can add it to tube weight!!
Re: Shipping module setting weight independent of number of items ordered
Yes the tare is ignored on the Tube as this just assigns a flat weight so you need to add that to the .9 for the Tube Weight ...