Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello community!
I use Shopify (Sense theme) for a small sneaker selling business. On each product page, I want to display some stock & delivery options like this:
If you select size 37.5, payment can be done by credit card or cash on delivery. If you select size 38, payment can be done only by credit card, somehow a condition for that variant in order to enable payment only by cc.
My questions are:
Thank you very much,
Cristian
If you want to show the same messages for all 37.5 and 38 sizes, it can be done easily using a JavaScript. Otherwise, if there are more variations, you can save the stock and delivery information for each variant in metafields, load the metafield on the product page, and use JavaScript to display the matching variant information.
Hi @CristianT,
To display distinct messages based on selected Shopify variants, you can consider using the Advanced Conditional Logic feature offered by the Easify Product Options app.
Here's a quick demo 🤗:
Storefront:
Simple app settings:
As for addressing your specific requirement regarding payment methods associated with each size, it might be necessary to explore integration with another app or seek guidance from Shopify Staff for a tailored solution.
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024