| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Simple Mod - Save 20% with our End of Year Sale | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Simple Mod - Save 20% with our End of Year Sale
Here is a simple mod but very, very effective.
Where you have your coupon code box in the shopcart/cart.php Above that we have displayed just for December (or what ever month you want) in this case the words: Save 20% with our End of Year Sale – enter code: YEARENDSALE See picture below: http://www.theshisha.com/images/xcartmod_save.jpg To get this you need to add a new language txt file called txt_gcheckout_add_coupon_yearend and edit skin1/modules/Discount_Coupons/add_coupon.tpl and of cause add a discount coupon to your shop. So to add a language just go to the language section in your admin area and add a new entry: Select Topic = Text Variable = txt_gcheckout_add_coupon_yearend Value = Code:
Next go to your Coupons section in your admin and add a coupon code, I have called mine YEARENDSALE And finally edit the skin1/modules/Discount_Coupons/add_coupon.tpl Where you have: Code:
Add after this: Code:
That's it, this is only displayed in December and you can miss out the 2007 so you can use this automatically every December of the year. Happy New Year to everyone here and thank you all for the great mods that have been posted this year. Regards Paul.
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
|
|||
X-Cart forums © 2001-2020
|