| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Force Ordering in case qty only | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Force Ordering in case qty only
I understand and have set the minimum order qty per item, but what files would need to be altered to increment order qty by minimum amount so customers will only be able to order in case qty (minimum qty order in x-cart)
__________________
Greg Marler x-Cart GoldPlus version 4.7.12 Gold 4.7.6 (under construction) CentOS Apache 2 |
|||||||
#2
|
|||||||
|
|||||||
Re: Force Ordering in case qty only
Usually...
/skin/common_files/customer/main/buy_now.tpl /skin/common_files/customer/main/product_details.tpl /skin/common_files/customer/main/cart.tpl It depends if you're using the quantity input field, or quantity select dropdown, but in either case you need to add a 'step' attribute and possibly some additional JS validation code on top. https://www.w3schools.com/tags/att_input_step.asp https://www.smarty.net/docs/en/language.function.section.tpl Also depends whether you want to do it store-wide, or on just a selection of products. If the latter, then you'll probably need a custom product field.
__________________
xcartmods.co.uk |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|