| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Enter Quanity or Even Numbers | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hey all
I have been looking at these forums for days. Found a few things that may help but here is the question. Is there any way to change the quanity drop down to only even numbers - but only for 1 specific catagory? Or maybe have them enter the quanity instead. The reason being that wallpaper is priced in single rolls but you must purchase them in double rolls. I have tried varients but it is not working. Thanks for any help.
__________________
ver. 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() In skin1/customer/main/product.tpl
Change... Code:
Code:
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi
Thanks for the quick reply. Quick question - "123 being category id" - The catagory wallpaper has many sub categories. Will this still work
__________________
ver. 4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() Use a range of category ID's like this, say 123-130...
Code:
Code:
__________________
xcartmods.co.uk |
|||||||
#5
|
|||||||
|
|||||||
![]() Alternatively, if you want an input box rather than a dropdown...
http://forum.x-cart.com/showthread.php?t=2428
__________________
xcartmods.co.uk |
|||||||
#6
|
|||||||
|
|||||||
![]() Hello
I have tried to get this working but I keep coming up with this : Error: Smarty error: [in customer/main/product.tpl line 146]: syntax error: unexpected {else} (Smarty_Compiler.class.php, line 46 ![]() The code on the org page looks like this before I change anything. Quote:
__________________
ver. 4.1.9 |
|||||||
#7
|
|||||||
|
|||||||
![]() ok, replace...
Code:
With... Code:
__________________
xcartmods.co.uk |
|||||||
#8
|
|||||||
|
|||||||
![]() This worked out GREAT!
Thank you so Much!
__________________
ver. 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|