Re: Hiding the Buy Now Button Removes My Metafields

Solved

Hiding the Buy Now Button Removes My Metafields

rj21
Tourist
3 0 1

Hi all. I'm having an issue when it comes to hiding the buy now button on my product pages. I'm using the Concept theme as well as metafields + the Metafields Guru application to display custom data for my product variants. The thing is, when I hide the buy now buttons on the template, it also removes the metafield entries. I've consulted with the app creators and they say that the issue is not due to the app but an issue to the source code of the template. Can anyone provide assistance with this?

 

Screenshot 2024-07-17 at 6.39.09 PM.png

 

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
9136 1828 1863

This is an accepted solution.

Hi @rj21 

Please add this code to Custom CSS in your Online Store > Themes > Customize > Theme settings and check 

form.product-form { dislay: none !imporptant; }

- Helpful? Like and Accept solution! ‌Support me: Buy coffee
- Ryviu - Reviews & QA app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 5 (5)

Dan-From-Ryviu
Shopify Partner
9136 1828 1863

Hi @rj21 

Maybe that meta field settings display right after the Buy Now button hook, so it cannot be added after you disable the Buy Now block.

Could you enable buy now block, send me link to your product page so I can give you the code to hide buy now without disable it from your product page customize? 

- Helpful? Like and Accept solution! ‌Support me: Buy coffee
- Ryviu - Reviews & QA app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

rj21
Tourist
3 0 1

Hi there. Here's the link to one of the product pages. The buy now module is enabled.

https://83b175-ed.myshopify.com/products/joint-torque-sensors-tsr-j-series

Dan-From-Ryviu
Shopify Partner
9136 1828 1863

This is an accepted solution.

Hi @rj21 

Please add this code to Custom CSS in your Online Store > Themes > Customize > Theme settings and check 

form.product-form { dislay: none !imporptant; }

- Helpful? Like and Accept solution! ‌Support me: Buy coffee
- Ryviu - Reviews & QA app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

rj21
Tourist
3 0 1

Lifesaver. Thank you for this. Code indeed works (tested on both mobile and desktop).

Screenshot 2024-07-17 at 8.38.46 PM.png

Dan-From-Ryviu
Shopify Partner
9136 1828 1863

You are very welcome! 

- Helpful? Like and Accept solution! ‌Support me: Buy coffee
- Ryviu - Reviews & QA app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.