Page 238 of 359 FirstFirst ... 138188228236237238239240248288338 ... LastLast
Results 2,371 to 2,380 of 3589
  1. #2371
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by michael_rebreathe View Post
    I just set Allow Checkout to False. (still using potteryhouse code) Yay! now it won't add it to the cart, but opens the shopping cart showing that the quantity added has been adjusted per current inventory (in the case of no inventory, zero were added). We were really trying to avoid any adding to the shopping cart diverting the user from continuing on the path they were already on (buying stuff!) Thankfully, adding a quantity <= stock on hand still doesn't open the shopping cart.

    I'm not trying to allow adding an out of stock item to the cart at all (SBA managed or not). This prevents even considering the option of a backorder, which is untenable with the changing availability of our products. Any product not tracked by SBA shows the "sold out" button rather than "add to cart" button, so there was no way to add an out-of-stock non-SBA item to the cart. We'd like to show that we offer a gizmo in green, even if it's out of stock. We just don't want it to be added to the cart. Preferably, with some indication of no stock when they are looking at and choosing the attributes.

    Many of our items are consumables. If we're out of a 30ml bottle, most of our customers are perfectly happy to buy a couple 10ml bottles and try for the 30ml the next time they order. We want them to know that we do offer the big bottle, but it's just out of stock right now.
    Suggest going back to the Dynamic Dropdown settings and/or stock settings for SBA.. Do product only have one option name assigned or multiple? If multiple, what are the variants?

    Are you using the option name type: SBA Select List (Dropdown) Basic for single attribute product?

    If you use dynamic dropdowns for attributes, then the question comes to do you have product that has multiple option names and how would you like to present the information?

    Give it a shot or describe the condition to try to evaluate further, but there is still something I recall about a change in ZC 1.5.4 that modified how the add-to-cart notifications were provided in such an attempt to add to cart when product is out-of-stock condition.

    The Dynamic Dropdowns features cut the customer off at the pass by not allowing adding the product to the cart but as desired above indicating the availability (future as it may be) of the product to come with an out-of-stock notification adjacent to the name. The only caveat and it is described in the last page or two is if say there are three option values for option name 1, and 2 option values for option name 2, but the company doesn't produce one of the combinations in full like only one of the option name 2 items for one of the option name 1 attributes, then the non-existent (never to be produced) combination will still be presented as out-of-stock for now... Still need to incorporate the what to do if a combination of options on screen doesn't exist in reality.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2372
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    FYI and FWIW,

    Playing around with single attribute product to see how it is working currently and what can be done. Looks like in trying to "protect" from some undesirable actions being taken, single attribute (single option name) product have been affected to not work like they used to... Working on correcting that and not losing the multiple attribute functionality that has been added...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #2373
    Join Date
    Jul 2015
    Posts
    43
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by mc12345678 View Post
    Suggest going back to the Dynamic Dropdown settings and/or stock settings for SBA.. Do product only have one option name assigned or multiple? If multiple, what are the variants?

    Are you using the option name type: SBA Select List (Dropdown) Basic for single attribute product?

    If you use dynamic dropdowns for attributes, then the question comes to do you have product that has multiple option names and how would you like to present the information?

    Give it a shot or describe the condition to try to evaluate further, but there is still something I recall about a change in ZC 1.5.4 that modified how the add-to-cart notifications were provided in such an attempt to add to cart when product is out-of-stock condition.

    The Dynamic Dropdowns features cut the customer off at the pass by not allowing adding the product to the cart but as desired above indicating the availability (future as it may be) of the product to come with an out-of-stock notification adjacent to the name. The only caveat and it is described in the last page or two is if say there are three option values for option name 1, and 2 option values for option name 2, but the company doesn't produce one of the combinations in full like only one of the option name 2 items for one of the option name 1 attributes, then the non-existent (never to be produced) combination will still be presented as out-of-stock for now... Still need to incorporate the what to do if a combination of options on screen doesn't exist in reality.
    • About 1/4 of our products have no attributes.

    • Half of what remain have a single attribute (such as color or size, with red, green, blue, yellow and white // small, medium, large, extra large)

    • The remaining have two attributes (such as color AND size)

    • For a small but notable number of products, red and green are only available in medium and large sizes.

    • We have two products with three attributes (color, size and flavor). We've divided them into chocolate xxx and vanilla xxx as two separate parent items, each with color and size as attributes. Mucking about with managing two-tier attributes is enough fun without three tiers


    We want to show all combinations of attributes (even those without stock), but prevent out-of-stock combinations to be added to the cart. About half of what is out of stock can be replenished, the other half can't (or won't). We will remove combinations that we won't replenish, but want them to display at least up to the last sale. We won't always know that we have the last three of the large green gadget until we try to order more.

    • Until we sell the last large green gadget, we want it to display and be "addable" to the cart. No brainer, not a problem

    • Once we sell the last large green gadget, we want that option to show up in the selections, but not be "addable," here being the crux of the issue because if it is a good seller, we'll try to get more. Preferably, the dropdown will show an out of stock notice when it's chosen as well as prevent adding to the cart and not take the customer off of the gadget page to tell them it wasn't added to the cart. Since a large number of our products are consumables, they'll gladly buy two of the 10ml bottles instead of one 30ml bottle. We want to make sure that the customer sees the large version is an option, just not at this moment.

    • If we try to get more large green gadgets and find out that they aren't produced anymore, we'll remove that option from SBA


    I have tried quite a few plugins related to selecting attributes over the last 6 months. I know that at least one of them used a Java array with the current inventory for each option and combination. For the dropdowns, the customer had to select the first option first (which showed current inventory for all "large" and all "small" items). The second dropdown updated with the number of "large green" and "large red" or "small green" and "small red". The Java checked the current stock from the array when the "add to cart" button was pushed and prevented the call going forward.

    It seems clear that this isn't the plugin that had that feature. Our management didn't want us to show the stock on hand, so I thought I turned that off. From your questions, it appears that I selected SBA instead of that one.

    I'm poking around the code to trace where the option lists are populated to determine if I can recreate the Java stock tracking.

  4. #2374
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by michael_rebreathe View Post
    • About 1/4 of our products have no attributes.


    • Half of what remain have a single attribute (such as color or size, with red, green, blue, yellow and white // small, medium, large, extra large)


    • The remaining have two attributes (such as color AND size)


    • For a small but notable number of products, red and green are only available in medium and large sizes.


    • We have two products with three attributes (color, size and flavor). We've divided them into chocolate xxx and vanilla xxx as two separate parent items, each with color and size as attributes. Mucking about with managing two-tier attributes is enough fun without three tiers


    We want to show all combinations of attributes (even those without stock), but prevent out-of-stock combinations to be added to the cart. About half of what is out of stock can be replenished, the other half can't (or won't). We will remove combinations that we won't replenish, but want them to display at least up to the last sale. We won't always know that we have the last three of the large green gadget until we try to order more.

    • Until we sell the last large green gadget, we want it to display and be "addable" to the cart. No brainer, not a problem


    • Once we sell the last large green gadget, we want that option to show up in the selections, but not be "addable," here being the crux of the issue because if it is a good seller, we'll try to get more. Preferably, the dropdown will show an out of stock notice when it's chosen as well as prevent adding to the cart and not take the customer off of the gadget page to tell them it wasn't added to the cart. Since a large number of our products are consumables, they'll gladly buy two of the 10ml bottles instead of one 30ml bottle. We want to make sure that the customer sees the large version is an option, just not at this moment.


    • If we try to get more large green gadgets and find out that they aren't produced anymore, we'll remove that option from SBA


    I have tried quite a few plugins related to selecting attributes over the last 6 months. I know that at least one of them used a Java array with the current inventory for each option and combination. For the dropdowns, the customer had to select the first option first (which showed current inventory for all "large" and all "small" items). The second dropdown updated with the number of "large green" and "large red" or "small green" and "small red". The Java checked the current stock from the array when the "add to cart" button was pushed and prevented the call going forward.

    It seems clear that this isn't the plugin that had that feature. Our management didn't want us to show the stock on hand, so I thought I turned that off. From your questions, it appears that I selected SBA instead of that one.

    I'm poking around the code to trace where the option lists are populated to determine if I can recreate the Java stock tracking.
    Everything described there (except showing the total quantity of sub-product combined at the top of the list) was a part of this until I recently tried to make some improvements and didn't run through the complete litany of tests that between you and badarac have put it through... I tested things, and tried not to break previous operation, but on that latter part I missed a condition of consideration and was too focused on Dynamic Dropdown operation specifically with multiple option names (2, 3, etc...)... I'm finding some minor tweaks that are needed to restore this to it's former glory... Again, living breathing code... It needs people to identify the issues... There are some that have been repeated here multiple times and many if not all are captured in the github issues area... But the items identified recently have cropped up from some "over protection" that was too stringent.

    As to the not allowing adding, if the javascript is capturing the products as out-of-stock, then it will/should also disable allowing selection of the product from the dropdown...

    Currently in some situations/conditions I am still looking to apply SBA type features to the SBA style dropdown... If you give me a few more minutes of testing I can update the github repo with improvements to restore it's operation.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #2375
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Okay, to let you move on with this in a functional state, I'm uploading the changes made thus far... There is still a minor issue in a thus far identified specific scenario with Dynamic Dropdowns when it is used for single attribute product, but the dropdown menu designed by potteryhouse/jeking is working the way it should have been including as described above to not allow selection of an out-of-attribute product but to at least show that the attribute is/might be a possibility... Should be posted momentarily to github.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #2376
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Rereading your message, it would appear that this is infact a version that performed as described... When Dynamic Dropdowns is offered to provide for multiple attributes only, the javascript options/control described is available if then in the Dynamic Dropdowns menu: Product Info Multiple Attribute Display Plugin is set to: sba_sequenced_dropdowns

    That will then provide/show Please Select First for the first attribute/option name and then Please Select Next for the subsequent attribute/option name(s).

    BTW, not entirely sure what the difficulty is with managing multi-attribute stock. Have you tried using EasyPopulate v4 to manage the stock? It has an SBA option for variants that have been defined allowing stock control of SBA variants....

    Okay, updated the https://www.github.com/mc12345678/St...butes_Combined repro with recent changes.

    Still have an issue where the "out-of-stock" message "incorrectly" appears for a single option name product that is tracked by Dynamic Dropdowns, where a notification is enabled, and I haven't chased down all the other criteria, but the way it is designed the message really shouldn't be displayed which would confuse a customer (assuming they read it), but it doesn't prevent adding the in-stock product to the cart.

    If though the person installing the software has a "better" version of the includes/classes/pad_multiple_dropdowns.php file, then it can be used in place of the one provided in this version and infact, because potteryhouse/jeking did the work they did for single attribute products I would recommend staying away from using Dynamic Dropdowns for single attribute product and only using it for multiple attribute product at least as provided with this plugin... The option is there if it "works" for you, but hasn't been fully revised/updated for use with this plugin and if not mistaken is still provided as originally developed. (Could be wrong on that one, sorry.)

    Anyways, updated with what looks like is operating the way it should have been before.. If not seeing the results, then please show the current settings (not the possibility of various settings being in potential conditions) or request the recommended settings to meet the above results...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #2377
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Fyi, tested the new/current code regarding adding a product that is out-of-stock when the product is allowed to be added while out-of-stock. Worked provided dynamic dropdowns was set to false for allowed to add product that is out-of-stock. (Making a note that if the store allows adding out-of-stock then the setting in dynamic dropdowns should be overridden automatically.) Also "helps" if the javascript popup notification for adding out-of-stock is turned off (working on providing a back-order notification so that there is an actual difference displayed for back-order versus out-of-stock product.)

    At any rate, trying to confirm that I've restored functionality to what it was and so far it looks like it is possible to work with low/out-of-stock quantities.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #2378
    Join Date
    Jul 2015
    Posts
    43
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by mc12345678 View Post
    Rereading your message, it would appear that this is infact a version that performed as described... When Dynamic Dropdowns is offered to provide for multiple attributes only, the javascript options/control described is available if then in the Dynamic Dropdowns menu: Product Info Multiple Attribute Display Plugin is set to: sba_sequenced_dropdowns

    That will then provide/show Please Select First for the first attribute/option name and then Please Select Next for the subsequent attribute/option name(s).
    I thought I was going crazy. I know I tested a number of options before choosing SBA, but was quite sure this was one of the pros of SBA. Nice to know my memory isn't as bad as I started thinking...

    BTW, not entirely sure what the difficulty is with managing multi-attribute stock. Have you tried using EasyPopulate v4 to manage the stock? It has an SBA option for variants that have been defined allowing stock control of SBA variants....
    We're not having any difficulty in managing inventory with any combination of attributes. Our only problem was adding out-of-stock to the cart, and the later discovered shove to the shopping cart once we set Allow Checkout to false. The decision to limit our products to two attributes was for non-SBA reasons, but I was happy of this decision if I was going to tackle our issues in-house.

    We (I) chose not to use EasyPopulate because managing the inventory was easy enough and seems to be glitch-free (aside from my understanding that canceled orders don't return "held" items to inventory). I don't want to pepper the site with lots of plugins, since managing updates quickly escalates to a major headache (as if a "clean" update is ever truly headache free).

    Okay, updated the https://www.github.com/mc12345678/St...butes_Combined repro with recent changes.
    Awesome! I'll try it out!

    Still have an issue where the "out-of-stock" message "incorrectly" appears for a single option name product that is tracked by Dynamic Dropdowns, where a notification is enabled, and I haven't chased down all the other criteria, but the way it is designed the message really shouldn't be displayed which would confuse a customer (assuming they read it), but it doesn't prevent adding the in-stock product to the cart.
    So are you suggesting Product Info Single Attribute Display Plugin => single_dropdown or sba_sequenced_dropdowns
    and Product Info Multiple Attribute Display Plugin => sba_sequenced_dropdowns ?

    If though the person installing the software has a "better" version of the includes/classes/pad_multiple_dropdowns.php file, then it can be used in place of the one provided in this version and infact, because potteryhouse/jeking did the work they did for single attribute products I would recommend staying away from using Dynamic Dropdowns for single attribute product and only using it for multiple attribute product at least as provided with this plugin... The option is there if it "works" for you, but hasn't been fully revised/updated for use with this plugin and if not mistaken is still provided as originally developed. (Could be wrong on that one, sorry.)

    Anyways, updated with what looks like is operating the way it should have been before.. If not seeing the results, then please show the current settings (not the possibility of various settings being in potential conditions) or request the recommended settings to meet the above results...
    I'll be trying the new update shortly. Thanks for your "ontopishness!"

  9. #2379
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by michael_rebreathe View Post
    I thought I was going crazy. I know I tested a number of options before choosing SBA, but was quite sure this was one of the pros of SBA. Nice to know my memory isn't as bad as I started thinking...



    We're not having any difficulty in managing inventory with any combination of attributes. Our only problem was adding out-of-stock to the cart, and the later discovered shove to the shopping cart once we set Allow Checkout to false. The decision to limit our products to two attributes was for non-SBA reasons, but I was happy of this decision if I was going to tackle our issues in-house.

    We (I) chose not to use EasyPopulate because managing the inventory was easy enough and seems to be glitch-free (aside from my understanding that canceled orders don't return "held" items to inventory). I don't want to pepper the site with lots of plugins, since managing updates quickly escalates to a major headache (as if a "clean" update is ever truly headache free).



    Awesome! I'll try it out!



    So are you suggesting Product Info Single Attribute Display Plugin => single_dropdown or sba_sequenced_dropdowns
    and Product Info Multiple Attribute Display Plugin => sba_sequenced_dropdowns ?



    I'll be trying the new update shortly. Thanks for your "ontopishness!"
    Well, I started this once and dunno' what happened, but lost my writeup...

    So actually was saying that if want the javascript actions using the software that is provided by this plugin, then set Dynamic dropdowns to display with multiple attributes only, then for multiple attributes in the DD menu select the option that has sba in t (default). For single attrbute product, to show the out-of-stock notification select the option name type that also has sba in it's name (would be the sixth available in a vanilla install).

    Thing is that in the last couple of hours with some more testing it looks like I still have an issue with text and upload filename boxes... I'm trying to work around it without modifying any other core code sections and also to keep things going. Issue seen at the moment is if a variant is populated with an attribute and a text field, nothing is added to the text, then when adding the product to the cart, the maximum to add is whatever is assigned in the sba table, good. But with necessary corrections made to functions_lookups, now while in the cart, the product appears to be out-of-stock because the cart functionality removed the attrbute designation for the text block because it was blank... So there's one piece not trying to modfy. Okay, so was able to do a sort of validation to make that go away, but then when adding the same product to the cart again this time with something in the text field, again the product can inaccurately be added to the cart to the maximum assigned in the sba table... No good...

    Have a couple of thoughts, but am not happy with the current condition because I thought I had resolved the text issue... It does appear that the above is like adding mixed quantities of a product with the goal to be that the total does not exceed the sba table quantity... I know that currently sba doesn't deal with mixed quantities like the zc store does, is something to consider addressing later, but need to look at how to handle this issue and how zc handles adding two product each with text boxes but one filled in the other not or filled in differently...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #2380
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Add to this, a concern I have about using session data to move around the cart is that the session data goes away when a logged in customer with items in the cart logs off (or gets logged off) and then sort of back at square one...

    Now, I could force the text field to contain a single character if it was pushed as empty, but not exactly sure that's the route I would want to go, might need to look at how it is handled later, like when brought back to the product after clicking on the item in the cart, does it contain the new single character or is it removed?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Problems with addon: Dynamic Drop Downs for Stock By Attribute
    By Dunk in forum All Other Contributions/Addons
    Replies: 56
    Last Post: 30 Apr 2014, 07:55 PM
  2. MySQL Problem with Product with Attribute Stock addon
    By rtwingfield in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Sep 2011, 03:35 PM
  3. Hide Zero Quantity Attributes with attribute-stock addon
    By leevil123 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Feb 2010, 05:06 PM
  4. Replies: 4
    Last Post: 22 Jan 2010, 10:43 PM
  5. Price Products in the grid by 'Stock by Attribute' addon?
    By Salixia in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 27 Oct 2009, 06:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR