Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
That type of duplication was seen with the version that was provided for download in the plugins area, but is corrected in the version discussed over the last several pages and is to make its way to the plugins once a few other improvements are made to expand its functionality and interoperation with other "typical" software.
Anyways, suggestion is to apply the software available at https://github.com/mc12345678/Stock_...butes_Combined. The files in the includes and admin directories should be applied first (merged as applicable), then to go into the sub-folder for your version of ZC and the files/changes also applied/merged with your template.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
mc12345678
That type of duplication was seen with the version that was provided for download in the plugins area, but is corrected in the version discussed over the last several pages and is to make its way to the plugins once a few other improvements are made to expand its functionality and interoperation with other "typical" software.
Anyways, suggestion is to apply the software available at
https://github.com/mc12345678/Stock_...butes_Combined. The files in the includes and admin directories should be applied first (merged as applicable), then to go into the sub-folder for your version of ZC and the files/changes also applied/merged with your template.
Thank you so so much! I'm sorry I asked a question already addressed.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Christian_Wagner
Thank you so so much! I'm sorry I asked a question already addressed.
Well, actually it was a problem identified when trying to further it's use in more recent ZC versions and maintain operability of multiple option names such as you have setup. There are a number of other improvements made since that time as well. Not so sure that the particular issue would have been easy to find in the thread.
If anything, might have suggested reading through these last couple of pages to get an idea of the status of the software and what is going on to keep it accessible to those that wish to use it. :) the images were informative to at least identify my suspicions that it was occurring because of use of the older version(s).
Besides, if don't ask a question, may not ever find an answer. :)
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quick question, I've upgraded a site to the current version of this plug-in which solved some issues. Out of Stock attributes are identified as such in the drop down but are still selectable. Is having them grayed out and not selectable a setting I'm missing?
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
jeking
Quick question, I've upgraded a site to the current version of this plug-in which solved some issues. Out of Stock attributes are identified as such in the drop down but are still selectable. Is having them grayed out and not selectable a setting I'm missing?
Difficult to answer without more information: product attributes, one option name or more than one, dynamic dropdowns enabled only for multiple attributes? What are the first three stock settings? Is it allowed for one to checkout with product being out of stock? If you were to say that the designation of out-of-stock wasn't present, then would suggest verifying the option name type.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
mc12345678
Difficult to answer without more information: product attributes, one option name or more than one, dynamic dropdowns enabled only for multiple attributes? What are the first three stock settings? Is it allowed for one to checkout with product being out of stock? If you were to say that the designation of out-of-stock wasn't present, then would suggest verifying the option name type.
You can't read what I'm thinking? Probably better than way....
Product has a single attribute, size.
dynamic dropdowns enabled only for multiple attributes: yes.
Check stock level: true
Subtract stock: true
Allow Checkout: false
The option is listed at out of stock, so I can select it, but cannot add it to the cart successfully. I get an empty cart. So the issue is just the missing disabled="disabled" on the attribute option.
I see this referenced it two files:
\includes\classes\observers\class.products_with_attributes_stock.php
\includes\modules\YOUR_TEMPLATE\attributes.php
and confirmed the correct and current version is on the server.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
jeking
You can't read what I'm thinking? Probably better than way....
Product has a single attribute, size.
dynamic dropdowns enabled only for multiple attributes: yes.
Check stock level: true
Subtract stock: true
Allow Checkout: false
The option is listed at out of stock, so I can select it, but cannot add it to the cart successfully. I get an empty cart. So the issue is just the missing disabled="disabled" on the attribute option.
I see this referenced it two files:
\includes\classes\observers\class.products_with_attributes_stock.php
\includes\modules\YOUR_TEMPLATE\attributes.php
and confirmed the correct and current version is on the server.
Well, those settings should result in an out-of-stock product being disabled if using the SBA select list as the option name type for that product.
In a search of the github repo the use of disabled was also found in includes/templates/YOUR_TEMPLATE/jscript/jscript.form.js, though at the moment I'm not sure of the interaction of that script with the observed issue.
Haven't had a moment (though plan to later) but is this item either at the beginning or end of the list, do things change if more than one is made to go out-of-stock (quantity of 0)?
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
mc12345678
Well, those settings should result in an out-of-stock product being disabled if using the SBA select list as the option name type for that product.
In a search of the github repo the use of disabled was also found in includes/templates/YOUR_TEMPLATE/jscript/jscript.form.js, though at the moment I'm not sure of the interaction of that script with the observed issue.
Haven't had a moment (though plan to later) but is this item either at the beginning or end of the list, do things change if more than one is made to go out-of-stock (quantity of 0)?
And that's what I missed, changing theOption Type to SBA Select List (Dropdown) Basic. All good now, thanks!
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
jeking
And that's what I missed, changing theOption Type to SBA Select List (Dropdown) Basic. All good now, thanks!
Welcome. That's a whistle planned to be added to the admin stock populating side once a separate, but related aspect is addressed with making the data fields easier to programmatically identify and manipulate. Don't want to start writing in extra options that will have to be recoded and cause issues with cut/paste/replace, etc...
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5
Hello,
I downloaded this mod and it messed up my admin I just had a blank page. I put all the folders where they should go... I replaced the files with my backup and admin is now fine, My problem is now when I view an item that has an attribute on my site I get the following error WARNING: An Error occurred, please refresh the page and try again. Does anyone know why this is happening?
Thanks