Page 20 of 28 FirstFirst ... 101819202122 ... LastLast
Results 191 to 200 of 273
  1. #191
    Join Date
    Feb 2006
    Posts
    85
    Plugin Contributions
    0

    Default

    thank you jettrue!!! I will definitely send you chocolates if youd like Im glad someone got it working, I was leaving out the single quotes I think and therefore getting a blank page. sigh.

  2. #192
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default

    Do you guys only have single-attribute products? Or am I missing something? As far as I can tell, the greyson, et al. mod for showing stock levels (culminating finally in the drop down fix by jettrue) will not work with multiple attributes and, I think, would in fact break your code if you did have multiple attributes.

    Eg in case i'm not clear:

    Red T-shirts: 5 units (ok)
    Large T-shirts: 5 units (ok)

    But...

    Large, Red t-shirts: ???? (not ok)

    - Steven

  3. #193
    Join Date
    Feb 2006
    Posts
    85
    Plugin Contributions
    0

    Default

    I only have single attributes (colors) for my products

  4. #194
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default

    Originally posted by s_mack@Feb 27 2006, 01:37 PM
    Do you guys only have single-attribute products? Or am I missing something? As far as I can tell, the greyson, et al. mod for showing stock levels (culminating finally in the drop down fix by jettrue) will not work with multiple attributes and, I think, would in fact break your code if you did have multiple attributes.

    Eg in case i'm not clear:

    Red T-shirts: 5 units (ok)
    Large T-shirts: 5 units (ok)

    But...

    Large, Red t-shirts: ???? (not ok)

    - Steven
    Correct, it only works with one attribute option, I just tested it.

    I'd love to use your new way of handling it, as long as it'll work on all of the newer browsers. It seems to work fine on Safari and Firefox over here. I tested it with Javascript off, and as long as it's still allowing them to add to cart (and if there's not enough instock they get the message in the cart), works for me!

    However, even with it limited to 1 attribute is a great improvement over the default zen cart behavior... and I love having the availability listed in the drop down. :-)

  5. #195
    Join Date
    Oct 2005
    Location
    Netherlands
    Posts
    620
    Plugin Contributions
    0

  6. #196
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default

    Originally posted by s_mack@Feb 27 2006, 06:35 PM
    the beauty of this contrib vs. the other one that's out there because it DOES work with multiple attributes... that modification, unfortunately, does not.

    .......
    see it in action here. I'm constantly working on it so ignore the layout and crap - just see how it shows you the number of that combination in stock and changes the (meaningless) graphic above it.
    ? he seems to have it working for 2 different types of attributes

  7. #197
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default

    Yes voltage... my way of doing it will work with unlimited attributes (well... i suppose there's a conceptual limit somewhere) using JavaScript.. completely different method than Grayson's way so they can't be used together.

    As I have it now, it is NOT documented, ONLY working for drop downs (cause that's all I use) and probably isn't coded correctly for everyone's use (I probably got lazy and hardcoded table references and if you use table prefixes then the code will break).

    So if you guys like my implementation and want to use it, I can clean it up and try to make a sensible release out of it but it will take a bit. If you are happy with the single-attribute method, then stick with Grayson's because it is FAR less complicated and doesn't rely on JavaScript support.

    As jettrue pointed out... if a browser doesn't have JavaScript it simply won't show you the stock levels or show/change the stock status image. Whether or not it allows you to add it to your cart and/or show you out of stock once in your cart depends on your zen cart config settings.

    Worst case scenario: Your cart is set to NOT allow out of stock items be added to the cart AND your visitor doesn&#39;t have JavaScript (<1% of browsers) then the page will just reload when they hit "add to cart" with no errors, warnings, explanation, or anything else. That&#39;s a flaw with ZC really, not my mod.

    - Steven

  8. #198
    Join Date
    Jun 2005
    Posts
    22
    Plugin Contributions
    0

    Default

    Steven

    First of all many props to those who hvve worked so hard on this contrib. ::tup I am going to start working with it tonight.

    I&#39;d actually like to get that contrib if you don&#39;t mind.
    Great looking site by the way.

    Thanks
    I came here to learn. I left here wiser.

  9. #199
    Join Date
    Jun 2005
    Posts
    22
    Plugin Contributions
    0

    Default

    Great contrib. Got it working on the first try
    That&#39;s a first for this newbie.

    Question: Is it possible to use this so that even if you have mroe than one attrib for a product yuou can select which attribs to include in the stock level?

    ie I wouldlike to be able to select one attrib out of four that I have to track the stock level. I have attribs that don&#39;t necessarily belong to the item but are general to all products.

    Our customers can choose to have an item gift wrapped or gift boxed at an additional cost, choose a bow color and insert a free gift message These are available to all products, sizes etc.

    The problem I am having is that when I try and create a stock quantity for a size let&#39;s say it takes into account the gift box attrib as well as the bow color, gift message...you get the picture.

    Does anyone know of a way to maybe create an on/off switch for each of the attribs so you can include or exclude it? I can give it a try (although php is new to me ) if someone can point me in the right direction.
    I came here to learn. I left here wiser.

  10. #200
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default

    That&#39;s a good point seizer... I hadn&#39;t thought of that, but I can see how a lot of carts might work like that... have attributes that really don&#39;t affect stock at all.

    I don&#39;t think it would be too terribly difficult. I&#39;d add a column to the products_attributes table (eg. products_attributes_checkstock) and make it binary, then edit the PWAS (this) mod with a simple if (products_attributes_checkstock == true) condition. I think that would work.

    - Steven

 

 
Page 20 of 28 FirstFirst ... 101819202122 ... LastLast

Similar Threads

  1. v151 Stock by Attributes - managing generic stock used to sell different products
    By n_t_r in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 Feb 2013, 11:30 PM
  2. Different payment methods for different product attributes
    By Krosmanitz in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Mar 2008, 09:01 PM
  3. Add Stock-By-Attributes without losing old information?
    By erikb in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Mar 2007, 05:26 AM

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