Remove "Pickup at..." under product listing

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

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”

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

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

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.

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