You are mixing apples and oranges here.. your words:
Zen Cart OUT THE BOX allows you to keep track of stock.. so create your two products (tea ball/infuser & bag of tea), set your stock levels for each product and use a DISCOUNT MODULE like "Better Together" so that when a bag of tea is purchased the customer will be offered a discounted price if they then purchase the tea ball/infuser..my wife sells teas, and we want to provide a discount on a tea ball/infuser if you buy a bag of tea
You REALLY can't do this with the default product attributes not without some serious re-coding of the default attributes management in Zen Cart.. This still isn't really an SBA modification..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Ok, was just responding to what Pottery House said to do, which was inadequate. Guess I'll try Better Together and see what happens. Thanks!
Mal
I just upgraded a site to 1.5.1, using SBA v1.5.2. They only have quantities set up for a few of their attributes. On their old site with a much older version of SBA, if attributes don't have quantities set, they default to the total product quantity and still allow checkout. On the upgraded site, if they don't have quantity for the attributes on a product, they show as out of stock. I'm not sure how to get around this? They have many products with attributes that don't require stock levels, so they don't want to have to go through and add stock to every attribute.
Danielle
I will be uploading an updated version to the plugins for the Zen Team to check soon. No sure what is involved for them, but I suspect it will take them a couple days based on their workload before they can get to it. In the mean time I think the version i posted in this thread as TEST 3 should work okay, it is almost the same as what I will be submitting. Main differences are the instructions have been updated, the version number in the files are updated, and the script to add attribute combinations in the stock pace is updated.
http://www.zen-cart.com/showthread.p...02#post1231102
stock_by_attribute_1.5.X_TEST_3.zip
Backup Files and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.
Based on you description, this is correct.
There is stock available so the product info page will not show as out of stock. But if a customer orders more than what is available, they get the out of stock or low stock warning in the shopping cart.
You can turn these warning off if you do not want then, the setting is described in the instructions.
The setting is in the "Configuration -> Stock" page, (Check Stock level - Check to see if sufficient stock is available . Options (True/False))
Also note, the latest version is now available in the downloads plugin area. I am removing the TEST version, so the link in the forum will no longer work for those old tests versions.
Last edited by potteryhouse; 17 Feb 2014 at 07:07 PM.
Backup Files and Databases First. GitHub
Suggestions, Plugins, etc. used at your own risk.
Hi Potteryhouse et al.,
I'm currently testing my FEC install and noticed that, while SBA continues to work wonderfully by displaying low stock in the shopping cart as appropriate, it no longer displays it on the order confirmation page the way it did without FEC installed. I upgraded to SBA 1.5.3 hoping this would help, but it didn't. I noticed the SBA code resides on the confirmation page betweenand the product looping thingy, so I inserted it (the SBA code) in that spot in the 3 FEC tpl files that contain the above code (tpl_fec_confirmation_default.php, tpl_checkout_stacked.php, and tpl_modules_esl_ordertotal.php), but that didn't solve the problem. I am going to ask on the FEC support thread, as well, but perhaps Potteryhouse or someone else here can point me in the right direction as to what else I need to do?Code:<?php echo $stock_check[$i]; ?>
One question that comes to mind is - does the SBA code in tpl_checkout_confirmation_default.php use any jquery file(s)? If so, which one(s)? FEC has you install the CSS/JS Loader, which changes how jquery is called, perhaps it's simply not calling the jquery files needed on the confirmation page...
Thank you!
Magz
Hi all,
Firstly, sorry if this has already been discussed.
Using the latest version of SBA from the downloads section on zen cart 1.5.1 which also has latest version of edit orders installed.
If you create or edit an order via admin the stock quantity for the variant is not adjusted, although the total stock quantity is.
Has anybody else experienced this issue?
Bookmarks