| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Quanity Conditional Statement | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Quanity Conditional Statement
I want to use a conditional statement to show a graphic or text if the item has a quanity discount. What would be used to detect "if quanity" and what would the correct syntax be?
Example: if quanity discount display image.gif (or text) endif |
|||||||
#2
|
|||||||
|
|||||||
The quantity discounts are not available within the product listings page as standard but I know that this can be and has been done.
If you want to pm me I coul dput it in place for you or the xcart team or other experts here could do it I am sure.
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
Thanks but my question was answered through the help desk.
|
|||||||
#4
|
|||||||||
|
|||||||||
Suggestion for jgkiefer: Could you post the response from the help desk to make this thread useful to others?
__________________
-Ken X-Cart User / Developer Since April 2003 (Varying versions, multiple client sites, 3.x through 4.4.x) www.pointbweb.com |
|||||||||
#5
|
|||||||
|
|||||||
Quote:
The response I received is as follows: Quote:
|
|||||||
#6
|
|||||||||
|
|||||||||
Thanks for the post jgkiefer. And that answered your question about IF discount, DISPLAY image?
__________________
-Ken X-Cart User / Developer Since April 2003 (Varying versions, multiple client sites, 3.x through 4.4.x) www.pointbweb.com |
|||||||||
#7
|
|||||||
|
|||||||
Yes, it tells me that support is not going to help me. But that is okay. Just look for the area that displays the quantity discount price (/customer/main/product_prices.tpl) and you should be able to untangle the if statement that displays the quantity. I haven't gotten to it yet, but that is how I have uncovered other if statements. Just takes a while to sort out the code. They actually told me a lot without realizing it.
Sorry I wasn't more help. |
|||||||
#8
|
|||||||
|
|||||||
BTW kpriest -
I see that you joined the forums on 09 Apr 2003. Me too! I guess that makes us brothers, kinda, sorta. |
|||||||
#9
|
|||||||||
|
|||||||||
Quote:
No problem - I don't need the info - I was just curious if you resolved it. Considering the amount of work and pain I've put into my first x-cart implementation and I assume you have as well - that would make us blood brothers! Overall, I am happy with the product - but it is frustrating that it could easily be so much better than it is. At least it's open and you can dig right into it and there's lots of help in this forum.
__________________
-Ken X-Cart User / Developer Since April 2003 (Varying versions, multiple client sites, 3.x through 4.4.x) www.pointbweb.com |
|||||||||
#10
|
|||||||
|
|||||||
Quote:
If you only knew. I just discovered that the x-cart developers are Russian. Their shopping experience must be different than ours. That may explain why some of the simplest features are missing. And some of the most complex are unnecessary. Anyway after a lot of custom mods I had them do an upgrade, and it did not go well. I am still bleeding. But like we say in the biz, s@#$ happens! I use drop shippers and I am not sure that xcart is the best solution for that. I have been working on a different open source cart custom development that seems to be more suited. I haven't decided which I will use for my current project. It will all work out well in the end. |
|||||||
|
|||
X-Cart forums © 2001-2020
|