Originally posted by Brennan
View Post
Announcement
Collapse
No announcement yet.
Storyteller Dynamic Pricing
Collapse
X
-
Storyteller Dynamic Pricing
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
-
Hi Leslie,
Storyteller ships with a version of this functionality.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
-
Originally posted by Matt Zimmermann View PostHi Leslie,
Storyteller ships with a version of this functionality.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
-
Hi Leslie,
Looks like there was a typo in the Storyteller product page code. To get the functionality working, change the data-hook value of the form to
Code:data-hook="product-details__purchase"
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
-
Originally posted by Matt Zimmermann View PostHi Leslie,
Looks like there was a typo in the Storyteller product page code. To get the functionality working, change the data-hook value of the form to
Code:data-hook="product-details__purchase"
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
-
Hi Leslie,
This code will only run if the particular product is not using variants. If a product is using variants, attribute machine takes over and the price will update if the variants are set up to do that.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
-
What you recommend I do for an item that has a combination of Inventory Variant and non Inventory Variant Attributes. The Inventory Variants have a price of 0.00 but the attribute that isn't an Inventory Variant has a price that I need to dynamically update the product price when selected.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
-
Hi Leslie,
Is there a reason the priced attribute isn't part of the variant? Without going one way or the other, I don't see a clean way to make it work.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
-
Originally posted by Matt Zimmermann View PostHi Leslie,
Is there a reason the priced attribute isn't part of the variant? Without going one way or the other, I don't see a clean way to make it work.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
-
Originally posted by Brennan View PostNormally in order to get the price to change automatically based on the attribute selected you must use inventory variants. This is the only method miva supports by default. There are some use cases where you don't want inventory variants for whatever reason.
Because of that in a few of the readythemes (suivant, optics, iron & wool, coustic and levels) we added custom javascript specific to those themes which will do this price change for you without inventory variants. This is why it is working for you on some products even though do you don't have variants.
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
-
Hi Leslie,
The code you are referring to could cause conflicts if you add it where a product is using inventory variants and non-variant attributes.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
-
Originally posted by Matt Zimmermann View PostHi Leslie,
The code you are referring to could cause conflicts if you add it where a product is using inventory variants and non-variant 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
-
Hi Leslie,
In that case, the code Brennan is referring to is included with Storyteller. You can locate it in the scripts.js file by searching for:
Code:// ---- Update Display Price Based on Attribute Selections (If Attribute Machine Is Not Being Used) ---- //
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
-
Originally posted by Matt Zimmermann View PostHi Leslie,
In that case, the code Brennan is referring to is included with Storyteller. You can locate it in the scripts.js file by searching for:
Code:// ---- Update Display Price Based on Attribute Selections (If Attribute Machine Is Not Being Used) ---- //
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
-
Hi Leslie,
To the best of my knowledge, it should work out of the box for products that aren't using attribute machine, i.e. any variants.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
Comment