Page 1 of 2 12 LastLast
Results 1 to 10 of 1125

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stocks by attributes

    Quote Originally Posted by double e View Post
    I am setting up my website, www.doubleEgifts.com, and I installed the stock by attributes v4.5 but it is not working properly. I have the newest version of Zen cart and I am very new to the whole .php thing and website design. I used this for most of the leather things I have listed with attributes but when I enter a quantity and hit submit button it puts attribute stock line in twice, so I have to delete one of the entries. I don't know what the problem is but I do know it takes long enough to enter amounts for all the attributes and variations now, without deleting an entry everytime also.
    I can only assume that this would be very complicated to write but is it possible for this to work by having the attributes listed with a quantity boxes after each attribute on the submit page so you could enter all of the stock levels for each attribute and submit them all at once instead of navigating back and forth for each attribute? Just wondering if this is feasable or not.
    I would appreciate any help and thanks in advance.
    Keith
    I think you have two questions here:
    1. why does my stock get entered twice, and how do I stop it?
    2. is there a way of entering stock for multiple attribute combinations at the same time?

    The double entry behaviour is not correct and indeed I've not heard of this before, so I don't have a quick answer. Can you post some more about it? Does it happen with every attribute combination for every product with attributes or just some of them? Can you provide an example? Where do you see the double entry? Do you see the double entry if you look directly in the database e.g. by using phpMyAdmin?

    The answer to the second question is no. The mod is designed to cope with a wide range of scenarios, so although it would be easy for somebody to create a variant that allowed multiple entry for products with just one attribute, and not to difficult for products with two, a product that had say five attributes would require a 5-dimensional table which would be extremely hard to render on a 2-dimensional screen. Maybe we'll see more creative input methods emerging when this functionality is taken into Zen Cart's code code in release 1.4.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  2. #2
    double e Guest

    Default Re: Stocks by attributes

    Quote Originally Posted by kuroi View Post
    I think you have two questions here:
    1. why does my stock get entered twice, and how do I stop it?
    2. is there a way of entering stock for multiple attribute combinations at the same time?

    The double entry behaviour is not correct and indeed I've not heard of this before, so I don't have a quick answer. Can you post some more about it? Does it happen with every attribute combination for every product with attributes or just some of them? Can you provide an example? Where do you see the double entry? Do you see the double entry if you look directly in the database e.g. by using phpMyAdmin?

    The answer to the second question is no. The mod is designed to cope with a wide range of scenarios, so although it would be easy for somebody to create a variant that allowed multiple entry for products with just one attribute, and not to difficult for products with two, a product that had say five attributes would require a 5-dimensional table which would be extremely hard to render on a 2-dimensional screen. Maybe we'll see more creative input methods emerging when this functionality is taken into Zen Cart's code code in release 1.4.

    It happens when I go to the admin on zencart catalog>products with attributes stock, then I choose add quantity for product variant. When I choose a size and enter the stock quantity then hit submit it enters the variant twice on the page with all of the product on so I have to delete one of them. The entries both show up on the phpmyadmin also.

    I use zencart 1.3.7 and patches with the comstock template, could something be getting read twice from template_default and the comstock folder? Just a thought, like I said this is all new for me so I am doing a lot of stumbling around. I could send you a copy of the affected php files if this would help, just let me know.

    I found the answer to my second question after hours of reading posts in this string last night.

  3. #3
    double e Guest

    Default Re: Stocks by attributes

    I noticed something weird tonight, I usually use Firefox but I was using IE tonight and I went and tried to list stock by attributes with it and it worked fine but when I tried using Firefox again it double listed each entry I surely don't know what would cause this but I guess if I use IE there is no problems although I prefer firefox.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stocks by attributes

    This is interesting, but also a little confusing.

    To clarify when you go into the products with attributes entry form you see one set of attributes, but when you submit values it creates two database entries which are then displayed (presumably in the overall listing).

    Now you are adding that Internet Explorer (you don't say which version) only displays one of those two entries for the same variant.

    Clearly this is not normal behaviour for the mod or many other people would have been concerned about it, and I can't reproduce it in my test environments. My recommended lines of investigation would be 1) to check that none of your files have been corrupted by downloading the ones on your server and comparing them to a fresh download of the mod and 2) to ensure that there is not a problem with how your attributes have been set up.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    double e Guest

    Default Re: Stocks by attributes

    You are correct it will display two database entries which show up in the phpmyadmin but they do not show in the attributes on the public listing page when you try to purchase the item.

    When I use IE 7 everything works fine, I will do a comparison of the files downloaded for the addon with the original ones and see if I can come up with any differences. I did use winmerge the first time because I have image handler 2 but like I said I am new to all of this so maybe I did something wrong.
    Thanks for your response!

  6. #6
    double e Guest

    Default Re: Stocks by attributes

    I compared all of the files with a fresh download of the Stock by attributes and
    I found a few differences which fixed the problem that I was having with the "out of stock" not coming up when an item attribute is added to the cart with a 0 stock level but I still have the problem with Firefox putting double entries when adding attribute stock levels in the admin section. I don't know why this should happen.

  7. #7

    Default Re: Stocks by attributes

    I've got one product I drop ship that have 4 attributes with quite a few options on some of them - it adds up to 420 permutations. I'd do this in SQL if I have to - is there any quicker way to make all combos for a given product have a very high number in stock? I am doing most combos by hand for the rest of my inventory, as boring as that is, but, well, this one product is going to take weeks to do manually.

  8. #8
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Is there a way to put qunatity counts next to the sizes?
    Or at least a "out of stock" if it is in fact?

    Thanks

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stocks by attributes

    Quote Originally Posted by milobloom View Post
    Is there a way to put qunatity counts next to the sizes?
    Or at least a "out of stock" if it is in fact?
    This is answered in the mod's documentation over at the Wiki. Look for the FAQ section, it's question number 1. There's also further discussion of it earlier in this thread and in the official support thread for this mod.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #10
    Join Date
    Feb 2004
    Posts
    1,278
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    odd.

    It says to edit

    includes/modules/pages/product_info/main_template_vars_attributes.php

    But I do not have that file.
    Although I do have this mod working....

    Is this right???

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Stocks of certain products disappearing automatically
    By Lowwi in forum General Questions
    Replies: 4
    Last Post: 11 Aug 2015, 09:09 PM
  2. Installing Stocks by Attribute
    By dragon03kf in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 26 Oct 2008, 07:42 PM
  3. Stocks by attributes
    By hcd888 in forum General Questions
    Replies: 1
    Last Post: 12 May 2008, 08:52 AM
  4. Multiple stocks per product
    By jaycode in forum General Questions
    Replies: 4
    Last Post: 5 Aug 2007, 11:55 AM
  5. Products with attribute stocks
    By Svanis in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Jul 2006, 03:19 AM

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