| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Need to display a message when someone buys multiple product | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Need to display a message when someone buys multiple product
Hello,
I'm hoping someone can help me with a bit of code. I need to setup my store so that if someone has 2 or more items in their shopping cart when they checkout, they are shown a certain message on the screen where they view the contents of their shopping cart. If they have only one item they shouldn't see this message. Anyone know how to do this? Thanks, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#2
|
|||||||||
|
|||||||||
You could do such on the cart as long the $product array is available.
Code:
Change smarty.php to use debug.tpl instead of debug_template.tpl and enable the debug console in the admin under general settings. You will see all available variables and arrays you can use.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|