| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Market price list and save % on detail product | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Market price list and save % on detail product
This is to list the market list price and % save on the detail products page.
X-Cart 4.0+ SKIN1 > CUSTOMER > MAIN> product.tpl Code:
Replace with Code:
Just giving back to a great forum! ... Happy coding! MPJ
__________________
X-Cart 4.0.11 {My simple mods} Adding Market list and % save on product detail Quantity input box |
|||||||
#2
|
|||||||
|
|||||||
Excellent thanks!
__________________
X-Cart version 4.x (Most likely will be the latest version) |
|||||||
#3
|
|||||||||
|
|||||||||
this only works if a product has a discount on it.
If you have product #1 which has a list price it will show correctly. If you have product #2 which doesnt have list price, you get SQL errors etc. Can this not be adjusted like the thumbnail pages? ie, if there is not list price, dont show anything, but if there is, then show what the saving is.
__________________
Richard Ultimate 5.4 testing |
|||||||||
#4
|
|||||||
|
|||||||
Yes, you would be better off using an if statement that specifies that the value needs to be over 0. The same type of thing is used on the "Save X%" in the customer/main/product.tpl.
Here's one way to show the list price if there is one (XC's default is $0.00): Code:
- Mike
__________________
4.1.9 |
|||||||
#5
|
|||||||
|
|||||||
Hello
I there a way to have the list price changed on the Product variants. This works great on the Product details page but not if a variant is involved. Any help here would be great. Thanks
__________________
4.1.3 |
|||||||
#6
|
|||||||
|
|||||||
No list if price is list price is 0
This mod works great
but is there a way to not display list price if the list price is "0.00" in the admin For example right now it if list price is "0.00" it will display "List Price: $0.00" with the zero's slashed out. Thanks v4.0
__________________
learnxcart 4.1.6 |
|||||||
#7
|
|||||||||
|
|||||||||
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
|
|||
X-Cart forums © 2001-2020
|