scoobasteve Posted May 13, 2009 Posted May 13, 2009 I have a webshop with T-shirts with different sizes and colors. I use a dropdown menu so you can choose your size. For the different colors, I'm using the contribution 'options as images' How can I tell the visitor which items are sold out? Because now you can choose, for example, a grey T-shirt in size Small even while it's not available. Then when you get to the Shoppingcart you see this: Articles marked with *** are not available in that quantity. Please go back and choose another size or color. (***) But I want to tell my visitors that, before they make their choice :) Hope you can help me
FIMBLE Posted May 13, 2009 Posted May 13, 2009 You can include your stock levels on the product info.php file. See if there is a contribution that does this, if not its easy to add Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
scoobasteve Posted May 13, 2009 Author Posted May 13, 2009 I don't want to show the stock on the page, but I do want to tell the visitor if an item is sold out in that combination. So, for example, I do have a grey shirt in size Medium. But I don't have a grey shirt in size Small. How to check that when a user makes the combination?
FIMBLE Posted May 14, 2009 Posted May 14, 2009 @fimble, How is it easy to add? For what you need for it to do it is not easy out of the box, to get simply the stock of an item (not including Attributes) you use the info that has already been called for in the SQL statement Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
FIMBLE Posted May 14, 2009 Posted May 14, 2009 To just have a stock amount use this <tr> <td class="main" align="left">Qty in stock: <?php echo $products_qty; ?></td> </tr> this should display the total amount of stock you have for your product Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
scoobasteve Posted May 17, 2009 Author Posted May 17, 2009 Thanks for your help, but that's not what I'm after. I found the attribute Dynamic force attribution selection. This uses Javascript to do a function when you click BUY. I want to do this, but I want it to check if the item I chose is in stock.
♥bruyndoncx Posted May 17, 2009 Posted May 17, 2009 you need "qtpro" contribution to track the stock at attribute level KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt
scoobasteve Posted May 18, 2009 Author Posted May 18, 2009 Yes, I'm using the QTPRo contribution, but that checks the stock level at the shopping_cart. I want to check it before I get to the shopping_cart. So at product_info when I've selected the dropdown.
scoobasteve Posted May 20, 2009 Author Posted May 20, 2009 Anyone? This is my shop, so you can see the problem: www.venour.com/shop Our shirts are very limited so it happens a lot that you choose a shirt in a size that's not available anymore. maybe I should show a list of the available items or something? Any help is appreciated
scoobasteve Posted May 22, 2009 Author Posted May 22, 2009 Actually, my main question is how to combine the two contributions options as images and QTPRo Maybe that's more clear for you guys :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.