New Shopify Certification now available: Liquid Storefronts for Theme Developers

REMOVING AFF TO CART

Solved
mahmud_asad
Tourist
11 0 1

I AM USING "SENSE THEME" AND WANT TO DELETE ADD TO CART AND BUY NOW BUTTONS ON THE PRODUCT PAGE. 

I WAS ABLE TO SWITCH OFF "Show dynamic checkout buttons" BUT DID NOT WORK. 

 

TRIED TO IMPLEMENT THESE METHODS BUT NONE OF THEM WORKED. 

 

PLEASE HELP

 

https://youtu.be/MWBUE8gI6HU?si=JpDWfQzk7yy6XOK1

https://youtu.be/j1pLnyxOStI?si=VGuebSjJjCEnN8TC

https://youtu.be/XgUXSP8Ajsc?si=x4BJYxjBAq2XMmrb



Mahmud Asad
Accepted Solution (1)
Moeed
Shopify Partner
3051 761 925

This is an accepted solution.

Hey @mahmud_asad 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
product-form.product-form {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1697437250005.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 8 (8)
Moeed
Shopify Partner
3051 761 925

Hey @mahmud_asad 

 

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Moeed
Shopify Partner
3051 761 925

This is an accepted solution.

Hey @mahmud_asad 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
product-form.product-form {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1697437250005.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
mahmud_asad
Tourist
11 0 1

DUDE, THANK YOU VERY VERY MUCH. AS YOU SAID, ACCEPTED THE SOLUTION AND LIKED IT

Mahmud Asad
Moeed
Shopify Partner
3051 761 925

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
PaulNewton
Shopify Partner
5931 537 1241

Make sure you are editing the same theme you are then viewing on the frontend.

 

Switching off "Show dynamic checkout buttons" only turns off dynamic checkout buttons

https://help.shopify.com/en/manual/online-store/dynamic-checkout 

 

To get rid of the basic add-to-cart button in OS2.0 themes hide/remove the buy-buttons section block entirely, read the free manual on editing themes:

 

https://help.shopify.com/en/manual/online-store/themes/theme-structure/sections-and-blocks 

https://help.shopify.com/en/manual/online-store/themes/customizing-themes/edit#sections-and-blocks 

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


Dan-From-Ryviu
Shopify Partner
5679 1047 1073

You can remove those buttons by remove Buy buttons block from your Online store > Themes > Customize > Products > Default product

Screenshot 2023-10-16 at 13.48.40.png

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

laddisahsi
Shopify Partner
336 34 36

Hi @mahmud_asad 

You can follow the following steps:

1. Please go to the Online Store
2. Then Edit Code
3. Please find the theme.liquid file
4. Before end of </head> Please add following code.

<style>
.product-form__buttons {
    display: none !important;
}
</style>

 

laddisahsi_0-1697439138802.png

 

If this solution is worked, then please Like this and Mark this as accepted solution!


Laddi

-Shopify website development, Theme & App Development
-Contact me: WhatsApp


-Email Me
-If this solution is worked, then please Like this and Mark this as accepted solution!