How to remove 'Usually Ready In' from Dawn Theme product page?

Solved

How to remove 'Usually Ready In' from Dawn Theme product page?

BRCustoms
Visitor
3 1 1

I am currently redesigning a website using the Dawn theme.

On the product page under the section 'buy buttons' there is a section saying, "usually ready in days". I need to remove this before the page goes live as some of my products are made to order which this could make it misleading for customers. I have read another thread surrounding this, however that wasn't seeming to work for my website. 

Thanks in advanced.

Accepted Solution (1)

BRCustoms
Visitor
3 1 1

This is an accepted solution.

I found the solution that fixed this on my website after a bit of playing around!

1. Go to Code Settings

2. Under 'Sections', select main-product.liquid

3. Scroll down until to you see {%- render 'buy-buttons', block: block, product: product, product_form_id: product_form_id, section_id: section.id, show_pickup_availability: true -%}

4. Delete 'section.id, show_pickup_availability:'

5. Save and preview your site

View solution in original post

Replies 6 (6)

Jasoliya
Shopify Partner
4824 625 1225

Hi @BRCustoms 

send me url will check

Want custom changes? hire me.
3 months of Shopify for $1/month. Look here.
Email us Or WhatsApp, Try our Free app for product bundles and Codify Order Cancel or Order edit
Want to get Free review and advice for sale on store ?? just text me here
WordleFrancias
Tourist
3 0 1

I also face this issue 

NomtechSolution
Astronaut
1245 113 160
  1. In the code editor, locate the file that controls the product page. It is typically named product-template.liquid or similar.

  2. Look for the code that generates the "usually ready in days" section. It might look similar to the following:

 

<p class="product-template__meta">
  {{ 'products.product.ready_in_days' | t: days: product.metafields.your_namespace.your_key }}
</p>

 

  1. Remove the entire code block or comment it out to disable it. For example, you can modify it like this:

 

{% comment %}
<p class="product-template__meta">
  {{ 'products.product.ready_in_days' | t: days: product.metafields.your_namespace.your_key }}
</p>
{% endcomment %}
​

 

BRCustoms
Visitor
3 1 1

This is an accepted solution.

I found the solution that fixed this on my website after a bit of playing around!

1. Go to Code Settings

2. Under 'Sections', select main-product.liquid

3. Scroll down until to you see {%- render 'buy-buttons', block: block, product: product, product_form_id: product_form_id, section_id: section.id, show_pickup_availability: true -%}

4. Delete 'section.id, show_pickup_availability:'

5. Save and preview your site

luxeboutiquero
Visitor
2 0 1

Tutorial is good but why delete when you can write: false?

1. Go to Code Settings

2. Under 'Sections', select main-product.liquid

3. Scroll down until to you see {%- render 'buy-buttons', block: block, product: product, product_form_id: product_form_id, section_id: section.id, show_pickup_availability: true -%}

4. Delete 'show_pickup_availability: false'

5. Save and preview your site

taimanov
Tourist
6 0 4

Yep! The "solution" here creates a bug for me in Dawn 15 where variants are shown as "Sold Out" until you refresh the page. Your solution does not create this bug it seems.