Shopify themes, liquid, logos, and UX
Hi there I am using the Warehouse theme from Shopify
I want to replace products with $0 to a get a quote link. can anyone please help me with it.
My site: https://testingmysite4.myshopify.com/
Aimed solution:
You can create a seperate product template for the products that you want to display your custom elements on you then make changes to the price and add a button statically . If you want to do it dynamically, you can edit your main product template and add a conidtional to render your custom elements when product.price equals 0.; {% if product.price=0 %}. I wouldnt reccomend messing around in your code unless you're an experienced developer, there are quote apps in the shopify store that you can add to your store, just make sure you check your sites performance after adding them. Let me know if you have more questions or if there is something i missed
you want me to add this code: {% if product.price=0 %} to the product templet file?
I would not recommend adding custom code to your theme or you risk breaking your theme. If you do opt to work in your theme code then i recommend you create a backup file for each file you work on. I highly recommend that you dont tamper with the theme code. Instead I would recommend you download one of the apps from the app store that can do just what you are looking for; i've attached a video below.
User | RANK |
---|---|
232 | |
154 | |
55 | |
52 | |
46 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023