Page 35 of 113 FirstFirst ... 2533343536374585 ... LastLast
Results 341 to 350 of 1125
  1. #341
    Join Date
    Oct 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    I have read through everything I could find on negative stock problems in the forum, but I am still having trouble.

    I am using Stock By Attributes 4.6 on ZenCart 1.3.7.1

    I have config>stock>allow checkout set to false, and I set each stock quantity through catalog>products with attributes.

    For example, I will have a T-shirt with the following attributes & stock:

    T-Shirt Design #1
    Small - 5
    Medium - 2
    Large - 1
    X-Large - 8

    Someone will be able to checkout with 2 Large t-shirts in their cart and stock goes to -1.
    I don't know why this is happening. When I go to test it (on the same product that was just checked out) I am unable to checkout myself. So, it seems very inconsistent.

    I have even had times when a certain size was set to zero (0), and they could still check out!

    Any clue to why this might be happening? Possibly I have something configured incorrectly.

    Any help is appreciated as this is driving me (and my customers) crazy.

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

    Default Re: Stocks by attributes

    @atomage

    Look at this post first. If that's not the answer, see if this one might be.
    Kuroi Web Design and Development | Twitter

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

  3. #343
    Join Date
    Oct 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by kuroi View Post
    @atomage

    Look at this post first. If that's not the answer, see if this one might be.

    Thank you for the quick reply. I think my situation might be the latter link you posted. I am going to comb through my files and make sure.

  4. #344
    Join Date
    Oct 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    I just went through my entire site and I don't have any duplicate copies of any files. So, I guess that is not causing the problem. I also have line 8 on orders.php showing up fine. Any other ideas?

  5. #345
    Join Date
    Oct 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Sorry for all the posts... I thought I would re-install the the stock by attributes mod again just to see if that would clear things up, but when I tried to install the stock_attribute.sql it gave me this error:

    --
    1062 Duplicate entry 'STOCK_SHOW_LOW_IN_CART' for key 2
    in:
    [INSERT INTO zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show available stock level in cart when less than order', 'STOCK_SHOW_LOW_IN_CART', 'false', 'When customer places more items in cart than are available, show the available amount on the shopping cart page:', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," );]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    --

    Would this have anything to do with my problem? I'm not sure why this is coming up.

  6. #346
    Join Date
    May 2006
    Location
    Scotland
    Posts
    198
    Plugin Contributions
    0

    help question Re: Stocks by attributes

    I just tried to setup this module on my store and came across a couple of problems:
    1. I was able to order items even though there were not enough in stock. On clicking 'checkout' there was no message to say that the item was out of stock but I was not able to proceed beyond checkout.
    2. On trying to order any item in my store I was faced with the following error message:-

    Fatal error: Cannot redeclare class order in /home/961/keela07/www.keela.co.uk/public_html/includes/classes/order.php on line 20

    Any idea what might have gone wrong? It all looked fine from Admin. I have now stripped the contibution files off my site and it's working fine again.
    PS. I had Configure > Stock set to the correct settings

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

    Default Re: Stocks by attributes

    Quote Originally Posted by atomage View Post
    Sorry for all the posts... I thought I would re-install the the stock by attributes mod again just to see if that would clear things up, but when I tried to install the stock_attribute.sql it gave me this error:

    --
    1062 Duplicate entry 'STOCK_SHOW_LOW_IN_CART' for key 2
    in:
    [INSERT INTO zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show available stock level in cart when less than order', 'STOCK_SHOW_LOW_IN_CART', 'false', 'When customer places more items in cart than are available, show the available amount on the shopping cart page:', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," );]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    --

    Would this have anything to do with my problem? I'm not sure why this is coming up.
    This just means that you didn't clean out the configuration settings from the first install before you tried to re-install. It's not a problem. You can just ignore it as it confirms that they're already there.
    Kuroi Web Design and Development | Twitter

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

  8. #348
    Join Date
    Oct 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Okay, so if that is fine that means my problem is still something else then. any other ideas?

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

    Default Re: Stocks by attributes

    Quote Originally Posted by high2K View Post
    I just tried to setup this module on my store and came across a couple of problems:
    1. I was able to order items even though there were not enough in stock. On clicking 'checkout' there was no message to say that the item was out of stock but I was not able to proceed beyond checkout.
    2. On trying to order any item in my store I was faced with the following error message:-

    Fatal error: Cannot redeclare class order in /home/961/keela07/www.keela.co.uk/public_html/includes/classes/order.php on line 20

    Any idea what might have gone wrong? It all looked fine from Admin. I have now stripped the contibution files off my site and it's working fine again.
    PS. I had Configure > Stock set to the correct settings
    The most common cause of this problem is leaving a backup files littered across the site resulting in the wrong getting executed in some places, and errors about trying to do the same thing twice where that's not allowed.
    Kuroi Web Design and Development | Twitter

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

  10. #350
    Join Date
    Apr 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    I am attempting to add the quantity of each attribute next to the product. I am using the following thread for instructons: http://www.zen-cart.com/forum/showth...=25987&page=28 (It's post number #272.) I'm updating the attributes.php file, and it all displays properly; however, the attribute information is not carried over to the shopping cart. Once I add an item to the shopping cart, it displays 1 shirt, but it doesn't indicate the size. Therefore, the order doesn't indicate the attribute either. When I undo the changes I made to the attributes.php page, the attributes are carried over to the shopping cart, but the quantity is not displayed on the product page. Any ideas what I need to check? I feel like I've gone over the instructions countless times, but I'm just not seeing what needs to be changed. ANY suggestions would be so very appreciated.

 

 
Page 35 of 113 FirstFirst ... 2533343536374585 ... 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

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