REMOVING BUY NOW BUTTON ON SOLD PRODUCTS

New Member
6 0 0

Hello,

 

How can I remove the ''buy now'' button on the product page of a sold item? 

 

Thank you :)

0 Likes
Excursionist
53 4 6

Hi @Emsy 

 

Let me know which theme you are using? Also, share your store URL if possible. Best of luck!

To get Shopify Store Design, Customization and Development service, Inbox me.
0 Likes
Highlighted
Shopify Partner
1657 278 347

Hi @Emsy 

Open section->product-template.liquid -> find {{ form | payment_button }} and add condition like bellow:

 

{% if section.settings.enable_payment_button and unless current_variant.available%}
{{ form | payment_button }}
{% endif %}

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
0 Likes