Page 100 of 360 FirstFirst ... 50909899100101102110150200 ... LastLast
Results 991 to 1,000 of 3600
  1. #991
    Join Date
    Dec 2008
    Posts
    65
    Plugin Contributions
    0

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

    Hi fellow zenners

    I have a problem on my store. I have now twice had a customer order out of stock items putting the stock level to -1

    I have the setting to not allow out of stock checkouts

    I have 1.3.9h zencart - updated from 1.3.9d and Stock by Attributes ver 1-4.12
    I should note that I was on 1.3.9d when the first one came last week. I then updated everyhing and it happened again just now.

    Something else I have noticed. If you add a product which is out of stock, the cart displays the warning it is out of stock. If you then add another in stock item it will display this as out of stock until you remove the out of stock product.

    Anyone else getting this and can anyone help me resolve this?

    Kind regards
    Natty

  2. #992
    Join Date
    Dec 2009
    Location
    Singapore
    Posts
    27
    Plugin Contributions
    0

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

    Quote Originally Posted by Scrat View Post
    mermaidlisa So you only have one 'stock_attribute' per
    product: ie


    Its not the same issue I had by the sounds of it.

    Have you 'Sync Quantities' your stocks to product !

    'stock_attrubute' is the reference of your attribute product_attributes_id in the `products_attributes` table.
    Yeah I have 1 stock_attribute per attribute. my table looks like this.

    stock_id, product_id, stock_attribute, quantity, sort
    7, 59, 8 , 0, 0
    3 , 59 , 7 , 3 , 0
    5 , 59 , 9 , 0 , 0
    6 , 59 , 10, 7 , 0
    I have synced the quantities as well. So you have more than 1 stock_attribute per attribute? What is the issue that you have?

  3. #993
    Join Date
    Dec 2010
    Location
    Jap
    Posts
    2
    Plugin Contributions
    0

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

    Hi guys,


    Firstly, I appreciated for providing such a nice MOD,

    My site v1.38a working wonderful.


    Now I found a small bug as described here


    In Shopping Cart, during shopping on zencart before loged in,

    case ok

    1. product within a stock
    2. product with out of stock

    Only No.2 shows error message as expected

    case NG-1

    1. product with out of stock
    2. product within a stock

    BOTH shows error. No.2 should not be an error.


    case NG-2

    1. product within a stock
    2. product with out of stock
    3. product within a stock

    NO.2 & NO.3 shows error. No.3 should not be an error


    case NG-3

    1. product with out of stock
    2. product within a stock
    3. product within a stock

    All product show error


    I think it is clear there is a little bug for kind of "Array" coding?

    I have no found this bug on v.1.4.11
    after upgraded v.1.4.12 It happens.


    Any idea?



    Yuki....

  4. #994
    Join Date
    Dec 2009
    Location
    Singapore
    Posts
    27
    Plugin Contributions
    0

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

    Quote Originally Posted by yuki View Post
    Hi guys,


    Firstly, I appreciated for providing such a nice MOD,

    My site v1.38a working wonderful.


    Now I found a small bug as described here


    In Shopping Cart, during shopping on zencart before loged in,

    case ok

    1. product within a stock
    2. product with out of stock

    Only No.2 shows error message as expected

    case NG-1

    1. product with out of stock
    2. product within a stock

    BOTH shows error. No.2 should not be an error.


    case NG-2

    1. product within a stock
    2. product with out of stock
    3. product within a stock

    NO.2 & NO.3 shows error. No.3 should not be an error


    case NG-3

    1. product with out of stock
    2. product within a stock
    3. product within a stock

    All product show error


    I think it is clear there is a little bug for kind of "Array" coding?

    I have no found this bug on v.1.4.11
    after upgraded v.1.4.12 It happens.


    Any idea?



    Yuki....
    yes, this is exactly what happens . please please help us fix the bug!!
    Last edited by mermaidlisa; 7 Dec 2010 at 03:37 PM.

  5. #995
    Join Date
    Dec 2010
    Location
    Jap
    Posts
    2
    Plugin Contributions
    0

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

    huhuhu,


    So you are.


    Please let me add one more little thing,

    compare to 1.4.11 Attribute control is far improved, THANKS!

    But case below,


    When products in shopping cart,

    1. Product with no Attribute or options with out of stock

    After latest MOD patched, product like above stop showing error message of out of stock.


    Could you check if that happens ???



    Yuki,

  6. #996
    Join Date
    Dec 2009
    Location
    Singapore
    Posts
    27
    Plugin Contributions
    0

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

    Quote Originally Posted by yuki View Post
    huhuhu,


    So you are.


    Please let me add one more little thing,

    compare to 1.4.11 Attribute control is far improved, THANKS!

    But case below,


    When products in shopping cart,

    1. Product with no Attribute or options with out of stock

    After latest MOD patched, product like above stop showing error message of out of stock.


    Could you check if that happens ???



    Yuki,

    YES!! Exactly! I didn't notice this until you pointed out

    And I can't proceed to the next step either. When I try to click "Continue", nothing happened

  7. #997
    Join Date
    Aug 2008
    Location
    Southern California
    Posts
    129
    Plugin Contributions
    0

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

    Zen Cart Version 1.3.8
    Stock by Attributes Version 1.4.12 (nov 13 2010)

    In short, I've installed the module, but I'm having a problem I can't figure out. Example: I have four sizes of socks through the "Add Quantity for Product Variant". I set inventory level on one size to zero, so it backorders. Fair enough. However, the other items in the shopping cart (hats, boots) also suddenly go to backorder status as well.

    Any tips would be greatly appreciated. I see this question came up once before in this thread with no answer.

    I doubt it matters for the purpose of this question, but if it does, my client doesn't really care at all about tracking real-world inventory levels. They simply want to use this mod to control items they know are out of stock so the customer is immediately informed through the checkout process. And yes, they still want the customer to be able to order the item, but just inform them that it's out of stock.

    Thanks in advance!

  8. #998
    Join Date
    Dec 2009
    Location
    Singapore
    Posts
    27
    Plugin Contributions
    0

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

    Quote Originally Posted by mermaidlisa View Post
    YES!! Exactly! I didn't notice this until you pointed out

    And I can't proceed to the next step either. When I try to click "Continue", nothing happened
    any news about the "out-of-stock" bug yet? please please help us

  9. #999
    Join Date
    Apr 2008
    Location
    Lancaster, CA
    Posts
    42
    Plugin Contributions
    0

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

    Quote Originally Posted by yuki View Post
    Hi guys,


    Firstly, I appreciated for providing such a nice MOD,

    My site v1.38a working wonderful.


    Now I found a small bug as described here


    In Shopping Cart, during shopping on zencart before loged in,

    case ok

    1. product within a stock
    2. product with out of stock

    Only No.2 shows error message as expected

    case NG-1

    1. product with out of stock
    2. product within a stock

    BOTH shows error. No.2 should not be an error.


    case NG-2

    1. product within a stock
    2. product with out of stock
    3. product within a stock

    NO.2 & NO.3 shows error. No.3 should not be an error


    case NG-3

    1. product with out of stock
    2. product within a stock
    3. product within a stock

    All product show error


    I think it is clear there is a little bug for kind of "Array" coding?

    I have no found this bug on v.1.4.11
    after upgraded v.1.4.12 It happens.


    Any idea?



    Yuki....
    A client of mine noticed this bug, and I was tasked to fix it.

    You only need to add two lines of code to one of the files included in the addon package.

    1. Open up /includes/modules/pages/shopping_cart/header_php.php
    2. Around line #137, you should see this line:
      1. if (zen_not_null($stock_check))
    3. Add this line right before the line you found in step #2
      1. $flagStockCheck = NULL;
    4. Around line #172, you should see this line:
      1. $productArray[$i] = array(...
    5. Add an array element and value like this:
      1. 'stockAvailable'=>$stockAvailable,


    That should fix the issue with products below out of stock items showing up as out of stock when they aren't. It should also make the available stock quantities show up like they are supposed to.

    I hope this helped you out. :)

  10. #1000
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

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

    Can you clarify what it is you are suggesting to add/do in the steps I highlighted below.. are we adding the code in step 5 above, below, or as a replacement to the code in step 4??

    Quote Originally Posted by abran1984 View Post
    A client of mine noticed this bug, and I was tasked to fix it.

    You only need to add two lines of code to one of the files included in the addon package.

    1. Open up /includes/modules/pages/shopping_cart/header_php.php
    2. Around line #137, you should see this line:
      1. if (zen_not_null($stock_check))

    3. Add this line right before the line you found in step #2
      1. $flagStockCheck = NULL;

    4. Around line #172, you should see this line:
      1. $productArray[$i] = array(...

    5. Add an array element and value like this:
      1. 'stockAvailable'=>$stockAvailable,



    That should fix the issue with products below out of stock items showing up as out of stock when they aren't. It should also make the available stock quantities show up like they are supposed to.

    I hope this helped you out. :)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

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