Solved

How to remove price from "coming soon" products? SUPPLY THEME

gerlikask
Tourist
33 0 1

Hi,

 

How can I remove prices from products that are not yet available (coming soon)? I created a new template for products and was able to remove the price, however, when I add the "coming soon" collection to my online shop, it still shows prices under the products. Also, when I choose the FEATURE COLLECTION or any other section that features these products on the home page, then the prices are shown as well.

 

This is how the product page looks

 

Screenshot (992).png

 

This is how it looks in an online shop or when I use to want to feature the products on the home page

 

Screenshot (990).png

I'm using a supply theme.

 

Thanks so much for your help.

 

Cheers

Accepted Solution (1)
Ahsan_ANC
Shopify Partner
1362 246 312

This is an accepted solution.

Hi, @gerlikask 

You can try this code


1. Go to Online Store-> Theme->Edit code
2. Snippets-> product-grid-item.liquid ->paste the below code the specified location(see Screenshot).

 

Please also create a tag on all the products that are coming soon. I have selected the tag name as "comingsoon". please copy the same text to all the products tag section.

 

download (14).png

 

Code before the blue box

{% unless product.tags contains 'comingsoon' %}

Code after blue box

{% endunless %}

 

download (15).png

 

Result

 

download (16).png

Contact for any custom design? Skype : ahsananc
>Was your question answered? Mark it as an Accepted Solution!
Feel Free to Contact Me at my Email: anc2277@gmail.com


To enhance and customize Shopify search and filter, I use Boost Product Filter & Search

View solution in original post

Replies 7 (7)

gerlikask
Tourist
33 0 1

This is how it looks in the online shop.

 

Screenshot (990).png

suyash1
Shopify Partner
9135 1137 1485

@gerlikask - this will need code editing, are you familiar with liquid coding?

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
gerlikask
Tourist
33 0 1

@suyash1 thanks for your response. I have edited codes on shopify before by following instructions. 

suyash1
Shopify Partner
9135 1137 1485

@gerlikask  ok great

 

- please go to product item (file name can be product item or product card) 

- since you created new template for these products, you can check if product template is this new one

- if it is NOT then only show price code

- if it is NEW template then hide price code

To build shopify pages use pagefly You are welcome to contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
Paranormal story video using AI
Join me for beginner level training session
Ahsan_ANC
Shopify Partner
1362 246 312

This is an accepted solution.

Hi, @gerlikask 

You can try this code


1. Go to Online Store-> Theme->Edit code
2. Snippets-> product-grid-item.liquid ->paste the below code the specified location(see Screenshot).

 

Please also create a tag on all the products that are coming soon. I have selected the tag name as "comingsoon". please copy the same text to all the products tag section.

 

download (14).png

 

Code before the blue box

{% unless product.tags contains 'comingsoon' %}

Code after blue box

{% endunless %}

 

download (15).png

 

Result

 

download (16).png

Contact for any custom design? Skype : ahsananc
>Was your question answered? Mark it as an Accepted Solution!
Feel Free to Contact Me at my Email: anc2277@gmail.com


To enhance and customize Shopify search and filter, I use Boost Product Filter & Search
gerlikask
Tourist
33 0 1

It worked. Thank you so much 🙂

kelseycurran
Shopify Partner
10 0 8

Brilliant, thank you!