| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Auto update Qty in View Cart | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Auto update Qty in View Cart
On the view cart page and on the checkout step one page I would like to change the quantity box to a drop down menu then automaticaly refreshes the page with the new settings when its changed.
Has anyone already done this ? V3.3.3
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#2
|
|||||||||
|
|||||||||
[skin1]/customer/main/cart.tpl:
Find this line: Code:
Delete it out, add some spacing inbetween the other code that is wrapped around it, so you that you can paste the following in: Code:
I've also adjusted step 1 of the checkout as well: [skin1]/customer/main/cart_contents.tpl Locate the following line: Code:
Highlight this entire line of code and replace it with: Code:
I'm not too sure if this will work properly with the quantity or inventory check on the product so if you are using a check on inventory & if you do experience the select field selecting the max, disregarding the amount of products available, let me know. Donations happily accepted Kudos
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#3
|
|||||||||
|
|||||||||
Cheers mate,
ill take a look at this tomorow
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#4
|
|||||||||
|
|||||||||
Has anyone had a problem with even the default template updating the quantity? When I change the quantity while I am viewing the cart and click update - it refreshes, but the quantity reverts to its original value. This is in 3.3.5. Any ideas?
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|