| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Coupon area in admin - modified | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Coupon area in admin - modified
I've changed the coupon area in my cart as it was laid out really badly from my point of view. With the coupons at the top and the add coupon at the bottom, you had to scroll past them all to add a new one, and that list just gets longer. Also, to display the coupons in the default order meant you had to scroll to the bottom again to see the current/newest ones.
I've changed the php file and the tpl so that now the add coupon section is at the top, and the existing coupons are listed at the bottom, with the newest ones at the top. Note when I say Newest, what I mean is that they are sorted by expiry date which is not quite the same thing. This way I can see what coupons are current. I offer it here in case anyone want is, but I am a bit of a noob and I can't guarantee that it will run on any other cart. There's not a lot changed, just the template, and the SQL query, but they are not big changes, Please back everything up and take all precautions. provider/coupons.php Code:
skin1/modules/Discount_Coupons/coupons.tpl Code:
hth
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#2
|
|||||||||
|
|||||||||
Thats a first, a custom mod not in the custom mods forum instead of the other way round
if anyone else tests this post back how you get on
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||||
|
|||||||||
Sorry,
trying to do a few things at once
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#4
|
|||||||
|
|||||||
Re: Coupon area in admin - modified
Hi amy will it work on x cart Pro 4.3.x versions and controlled from admin??
|
|||||||
#5
|
|||||||||
|
|||||||||
Re: Coupon area in admin - modified
Sorry I don't know, this was probably for a 3.x branch looking at the date, and I don't have this mod myself at the moment on my 4.1 version, I'd forgotten all about it.
Don't know what you mean by 'controlled by admin' , this just displayed the admin coupon page differently,
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#6
|
|||||||
|
|||||||
Re: Coupon area in admin - modified
I want say about x cart pro ...
|
|||||||
#7
|
|||||||
|
|||||||
Re: Coupon area in admin - modified
would love to know if this works in 4.x
|
|||||||
|
|||
X-Cart forums © 2001-2020
|