Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Display variant title in a custom.liquid (product page template)

Display variant title in a custom.liquid (product page template)

cvaessen
Visitor
3 0 0

Hi, 

I created two new product pages template.
1. In the first one, I would like to display the "Option1 Value" (OR the variant name (it's the same), saved in our CVS files) instead of the "Title" of each product. Which code should I add in a "custom.liquid" of this product page template to do so ?

 

2. In the second one, I added a custom.liquid to display the price range of the product (as it this collection has a variant) in the product page template. I then had to hide the "product header" otherwise the price was displayed twice (once with the price range and one without). I would like to display the "Option1 Value" (OR the variant name (it's the same), saved in our CVS files) instead of the "Title" of each product. Which code should I add in the "custom.liquid" of this product page template to do so  ?

 

Many thanks for your helpCapture d'écran-template2.pngCapture d'écran-template1.png

Replies 5 (5)

Sweet_Savior_3
Shopify Partner
1361 104 144

Hello,

CAn you send me the store URL and if password protected then please send the password for that.


Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
cvaessen
Visitor
3 0 0
Sweet_Savior_3
Shopify Partner
1361 104 144

Hello,

thanks for the store URL. I will check it and get you .

Please wait for me.

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
Sweet_Savior_3
Shopify Partner
1361 104 144

Hello

I have checked your requirements and store but it needs code edits including liquid code and JS. So i would suggest you to contact a developer. If you are okay then I can send you a collaboration request and complete your requirements.

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
cvaessen
Visitor
3 0 0
Hi,

Thank you for your offer. How much will you ask to do it ?
Do you think you can also fix the compatibilty issue with the app that display the price range as well ? For some products the minimum - maximum price appears proprely but not all of them.
For example : the n°19 of this collection and all the numbers after, the "estimation" (= price range") is not displayed. The computer keep searching : Vente du 9 décembre 2023 – Mont de Piété-Berg van Barmhartigheid (montdepiete.be)<>


Thanks,