My client wants to show a few new products even though they aren't ready to ship. Is there any way to have a product without a price or a Buy button?
Announcement
Collapse
No announcement yet.
How do I add a product that's coming soon?
Collapse
X
-
You can use a custom product field to denote coming soon and use it as a conditional for hiding the price and button.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
-
You can create & manage custom fields under "Utility Settings". Miva has quite a bit of documentation on custom fields. Matt's suggestion should make sense after watching/reading the docs.
https://docs.miva.com/dev-videos/custom-fields
https://docs.miva.com/template-langu...product-fields
Hope this helps!
Comment
-
Hi, and thanks for the links. I think it helps, but after watching about 4 videos it seems there are using the interfaces for Miva 9 and earlier. Before I really dig in to these videos and learning the syntax, are these still relevant for Miva 10? I'm assuming so but in one video it seemed you just turned on Custom Fields, created them, added them to the template and it worked. Now it looks like I'll have to add special code myself which I'm hesitant about - I'm more comfortable with HTML and CSS. I guess I'm more of a front end guy :-)
Comment
-
Yes, those instructions are still relevant for Miva 10. Once you create the custom field, you will need to activate it on the product page and then add the template code as indicated in the documentation.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
-
For the most part, SMT code isn't too much more difficult that CSS. Especially if you stick with simple conditionals such as <mvt:if expr="l.settings:some:variable EQ 'This Value'">.
Here's a primer on SMT coding
https://docs.miva.com/template-language/mvtassignBruce 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
Comment
Comment