Results 1 to 10 of 1125

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: Stocks by attributes

    Its probably missing an attribute query in the header.php file.

    Look for in the header.php files

    Code:
    $flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity']);
    and change to:
    Code:
    $flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity'],$attributes);
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  2. #2

    Default Re: Stocks by attributes

    Quote Originally Posted by creinold View Post
    Its probably missing an attribute query in the header.php file.

    Look for in the header.php files

    Code:
    $flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity']);
    and change to:
    Code:
    $flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity'],$attributes);

    Many thanks, that did it! By merging the SBA header and the new 1.39h header_php file and making that one line change it appears to have fixed the issue.

  3. #3
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: Stocks by attributes

    Glad to hear it works. =)
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  4. #4
    Join Date
    Nov 2005
    Posts
    157
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    after SBA installed, the original zen cart sales report can not show the actual sales...

  5. #5
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: Stocks by attributes

    Quote Originally Posted by weber View Post
    after SBA installed, the original zen cart sales report can not show the actual sales...
    I have no problems with my report. It doesn't show attribute sales, just product item sales.
    http://www.sidewalkstyles.com Comfort Footwear, Accessories and More.
    creinold SBA with Dynamic Drop Downs latest Alpha release: http://www.sidewalkstyles.com/creino...art_V1.5.0.zip

  6. #6
    Join Date
    May 2009
    Posts
    68
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    for some reason the "save" button at the top and the bottom were removed in your newest release, otherwise it is working perfectly fine.

    here is the patched version of the file "admin/includes/classes/products_with_attributes_stock.php" to mass-edit quantities:
    http://pastie.org/1277159

  7. #7
    Join Date
    Mar 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Posted in another thread, but this may be correct one...

    I'm working with Zen Cart version 1.3.8a, have the stock by attributes add-on installed for that version and have a couple of stock-related issues.

    1. I need for the stock level for a particular attribute to show in the shopping cart when a customer selects a quantity more than what's in stock. Despite having the correct configurations under Configuration > Stock, I don't get the quantity showing in the shopping cart. Rather there is this message:

    Products marked with * are out of stock or there are not enough in stock to fill your order. Please reduce the quantity of products marked with * below. Thank you.

    2. Relatedly, when a customer purchases a product with attribute, the stock for that attribute is not updated automatically. Rather the product stock itself is updated but I have to go under Catalog > Product with Attributes Stock to manually update the attribute quantity.

    How do I get the attribute quantity to show in cart when customer selects more than what's in stock? Also, how do I get attribute stock level to update automatically? I've seen both of these questions posted over and over in this forum with no clear answers. If anyone can help, it would be greatly appreciated.

    Thanks.

 

 

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