Page 34 of 359 FirstFirst ... 2432333435364484134 ... LastLast
Results 331 to 340 of 3589
  1. #331
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by 01011010 View Post
    Aside from hiring 3,000 third-world laborers to enter all these combinations, what are my options? I don't actually need (or even want) to track stock, I simply need to keep my customers from purchasing a few unavailable combinations.
    Set the stock decrement flag in the Admin to false and then EITHER:

    Write yourself a small SQL script to insert a line into the attributes stock table with more stock than is ever likely to be required for a single order, wrap your SQL script in a PHP script that loops to create a record for every conceivable option, delete those combinations that don't actually exist OR

    Create a spreadsheet with all possible options, export it to a CSV file, use a database admin tool (e.g. phpMyAdmin) to import it to the attributes stock table.
    Kuroi Web Design and Development | Twitter

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

  2. #332
    Join Date
    Jan 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Hi.

    I am running zen cart 1.3.7, so I have installed version 4.6 of this contribution. Installation went smoothly, the admin side seems to be ok but when I make a test purchase and go to checkout, I get the following error.

    Fatal error: Cannot redeclare class order in /var/www/html/shop/includes/classes/order.php on line 1037

    Can someone please tell me what I have messed up?

    Philip

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

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by philip24 View Post
    I am running zen cart 1.3.7, so I have installed version 4.6 of this contribution. Installation went smoothly, the admin side seems to be ok but when I make a test purchase and go to checkout, I get the following error.

    Fatal error: Cannot redeclare class order in /var/www/html/shop/includes/classes/order.php on line 1037
    Are you keeping a backup files in your includes/classes folder, or elsewhere on your live site?
    Kuroi Web Design and Development | Twitter

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

  4. #334
    Join Date
    Jan 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by kuroi View Post
    Are you keeping a backup files in your includes/classes folder, or elsewhere on your live site?
    Yes, thank goodness, I have. I learnt one thing at least!!

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

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by philip24 View Post
    Yes, thank goodness, I have. I learnt one thing at least!!
    Errrr. My point is that you shouldn't. See post #324 which explains the dangers and why this could be the reason that you are having this problem.
    Kuroi Web Design and Development | Twitter

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

  6. #336
    Join Date
    Jan 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by kuroi View Post
    Errrr. My point is that you shouldn't. See post #324 which explains the dangers and why this could be the reason that you are having this problem.
    Thanks very much Kuroi - that did the trick. Another valuable lesson learnt!!!

    Philip

  7. #337
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Hi, thank you for the products with attributes stock mod:-) i was just wondering if you know where i am going wrong with something. apparently (randomly and not very often) an attribute will be set to 0 but the user can still buy it with that attribute - i have set my cart to not allow checkout on out of stock items and it works for the vast majority o the time but sometimes it doesnt.

    also when an attribute goes out of stock most of the time it shows up as ":" as opposed to the attribute name and sometimes it still has a stock level (although it doesnt show up to the user)

    just had a brand new problem - i had 1 item with an attribute stock of 1 but the user ordered it x2 and now the stock says -1..any clues?

    hope that made sense!

    thanks for any help you can give:-)
    just let me know if you need any details.

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

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by cosmicegg View Post
    (randomly and not very often) an attribute will be set to 0 but the user can still buy it with that attribute - i have set my cart to not allow checkout on out of stock items and it works for the vast majority o the time but sometimes it doesnt.

    just had a brand new problem - i had 1 item with an attribute stock of 1 but the user ordered it x2 and now the stock says -1..any clues?
    These are common issues. But in every case that I have investigated (quite a few now) it has turned out to be either an installation problem (see post #308) or a problem with keeping backup files in inappropriate places i.e. on a live site (see post #319).
    Kuroi Web Design and Development | Twitter

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

  9. #339
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Quote Originally Posted by kuroi View Post
    These are common issues. But in every case that I have investigated (quite a few now) it has turned out to be either an installation problem (see post #308) or a problem with keeping backup files in inappropriate places i.e. on a live site (see post #319).

    looks good, thank you

  10. #340
    Join Date
    Sep 2004
    Location
    Australia
    Posts
    347
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5

    Quote Originally Posted by Taipa View Post
    I get this same error too.

    Is there a working fix for Zen 1.3.8 and Stock by Attributes v4.7 to make it mark the attributes that are sold out? Or remove from the drop down on the product page or something? It's very annoying for customers to add a product to their cart, and not find out it's sold out until later when they go to check out.
    Ok, you're gonna hate me for this but ...

    I had this mod installed in my site before i redid it all and haven't bothered with it again as it gave me an error message when deleting items for which I had to hit my back button and hit delete again for it to delete.

    But I remember adding another mod which made it so that if an attribute was not in stock it wouldn't show up in the drop down menu. And if someone added more than the available stock of an attribute, on the shopping cart window it would come up in red (or whatever color you want it to be) that the amount in the cart is not available and it would actually say how many were available.

    The bad news is I don't remember what the mod was. You'll have to read through the downloads section, that's how I found it.

    Good luck.

 

 

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