Announcement

Collapse
No announcement yet.

Inventory Variants on the CTGY screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Inventory Variants on the CTGY screen

    Store has a product with Inventory Variants that they want to display on the CTGY page since it a custom product that is only available in that category. Right now it's displaying all the (color) attributes instead of just display the ones that have inventory level of more than zero (0). I suspect I may have missed something in the coding or perhaps an item. I thought I check to see if anyone else has done this and see if there may be something unique that needs to be done that I might be missing.
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Re: Inventory Variants on the CTGY screen

    It looks like the

    Code:
    <mvt:item name="attributemachine" param="head" />
    fires. But that this most crucial token does not

    Code:
    <mvt:item name="attributemachine" param="body" />
    without it all I get are attributes...
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment


      #3
      Re: Inventory Variants on the CTGY screen

      Hi Leslie,

      Try changing your body attribute machine call to this:
      Code:
      <mvt:item name="attributemachine" param="body:product:id" />
      Matt Zimmermann

      Miva Web Developer
      Alchemy Web Development
      https://www.alchemywebdev.com
      Site Development - Maintenance - Consultation

      Miva Certified Developer
      Miva Professional Developer

      https://www.dev4web.net | Twitter

      Comment


        #4
        Re: Inventory Variants on the CTGY screen

        Sadly, that didn't fire either
        Leslie Kirk
        Miva Certified Developer
        Miva Merchant Specialist since 1997
        Previously of Webs Your Way
        (aka Leslie Nord leslienord)

        Email me: [email protected]
        www.lesliekirk.com

        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

        Comment


          #5
          Re: Inventory Variants on the CTGY screen

          Originally posted by lesliekirk View Post
          Sadly, that didn't fire either
          You're putting this after the attributes form in the ctgy product display layout?
          Mark Hood
          Vermont Gear

          Comment


            #6
            Re: Inventory Variants on the CTGY screen

            Hi Leslie,

            Just to make sure, you have the body attribute machine item within the product foreach loop?
            Matt Zimmermann

            Miva Web Developer
            Alchemy Web Development
            https://www.alchemywebdev.com
            Site Development - Maintenance - Consultation

            Miva Certified Developer
            Miva Professional Developer

            https://www.dev4web.net | Twitter

            Comment


              #7
              Re: Inventory Variants on the CTGY screen

              That got it, I moved it right after the <mvt:item name="product_attributes" param="product:id" /> token and it's behaving now.

              Thanks!
              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

              Comment

              Working...
              X