Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
@jage
The products_with_stock_attributes table is connected to the rest of Zen Cart via the products_attribute table.
The comma-delimited list in the stock_attributes column of the products_with_stock_attributes table is a list of products_attributes_ids from the the products_attributes_table.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
feanix02
Does anyone have a link to this mod in action? I have a few questions regarding how it works from the customers end.
Does it show out of stock on the product page level? Example, 1 item, with 4 attributes being seperate colors, 1 of the colors is out of stock. Does the mod prevent the out of stock color from being added to the shopping cart?
That depends on the version. My version doesn't but I believe that was what at least one of the problematic versions released later was trying to achieve.
1 Attachment(s)
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Hi kuroi
thanks so much for your reply; I really appreciate your time
I did bite the bullet & 'attempt a merge' in the end; initial testing seems ok; but who knows if I did the merge correctly ...so - if you would still have a moment to have a quick look at the attachment?
Yes - I believe my template is some sort of derivative of TM (but not from them) - so (as a side issue) I probably have not much hope of upgrading do I? (especially as I've been having much fun adding lots of mods)
Many many thanks
oh - and ta for the handy tip regarding zipping & attaching files! :smile:
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
@Green333
That looks fine to me. The key block was the one between lines 109-115 in your file and that's identical to the mod and appropriately located in your file.
The other differences are cosmetic and specific to that template, so you shouldn't have any stock-by-attribute problems from this merge.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
kuroi,
Thank you so much :hug:
I really appreciate your feedback
(Hopefully one day merging won't feel so daunting & 'scary')
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
kuroi
That depends on the version. My version doesn't but I believe that was what at least one of the problematic versions released later was trying to achieve.
Thank you for the quick reply!
At which point in the checkout process will the customer be notified the item is out of stock? Also, will it prevent the item from being purchased if it's out of stock, or still allow it and provide a warning.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
feanix02
Thank you for the quick reply!
At which point in the checkout process will the customer be notified the item is out of stock? Also, will it prevent the item from being purchased if it's out of stock, or still allow it and provide a warning.
First question depends upon which version of Stock by Attributes you use. The one I was maintaining notifies customers in the shopping cart, other later ones tries to move this to the product page (a more appropriate place) but appear to have found it more complicated than they expected.
Whether or not a customer can checkout if the selected combination is out of stock depends on whether you set the Zen Cart switches to allow it or not. For some sites back ordering is appropriate, for others not, so Zen Cart supports both.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Hello,
I've looked through this thread and tried searching for answers, but I couldn't find any!
Please help!
I installed the Stock by Attributes and I didn't work so I removed it. I must have installed it wrong, but the client's shop disappeared! :blink: So I put my back up files back onto the server, but now half of the page is missing! :frusty:
Here is their store:
http://thequeenofcouture.com/zencart...products_id=49
Thanks for anyone's help in advance! I'm clueless!
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
This will be a syntax error or missing file causing PHP to crash. This FAQ entry may help to track down the source of the problem.