| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Increase Quantity for specific product | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am trying to add a specific product that I would like to increase the available quantity of, but not allow it to effect the rest of my products.
My default store quantity allowed is 50 which is fine for all of my other products. I want to specify this specific product to allow a quantity of up to 20,000 to be selected. (I know I can set the default store quantity to 20000 but it slows down the menu due to the large amount of numbers it populates). Anyone have a solution for this?
__________________
Brad Thompson Group Imaging X-Cart Gold Version 4.1.8 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Replace the dropdown with text input field. then you don't have to worry about the numbers and it won't slow down the page load
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() that would work but I would still like to have the quantity drop down on the rest of my products, is there an {if} statement I can use to specify this specific product?
__________________
Brad Thompson Group Imaging X-Cart Gold Version 4.1.8 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() {if $product.productid eq "xxx"}
show text field code {else} show dropdown code {/if} replace xxx with product number (not sku)
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||
|
|||||||
![]() I need to get this to work for our store as well. All of our customers must login to view pricing and I already have this working with the text field on our store. Now I need to add the drop down for our closeouts category only, as there are several closeout items that will have only 1 available. I can get both the drop down and the text field to show and the drop down does show only the limited number of items for each closeout, but I'm not capturing the right {if} statement to change from text field to drop down.
__________________
______________ version 4.1.9 Gold |
|||||||
#6
|
|||||||||
|
|||||||||
![]() {if $cat eq "256"}
drop down {else} text field {/if} replace the 256 with category number.
__________________
xcart 5.1.2 |
|||||||||
|
#7
|
|||||||
|
|||||||
![]() Thanks Ashley.
I've tried using {if $cat eq "78"} or {if $cat eq 78} for my closeouts category, but this isn't working for me in my product.tpl. I tried this also for showing the discount and crossed out market price with another thread, but no cigar. What has worked is using an extra field that I have set up for condition rating for my closeouts, and for this thread for either the text or drop down quantity to show, I am able to get this to work with {if $product.avail eq 1} and it shows the drop down selection for my closeouts with only 1 available. {if $product.avail eq 1} drop down {else} text field {/if} Christine
__________________
______________ version 4.1.9 Gold |
|||||||
|
|||
X-Cart forums © 2001-2020
|