| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
remove discount from totals if no discount used | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
remove discount from totals if no discount used
heres a simple mod that removes the discount field from the checkout if there is no discount being given.
all you have to do is open up cart_totals.tpl and replace Code:
with Code:
this was done in 3.5.x but would work pretty much the same in other versions. this is the only code added Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#2
|
|||||||||
|
|||||||||
Thats nice shan, could you give the code to the developers so they can add it to the next release ?
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#3
|
|||||||||
|
|||||||||
You will also want to clean up your print and email invoices wherever possible.
I find that the Coupon and Discount fields in the invoices leave the customer feeling like they missed some kind of pricing advantage when they ordered. Change the Discount and Coupon Display in mail.order_data.tpl to Code:
I do the same with my taxes (Canada) because we have 2 and it only serves to confuse US and UK customers (to which they do not apply). 1 less Customer Service email to answer is one less headache. |
|||||||||
#4
|
|||||||
|
|||||||
thanks
Thanks for the mod. Just a reminder for everyone to also change the template in the mail/html section if you are using html mail notifications. Same code, just placed around the html table tags.
|
|||||||
#5
|
|||||||
|
|||||||
I think Shan & adpboss (among others) should be on the design team for XCART
Have you ever noticed that they work good together? Adpboss is also good at destroying speedbars! Don't even mention the word speedbar around him... missles come out of his shoulders and he destroys them! This post deserved to be bumbed to the top again, it should be standard cart issue, nice work guys! |
|||||||
#6
|
|||||||
|
|||||||
Lovely little mod to help tidy up xcart and make it look a bit neater. Thanks a million.
|
|||||||
|
|||
X-Cart forums © 2001-2020
|