Page 300 of 300 FirstFirst ... 200250290298299300
Results 2,991 to 2,996 of 2996
  1. #2991
    Join Date
    Nov 2011
    Posts
    17
    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
    Thought I would throw that out there in case anyone had interest, was curious etc. Welcome further input now that all of the built in attribute types are supported at least for a basic set of options. Working on version identification as well...

    Software is currently available from github at https://github.com/mc12345678/Stock_...butes_Combined or as a zip file by this link: https://github.com/mc12345678/Stock_...ive/master.zip
    Thanks for working on this. I have been trying but to no avail yet on my own!

    For the files you have here in the Combined - if I am running 1.5.5, do I just use the files in the 1_5_5 folder, or also the ones in the top level folders of admin and includes? Clearly there are overwrites if I use both. Do I just dump the files from 1.5.5 in the top folders for the full combined files?

    Thanks,
    Chris

  2. #2992
    Join Date
    Jul 2012
    Posts
    12,837
    Plugin Contributions
    16

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

    Quote Originally Posted by gohealth View Post
    Thanks for working on this. I have been trying but to no avail yet on my own!

    For the files you have here in the Combined - if I am running 1.5.5, do I just use the files in the 1_5_5 folder, or also the ones in the top level folders of admin and includes? Clearly there are overwrites if I use both. Do I just dump the files from 1.5.5 in the top folders for the full combined files?

    Thanks,
    Chris
    Being open source software, the possibilities are endless of what changes have been made to what files for what reasons. For a store that is "fresh" out-of-the-box, generally the files can be transferred to overwrite existing files if they exist, but, where the same file exists on the server as in the plugin, it is advised that the files either be compared to the current file or to a vanilla version of the original file. In either case, the goal is to identify what was modified to provide the associated functionality. Where changes have been made to the original file, I have tried to provide a comment in the file, though I expect I have missed one or more here and there.

    So, regarding the files needed for operation, the files in the base includes and admin folders are common to all currently posted and supported versions. There are a few template override files in the includes folder. Then, there are the files that are specific to the associated version(s). For 1.5.3 and 1.5.4, the differences were so small that it didn't seem worth trying to maintain two different folders.

    The core functionality is provided in those first two folders, after that, well, some might call some of the version specific files bells and whistles. :) the core files should be loaded first and even ideally the install executed. Operation should remain supported (though at reduced effect) until the version files are incorporated.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  3. #2993
    Join Date
    Jan 2014
    Posts
    106
    Plugin Contributions
    0

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

    I was told this would do what I need. I have a vinyl decal business. Say I have 50 colors. 100 products. I have the colors and type of vinyl all setup in attributes. this all works great. What I'm looking for is if I sale out of two colors, I want to be able to mark that color out of stock across the board and not have to update each product.

  4. #2994
    Join Date
    Jul 2012
    Posts
    12,837
    Plugin Contributions
    16

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

    Quote Originally Posted by cubmanky View Post
    I was told this would do what I need. I have a vinyl decal business. Say I have 50 colors. 100 products. I have the colors and type of vinyl all setup in attributes. this all works great. What I'm looking for is if I sale out of two colors, I want to be able to mark that color out of stock across the board and not have to update each product.
    There's a couple of ways to get the final result (the two colors not being available), but the admin control at this time does not have necessarily a "click this" to disable the option value across all product. (If you can imagine the multiple different ways attributes can be applied, you may understand why this specific case has not yet been incorporated.)

    At any rate, the first question to this is are the 100 product truly individual product in the store? If so, do they have only the color attribute or some additional attribute? Then once a color is not available, do you want the option to still show in the list (out-of-stock or similar) or do you not want it to appear at all? Is stock actually maintained in Zen Cart for these color/product combinations or is it more of a go/no go?

    Answers to those will help me identify one or more ways that the action can be accomplished now and perhaps something developed for future use.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  5. #2995
    Join Date
    Jan 2014
    Posts
    106
    Plugin Contributions
    0

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

    are the 100 product truly individual product in the store?
    yes each item is a new product

    If so, do they have only the color attribute or some additional attribute?
    Color only.

    Then once a color is not available, do you want the option to still show in the list (out-of-stock or similar) or do you not want it to appear at all?
    I like the out of stock option, but open to it now showing also.

    Is stock actually maintained in Zen Cart for these color/product combinations or is it more of a go/no go?
    I would say more of a go no go. Where I can go in and mark a color out of stock.

  6. #2996
    Join Date
    Jul 2012
    Posts
    12,837
    Plugin Contributions
    16

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

    Quote Originally Posted by cubmanky View Post
    are the 100 product truly individual product in the store?
    yes each item is a new product

    If so, do they have only the color attribute or some additional attribute?
    Color only.

    Then once a color is not available, do you want the option to still show in the list (out-of-stock or similar) or do you not want it to appear at all?
    I like the out of stock option, but open to it now showing also.

    Is stock actually maintained in Zen Cart for these color/product combinations or is it more of a go/no go?
    I would say more of a go no go. Where I can go in and mark a color out of stock.
    Ok. So. First overall issue I see for this method of implementation as it relates to the current options made available is initially populating all of the product with the associated color attribute "quickly". Now, I haven't gone through the export/import feature that potteryhouse had incorporated in a while, but it seemed to be written with single attribute (color) type functionality and likely could help with that aspect.

    So, how to address the rest. Once the color is associated with the product and a quantity of at least 1 is applied (assuming that the stock configuration settings are such not to decrease the quantity), then if want to show the out-of-stock option, a sql query would need to be written to set all of the item's attribute to a quantity of 0. If wanted to just not display the color option, then could use the catalog->iption Values manager to delete the color option from all product (problem there is that when it came back in stock it would also need to be added back to all product which can be done in much the same way but then also have to add back to the attribute tracking section).

    Now if the product had not yet been generated, there is the ability to copy attributes from an existing product to the new product including those tracked by SBA.

    If the sql route were used, a similar sql statement would be used to change the stock quantity to 1 (or whatever number) when the product came back in stock.

    It can also be set to not show the out-of-stock attributes.

    Now, I did just think/remember something. Not that long ago, I added a feature that would allow designating that an attribute was not tracked by stock (meaning can get indefinitely until it was turned off), which is a lot like you are seeking. Currently it is controlled only by sql statements, but it supports the ability of saying that an option value is in stock for all product (or all product that have a given option name (color)). The display and management of that feature hasn't been developed yet because the full possibilities haven't quite yet been realized. Didn't want to create something that was going to be difficult to expand upon and would prefer the interface to be understandable.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

 

 

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