Hide Address for Pickup on Every Product

Solved

Hide Address for Pickup on Every Product

Dragon41673
New Member
4 0 0

I need to hide the Product Pick Up location on the product pages as I work from home, I believe I found the proper code but I cannot figure out what needs to be edited to accomplish this. Any help would be appreciated.

Dragon41673_0-1716385355197.png

Accepted Solution (1)
pawankumar
Shopify Partner
673 98 121

This is an accepted solution.

@Dragon41673 
In that case you can comment this code by wrapping the pickup_availability code in
{%comment%}

-- PICK UP CODE HERE
{% endcomment %}

and you can enable it later by removing the comments if needed
In this way, you don't have to disable it from backend
Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

View solution in original post

Replies 5 (5)

pawankumar
Shopify Partner
673 98 121

Hi @Dragon41673 
It looks like it is section block in your theme settings, under theme customizer, go to products and then you will see an eye icon, you can disable block by clicking this.
It will look something like this:

pawankumar_0-1716395119362.png

As, you can see eye and delete icon there, you can use eye to disable it and using delete button you can completely delete it


Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
Dragon41673
New Member
4 0 0

It is not a block selector...this appears when I turn on local pickup in Shopify settings. While I do want that on...I do NOT want my address showing on all product pages.

pawankumar
Shopify Partner
673 98 121

This is an accepted solution.

@Dragon41673 
In that case you can comment this code by wrapping the pickup_availability code in
{%comment%}

-- PICK UP CODE HERE
{% endcomment %}

and you can enable it later by removing the comments if needed
In this way, you don't have to disable it from backend
Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
Dragon41673
New Member
4 0 0

Great...thank you! I will check to see if that will work on the code I found (not 100% sure it's the right one).

However, should that first one be {%comment%} or should it be {% comment %} with a space between the percentage and the word?

Thank you

Dragon41673
New Member
4 0 0

Never mind on the previous comment...I have it working it seems as the other themes I have as backups are showing the info, but the live theme is not!

Thank you very much!