potteryhouse / stock_by_attribute_1.5.4

Stock by Attribute for Zen Cart 1.5.3
GNU General Public License v2.0
2 stars 5 forks source link

Undesired display of out-of-stock with 0 quantity and display disabled #35

Closed mc12345678 closed 9 years ago

mc12345678 commented 9 years ago

Identified in the main thread of ZC was a condition where a product had multiple attributes group as a single variant, the quantity set to 0, and the display of any out-of-stock message was turned off. This has caused various discrepant results including that one such attribute would display all of the unwanted out-of-stock notifications (javascript popup upon selection, message in the field, and the additional warning message that the selection was out-of-stock). While such a condition can be worked around, it is not the intended/desired goal and should be repaired.

Also based on the above setup, display of other aspects did not appear to operate correctly so in general the ability to sell product that is not specifically tracked by stock per se remains an issue. Though I do wonder in this condition what the benefit is of having SBA installed... Afterall, not truly tracking stock it would seem, merely have a different vehicle through which to offer product. Perhaps more to follow on the importance of this zero stock aspect other than the benefit of having a customid.

mc12345678 commented 9 years ago

Still haven't necessarily broached the subject of using a stock tracking system for an item that is intended to remain at 0 quantity (ie, never to be a positive quantity or anything that really is tracked as being in stock.) But there are a couple of reasons that there might be issues.

1) Yes there was the issue that code was missing to control the popup independent of the other options. That has been fixed and essentially results in this thread being closed. 2) Any incorrect/unbalanced/unvalidated page code can have an effect on the remaining display. Testing/questioning about html validation with Dynamic Display on and off, as well as the code being used for single/multiple attributes makes a world of difference. If the page is not validated prior to use of DD, then it is more than likely to not function with all types of display. There are limitations incorporated with each of the methods installed. Expectation of any with sba in the name is that it is being written/rewritten to address the maximum flexibility of the code and ought to be selectable for both single and multiple attributes. This way as desired, particular characteristics actually could be incorporated into a product-by-product method of display. 3) Version of the applicable DD files are not compatible with or are not the versions provided.

This item is considered closed as the software has been updated to incorporate the new JavaScript popup option of control in the Dynamic Dropdown window.