| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Free Shipping Mod | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Free Shipping Mod
This mod allows selecting one or more shipping methods as to be free, while the rest of the shipping methods are calculated as normal...
located in /includes/func.cart.php Replace: PHP Code:
With: PHP Code:
After trying other mods and searching for hours and hours, and tracing through code... yuck (im not a programmer, LOL) This code works for me, hope it works for you... --Dirk (Main Tech Guy for http://www.theharddriveexperts.com)
__________________
------------------------------- http://www.theharddriveexperts.com New, Refurbished, Re-manufactured, Re-Certified Hard Drives -- ATA, SATA, SCSI, SAS, etc... x-Cart Version 4.1.11 |
|||||||
#2
|
|||||||
|
|||||||
Re: Free Shipping Mod
There was a logic error in this code.. it would make shipping id 52 always free....
PHP Code:
To make shipping id 52 only free when free shipping is selected... PHP Code:
__________________
------------------------------- http://www.theharddriveexperts.com New, Refurbished, Re-manufactured, Re-Certified Hard Drives -- ATA, SATA, SCSI, SAS, etc... x-Cart Version 4.1.11 |
|||||||
#3
|
|||||||
|
|||||||
Re: Free Shipping Mod
Me too... It took me a long time finding.... Works for version 4.2.2
__________________
Version Xcart5 5.2.XX |
|||||||
#4
|
|||||||
|
|||||||
Re: Free Shipping Mod
I have a client who wants one of his admin store managers to have free shipping always; would this be the best option to set that up? Or should I use membership profiles?
__________________
X-Cart Gold v4.5.5 X-Special Offers Linux/PHP 5.3.13/MySQL 5.1.66 |
|||||||
|
|||
X-Cart forums © 2001-2020
|