Miva Merchant Community Forums

  1. #1
    Join Date
    Sep 2010
    Posts
    129

    Default Inventory Variant Issue

    I have a product in a Miva 5.5 store that has two attributes in dropdown menus. One of the attributes (DATE) is inventory controlled. I have it set up with Inventory Variants and everything is working fine - EXCEPT that when I edit the inventory to put a quantity of 0 for one of the dates, when someone tries to order that date, nothing happens. They don't get an out of inventory message, they don't taken to their shopping cart, just nothing. If I change it to inventory of 1, everything works as expected.

    This might be simpler to see with a trip to the page:
    http://www.friendshiptours.net/mm5/m...ct_Code=GRACIE

    The date Tuesday, May 14th has an inventory of 0. If you try to put it in a cart with any quantity, then hit Add To Basket, nothing happens. The other date works fine, including over-inventory message.

    Anyone have any idea what's happening here?

  2. #2
    Join Date
    Sep 2010
    Posts
    129

    Default Re: Inventory Variant Issue

    I'm wondering if anyone has any ideas on this.

    I totally recreated the product from scratch, with 0 in inventory for the 5/14 date and 15 in inventory for the 6/13 date. If you try to order 20 for 6/13, you get the standard inventory message about there not being enough available. But if you try to order any quantity of 5/14, which has an inventory of 0, NOTHING happens when you click "Add to Basket"

    http://www.friendshiptours.net/mm5/m...t_Code=GRACIE2

    Any thoughts on this? Thanks in advance
    Last edited by shooter56; 01-17-13 at 06:08 AM.

  3. #3
    Join Date
    Mar 2006
    Posts
    11,113

    Default Re: Inventory Variant Issue

    The add to basket button is disabled.

  4. #4
    Join Date
    Sep 2010
    Posts
    129

    Default Re: Inventory Variant Issue

    Thanks Bill. Try selecting date 6/13/13. When you do that, the Add To Basket button works fine. Is there some way it could be disabled for one date and not the other, in the same attribute? I've never seen that.

    If you see something, your help is MUCH appreciated. Pulling out what little hair I have over this :)


    Quote Originally Posted by wcw View Post
    The add to basket button is disabled.

  5. #5
    Join Date
    Mar 2006
    Posts
    11,113

    Default Re: Inventory Variant Issue

    That is the way inventory variants work. If the option is not available, the button will not allow it to work. When all the options are out, the button will probably vanish.

  6. #6
    Join Date
    Sep 2010
    Posts
    129

    Default Re: Inventory Variant Issue

    Quote Originally Posted by wcw View Post
    That is the way inventory variants work. If the option is not available, the button will not allow it to work. When all the options are out, the button will probably vanish.
    Ok. I guess the issue here is that my inventory messages aren't showing on the page template, which I customized. Normally, when that out of stock attribute (date) was displayed in the dropdown, I guess I would have an out-of-inventory message showing on the page. I've looked at the standard Product Display page and it has this code:

    <div id="inventory-message">
    <mvt:if expr="l.settings:product:inv_active">
    &mvt:product:inv_long;
    </mvt:if>
    </div>

    But when I put this into my Product Layout Display tab in Advanced mode for my custom page template, it's not showing :(

    I'll keep working on it. The out-of-inventory message for the attribute would solve the problem.

  7. #7
    Join Date
    Sep 2010
    Posts
    129

    Default Re: Inventory Variant Issue

    I'm set, Bill. Thank you for taking the time to help. I just didn't have exactly the right code in the right place for the inventory message. It's displaying now. Problem solved.

    Thanks again,
    Scott

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •