Re: Stock by Attributes 5.0 Beta (for v1.5.0)
While installing and comparing, "stock_by_attribute_1.5.1.1" vs "creinold_SBA5.1_alpha_version1.5_for_zencart_V1.5.0".
I noticed a field called products_options_track_stock is added to the products_options table by "creinold_SBA5.1_alpha_version1.5_for_zencart_V1.5.0". I am hoping it does as it's named. That is, If it's set to 0 for an attribute, the mod will NOT keep track of the inventory for that particular attribute or attributes. (by default it's set 1)
The shop owner has products that are priced by size attribute, but there are many other attributes defined as Read Only for the purposes of filtering and describing the products while searching in the product listing page, through the Dynamic Filter Mod. These read only attributes are color, shape and etc.
What is the purpose of products_options_track_stock? Because as I place a 0 in the products_options table for products_options_track_stock, it is still tracking and showing and trying to keep inventory of Color and Shape attributes.
Am I missing or doing something wrong here?
The other issues and problems that I have are:
- Can this mod keep track of only one attribute (in this case size)?
- How can I display the available inventory for the size attribute on the product info page?
- Why is it that when an attribute is not in the inventory, it does not show an Out of Stock Message on the product info page?
- If you already have products with attribute in your live site. How do populate the "products_with_attributes_stock" table with quantity data?
1 Attachment(s)
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
Hey All...
I just installed "Stocks by Attributes" in Zen Cart 1.5.1. Everything seems to be working fine...EXCEPT...in my dropdown to choose size where I can see the quantity of each size I'm getting the HTML codes for bold so that it looks like this:
<b>Qty</b> 20
Attachment 13187
Can't figure out where that's coming from. Thanks in advance.
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
Quote:
Originally Posted by
palafirst
Hey All...
I just installed "Stocks by Attributes" in Zen Cart 1.5.1. Everything seems to be working fine...EXCEPT...in my dropdown to choose size where I can see the quantity of each size I'm getting the HTML codes for bold so that it looks like this:
<b>Qty</b> 20
Attachment 13187
Can't figure out where that's coming from. Thanks in advance.
Two thoughts, either in a language definition file or in the code that generates the information for the drop down. Do a search for Qty in your files from the admin panel. Try to identify where that is used: if there is a define statement with a word in all caps, search on the all caps word, otherwise open the code that uses the phrase specifically and should be able to follow where the html code gets put around the word if it not right where you found the phrase.
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
I've searched the entire Zen Cart installation and I can't find anything that looks like it could be generating the <b>Qty</b> code. It is very strange. Was hoping that someone who has used the Stock by Attributes module might have had (and fixed) the same problem. The funny thing about it is that if I choose the Radio button or Checkbox option for the size attribute then it shows Qty just fine.
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
Quote:
Originally Posted by
palafirst
I've searched the entire Zen Cart installation and I can't find anything that looks like it could be generating the <b>Qty</b> code. It is very strange. Was hoping that someone who has used the Stock by Attributes module might have had (and fixed) the same problem. The funny thing about it is that if I choose the Radio button or Checkbox option for the size attribute then it shows Qty just fine.
Well there is a difference in generation of the content, a drop down doesn't really support html, while something like a radio button and a checkbox places the text in the processing area. So you mean to say that when you went to the admin panel, tools, developer's tool kit, then in the bottom left box typed in the three letters qty, then in the next box to the right selected admin/catalog, and starting with .php tried each file type and nothing came up? Or did you search with the anchors as part of the search?
I recall having some difficulty with content of drop downs when I installed SBA, but my problem is that it was one of my first plug-ins installed and as such, I didn't totally know what I was doing, but glad that I got it working to it's limited ability and presenting the way I wanted it to.
Be sure in the word search not to force it to be case sensitive.
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
Quote:
Originally Posted by
mc12345678
Well there is a difference in generation of the content, a drop down doesn't really support html, while something like a radio button and a checkbox places the text in the processing area. So you mean to say that when you went to the admin panel, tools, developer's tool kit, then in the bottom left box typed in the three letters qty, then in the next box to the right selected admin/catalog, and starting with .php tried each file type and nothing came up? Or did you search with the anchors as part of the search?
I recall having some difficulty with content of drop downs when I installed SBA, but my problem is that it was one of my first plug-ins installed and as such, I didn't totally know what I was doing, but glad that I got it working to it's limited ability and presenting the way I wanted it to.
Be sure in the word search not to force it to be case sensitive.
On the other hand, it may be a field that has been populated in the database. Perhapps if you can search for other information in the vicinity of the Qty statement (or someone else remembers where this part is documented) then can narrow down what database entry contains that statement or could do a search from your mySQLadmin foor the qty entry. My previous response was provided to ensure clarity and accuracy of our discussion. This is something in addition to that if I happened to be repeating what you did or if I was wrong.
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
Just in case someone else comes across this problem I'm pasting the helpful private message I received from "potteryhouse."
Hi,
The forum you posted to is for a different branch of this mod, but if you are using the one I updated (1.5.1.2) than the file located at:
includes\languages\english\extra_definitions\products_with_attributes.php
is where the issue resides, simply update the file with a text editor and remove the <b> </b> found around the text.
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
Quote:
Originally Posted by
palafirst
Just in case someone else comes across this problem I'm pasting the helpful private message I received from "potteryhouse."
Hi,
The forum you posted to is for a different branch of this mod, but if you are using the one I updated (1.5.1.2) than the file located at:
includes\languages\english\extra_definitions\products_with_attributes.php
is where the issue resides, simply update the file with a text editor and remove the <b> </b> found around the text.
This file should have been identified by the search performed from ZC Admin Panel->Tools->Developers Tool Kit then entering in the Look-up in all Files Key or Name field the word qty, selecting in the All Files in Look-ups field At a minimum All Files-Catalog although All Files - Catalog/Admin would also find it, in this case selecting File Type as .php and leaving the Case Sensitive checkbox unselected then selecting the Search button to the right of that row.
As a side note, looking at the other defines applicable to the plugin described (not the one associated with this thread), there are other attributes that have < B > applied and may result in similar issues depending on how/where that plugin presents the information.
Re: Stock by Attributes 5.0 Beta (for v1.5.0)
Hello all,
I'm looking for the best possible version of stock by attributes with dynamic dropdowns-- it seems like the version in this thread might be the best option.
I've combed through the posts in this thread but can't seem to find a working link to download the mod. http://www.robophung.net/zencart/cre...art_V1.5.0.zip
The one listed above returns a not found page.
Anybody have a working link?
Thanks zencart community for all the work!