I would like to display a Product Custom Field on the BASK screen if the product that has the custom field is in the basket. What's the best way to do this (that makes sense to me)?
Announcement
Collapse
No announcement yet.
Display Custom Product Field on BASK screen
Collapse
X
-
Display Custom Product Field on BASK 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
-
Use:
Code:<mvt:item name="customfields" param="Read_Product_Code( l.settings:item:product:code, 'custom_field_code', l.settings:customfields )" />
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
- 1 like
-
You'll need to check each product in the cart to see if it has a value for that custom field and then display it if it does.
Code:<mvt:item name="customfields" param="Read_Product_Code(l.settings:group:code, 'custom_field_code', g.my_custom_field)" /> <mvt:if expr="NOT ISNULL g.my_custom_field"> &mvt:global:my_custom_field; </mvt:if>
- 2 likes
Comment
Comment