Results 1 to 10 of 1125

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    i seem to be having 3 issues and im not to sure where to start

    1.people can select a product without selecting any attributes?
    2.if a product/attribute is out of stock it states it at the top of the shopping cart but doesn't indicate which product is actually out of stock. which leaves customers guessing to what could be out of stock
    3. and last is there are way i can show the stock for each product instead of just the total stock in the product info page
    www.gorillagear.ca = zencart v1.3.9h with 40+ mods

  2. #2
    Join Date
    Jun 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by MB1 View Post
    i seem to be having 3 issues and im not to sure where to start

    1.people can select a product without selecting any attributes?
    2.if a product/attribute is out of stock it states it at the top of the shopping cart but doesn't indicate which product is actually out of stock. which leaves customers guessing to what could be out of stock
    3. and last is there are way i can show the stock for each product instead of just the total stock in the product info page
    I've also just installed SBA 1.4.10 onto an upgrade install of ZC 1.3.9d (from 1.3.8) and I'm also having the same problems. At the moment it renders SBA completely useless.

    Aside from SBA 1.4.10, I only have the SecureTrading payment module and Ceon SEF URI Mapping module installed.


    I can add stock and add/edit stock levels for attributes of products (in this case, t-shirts) - but even if I set a stock level to 0 for a size then attempt to deliberately purchase a t-shirt in an out of stock size, the 0 stock is NOT reflected in the shopping cart. I can even go through payment and pay for the item.

    I'm not sure what's wrong but I don't believe I've made a mistake during installation - I followed the installation instructions exactly (and very carefully).

    I'm stumped with this problem, I wonder if anybody else understand what the root cause of the problem is - it appears that a validation step is not being performed when the person adds stock to their cart, but I'm not expert enough with ZC at the moment to be able to dive into the code and figure out what is or isn't happening.
    ...

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

    Default Re: Stocks by attributes

    Responses in red..
    Quote Originally Posted by MB1 View Post
    i seem to be having 3 issues and im not to sure where to start

    1.people can select a product without selecting any attributes?
    This is not an SBA "issue" rather it's a Zen Cart attribute setup that makes this possible. This FAQ article might help:
    https://www.zen-cart.com/tutorials/i...hp?article=190

    Do a forum search for required attributes. There are a few good threads that you might find useful.



    2.if a product/attribute is out of stock it states it at the top of the shopping cart but doesn't indicate which product is actually out of stock. which leaves customers guessing to what could be out of stock
    When out of stock products are added to the cart, the cart looks like this:


    Note that you can clearly see which items are the ones out of stock

    3. and last is there are way i can show the stock for each product instead of just the total stock in the product info page
    Currently SBA does not provide this level of functionality
    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.

  4. #4
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    this is kinda weird as for my first issue in the attributes drop down it states select size, but you can just byepass this and just click the add to cart button. which will add the product without attributes to the cart.

    then in the shopping cart it will state that something is out of stock at the top but in the product list in the cart i have nothing indicating which product is out of stock.
    www.gorillagear.ca = zencart v1.3.9h with 40+ mods

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

    Default Re: Stocks by attributes

    Quote Originally Posted by MB1 View Post
    this is kinda weird as for my first issue in the attributes drop down it states select size, but you can just byepass this and just click the add to cart button. which will add the product without attributes to the cart.
    This is not an SBA "issue" rather it's a Zen Cart attribute setup that makes this possible (required attributes). This FAQ article might help:
    https://www.zen-cart.com/tutorials/i...hp?article=190

    Do a forum search for required attributes. There are a few good threads that you might find useful.



    Quote Originally Posted by MB1 View Post
    then in the shopping cart it will state that something is out of stock at the top but in the product list in the cart i have nothing indicating which product is out of stock.
    When out of stock products are added to the cart, the cart looks like this:


    Note that you can clearly see which items are the ones out of stock
    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.

  6. #6
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by DivaVocals View Post
    This is not an SBA "issue" rather it's a Zen Cart attribute setup that makes this possible (required attributes). This FAQ article might help:
    https://www.zen-cart.com/tutorials/i...hp?article=190

    Do a forum search for required attributes. There are a few good threads that you might find useful.

    yeah i read that article can't make heads or tails of it now i'll do a search for required attributes and see what i can find thank you
    www.gorillagear.ca = zencart v1.3.9h with 40+ mods

  7. #7
    Join Date
    Jul 2004
    Location
    UK
    Posts
    182
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    @creinold Just found a minor text display glitch. One of my products does not have an image. When displaying the product list the image field displayed TEXT_IMAGE_NONEXISTENT instead of an image.
    A search using the developers tool kit shows this term appearing in multiple define files.
    I figured this means with no common use defined I had to add it specifically to SBA (?)
    It worked :)

    In file:

    admin/includes/languages/english/extra_definitions/products_with_attributes.php

    add
    Code:
    define('TEXT_IMAGE_NONEXISTENT', 'No Image Exists');
    before php close tag.

    Also for consideration for improvement in the how to file:
    In the installation section it should read
    'There are five core Zen Cart files modified'
    because
    •admin/includes/stylesheet.css is no longer affected.

    hth

    Kevin

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

    Default Re: Stocks by attributes

    Quote Originally Posted by profitshock View Post
    @creinold Just found a minor text display glitch. One of my products does not have an image. When displaying the product list the image field displayed TEXT_IMAGE_NONEXISTENT instead of an image.
    A search using the developers tool kit shows this term appearing in multiple define files.
    I figured this means with no common use defined I had to add it specifically to SBA (?)
    It worked :)

    In file:

    admin/includes/languages/english/extra_definitions/products_with_attributes.php

    add
    Code:
    define('TEXT_IMAGE_NONEXISTENT', 'No Image Exists');
    before php close tag.

    Also for consideration for improvement in the how to file:
    In the installation section it should read
    'There are five core Zen Cart files modified'
    because
    •admin/includes/stylesheet.css is no longer affected.

    hth

    Kevin
    Thanks for the update Kevin, will add that to the next update I am working on.
    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

  9. #9
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    god i love beyond compare i just took a peek at the code in creinoid's updated files and my files and i was missing the attributes code on the \includes\modules\pages\shopping_cart\header_php.php

    $flagStockCheck = zen_check_stock($products[$i]['id'], $products[$i]['quantity'],$attributes);
    www.gorillagear.ca = zencart v1.3.9h with 40+ mods

 

 

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