I already made changes to the liquid file(product-default.liquid). However, its not working when I have qty.
If I have no qty it is showing correctly. Wondering what I have missed on the code.
I already made changes to the liquid file(product-default.liquid). However, its not working when I have qty.
If I have no qty it is showing correctly. Wondering what I have missed on the code.
Hi @Albastro
Thank you for the screenshots and the code snippets you are attempting to use.
Out of curiosity have you considered using a page template to create this experience? If you are using a newer 2.0 theme then you can easily adjust the product page for this, and related items, to only show a prompt to contact for pricing.
If you are on a 2.0 theme you can open the theme editor, select the dropdown menu at the top, then Products > New Template.
Once you save the new template you will see it as an option for products to use when you edit the product details. You can read more about this in our Help Center here: Templates · Shopify Help Center.
Hello,
Thanks for the reply but I don’t think it addresses my requirements.
I already tried that changing the sold out to Please call for Pricing.
The problem is the price is 0 and there is quantities. Don’t know if I missed on the setup. If I did would be great if you can point me directly to which should I set.
Thank you for the screenshot, and that is definitely one of the spots you can go to edit the default theme text on your store.
Can you confirm for me what theme you are using? Once I know the theme you are using I can confirm if it is compatible with the new 2.0 page templates.
It’s chromium.
Thank you! To confirm is this the theme you are using? Chromium — Auto Parts Shop Shopify Theme
This theme is a 2.0 theme and should support product page templates using the steps in our Help Center here: Templates · Shopify Help Center.
Once you have created and saved your new product page template, you can then apply the new page layout to your specific products from within their product details.
Yes that is correct. But I cannot find where I can change the 0.00 price to Please call for pricing. Sorry a little confused with it.
No worries! Let me see if I can clarify that a bit more.
Once you have created your new product template, the best place to start is to hide all content you don’t want on the page for this specific product. The only thing I left in my example is the product title and variant picker (although mine doesn’t have any variants to show). If customers cannot add this item to the cart or go straight to checkout, make sure to remove those buttons.
Next step is to add in the product description and an additional text box if needed to direct customers to contact for more information. You can use the “Add Section” at the bottom of the left hand column to add a contact us form to the page directly.
Save your changes and then apply your new template to the products you want to use! Remember that any custom text you add to the template page will be duplicated across all pages using the same template. Information you manually enter into the page template using a text field will show across all pages that use the same template.
Hello Shay,
Thanks for the insights. Understood what you meant. I just needed to just replace the 0 price to Please Call text.