Thanks for the reply.
It was a wiki referenced in this thread for this module, here is the link;
https://www.zen-cart.com/wiki/index...._by_Attributes
scroll down to '16.2 How can I show the amount of stock available next to each attribute on the product information page?' That then links to a another thread on here but details the posts to look at, link;
https://www.zen-cart.com/showthread....8OLD%29/page11
I tried implementing the 'fixed' code but that is what causes a the page to load a blank page. Unfortunately my php and sql programming skills are a little rusty so anything more than basic tweaks aren't going to happen.
Clean install of zencart 1.5.4
Then template winchester responsive
Then SEO URL mod
Then Big Royal Mail 3.3.0a mod
Then Cookies mod
All files that needed merging where done carefully with winmerge.
All the above working perfectly then I installed stock_by_attribute_1.5.4-master, created 1 product and setup to use SBA with a 'size' option dropdown and 10 options on the list, 2 with 0 qty the rest with a random positive number.
I have noticed that the big royal mail mod is setup to use read only attributes which the SBA ignores and tries to use as multi dropdown, so I have disabled the big royal mail mod until I can see if this works properly, none of the other mods interfere with this one and all files where merged carefully with winmerge.
So when displaying the the single standard dropdown it appears just as it would normally in a clean un-modded version of zencart, it shows the size for example Large and that is it, no out of stock for the 2 that are 0 qty. I tried changing the dropdown to an SBA dropdown but no change.
I used to use a version of SBA 4 years (or more) ago and it used to display the qty next to the size, but had other bugs that meant I could not use it on a live site, but this new version that works on zencart 1.5.4 seems to have fixed those bugs, but doesn't display the qty. As I am doing a complete site over haul (not live) to clean up the catalogue and code, and SBA is something I have needed for sometime I thought it would be great to get this installed to use.
~D
Bookmarks