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.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025