Remove "Pickup at..." under product listing

Remove "Pickup at..." under product listing

peppergrassdes
Tourist
11 0 1

Hello, currently using Spark Theme. I would like to remove the "Pickup at.." box/button under each product.  How can I do this? 

 

Screen Shot 2022-12-21 at 11.19.17 AM.png

Replies 5 (5)

yy0z
Shopify Partner
87 6 14

You should be able to disable local pick up option in your admin screen.

Go to Shopify Admin -> Settings -> Shipping and Delivery

And then scroll down to Local Pickup, click onto the location, and untick the box that says "This location offers local pick up"

peppergrassdes
Tourist
11 0 1

We still want the option for local pickup, we just don't want the box under each product saying so. 

SocialAutoPost
Shopify Partner
434 59 107

@peppergrassdes In order to better assist you, could you please share the URL for your store with me?

Was the reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution
Auto post your Shopify products to Instagram, Facebook, Pinterest, LinkedIn and Twitter.
App: Social Schedular
yy0z
Shopify Partner
87 6 14

if  you know how to edit liquid, you can go to Edit Code -> Sections ->  main-product.liquid

And then find: 

 

<pickup-availability
class="product__pickup-availabilities no-js-hidden quick-add-hidden"
{% if product.selected_or_first_available_variant.available and pick_up_availabilities.size > 0 %}
available
{% endif %}
data-root-url="{{ routes.root_url }}"
data-variant-id="{{ product.selected_or_first_available_variant.id }}"
data-has-only-default-variant="{{ product.has_only_default_variant }}"
>

 

And replace it with the following:

 

<pickup-availability
class="product__pickup-availabilities no-js-hidden quick-add-hidden"
{% comment %}
{% if product.selected_or_first_available_variant.available and pick_up_availabilities.size > 0 %}
available
{% endif %}
{% endcomment %}
data-root-url="{{ routes.root_url }}"
data-variant-id="{{ product.selected_or_first_available_variant.id }}"
data-has-only-default-variant="{{ product.has_only_default_variant }}"
>

 All this code is doing is to remove the logic to check if the product is available in your pick up location. The theme should default to not showing the pick up availability if it is not shown as available.

The pick up option will still be available in the checkout section as that is unaffected by the product.liquid template.

Hope that helps.

GemPages
Shopify Partner
5625 1262 1279

Hello @peppergrassdes 

Can you give me your Store URL( with pass if your store password is enabled) so I can check it for you?

Kind & Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center