There was a logic error in this code.. it would make shipping id 52 always free....
PHP Code:
if ($shipping_id == 52)
continue;
To make shipping id 52 only free when free shipping is selected...
PHP Code:
if ($product["free_shipping"] == "Y" && $shipping_id == 52)
continue;
__________________
-------------------------------
http://www.theharddriveexperts.com
New, Refurbished, Re-manufactured, Re-Certified Hard Drives -- ATA, SATA, SCSI, SAS, etc...
x-Cart Version 4.1.11