| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Free Shipping Mod | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
|
|||||||
|
|||||||
![]() 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
|
|||||||
|
|||||||
![]() Me too... It took me a long time finding.... Works for version 4.2.2
__________________
![]() |
|||||||
#4
|
|||||||
|
|||||||
![]() 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
|