PDA

View Full Version : Individual Product Shipping Prices - v1.0



michael_s
03-17-2009, 12:00 AM
I found that it is inconvient to use tep_not null becuase if you removed the amount and there still be a 0 left where it still notnull. so.

simple changed from:

if (tep_not_null($shiptotal) || tep_not_null($indvcount) || $shiptotal == '0'){

to:

if ($shiptotal != '0'){


so if $shiptotal is not equal to 0, meaning if there is an amount, it will show Shipping Total, then if shiptotal is 0, then it will show Free Shipping.

Previous version cannot apply to this case.

Please change if you have better idea....

included complete addon....



More... (http://addons.oscommerce.com/info/1333)