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.
Announcement
Collapse
No announcement yet.
Inventory Variants on the CTGY screen
Collapse
X
-
Inventory Variants on the CTGY screen
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
Tags: None
-
Re: Inventory Variants on the CTGY screen
It looks like the
Code:<mvt:item name="attributemachine" param="head" />
Code:<mvt:item name="attributemachine" param="body" />
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
-
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
-
Re: Inventory Variants on the CTGY screen
Sadly, that didn't fire eitherLeslie 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
-
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
-
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
Comment