Adding Price to the Add to Cart Button and Centering a Pop-up Block on Product Page (Broadcast Theme

Hi everyone,

I’m currently using the Broadcast theme, and I would like to add the product price to the “Add to Cart” button on the product page. Unfortunately, I don’t see an option to do this. Is there a line of code I can add to make this work?

Additionally, on the product page, I’ve added a “pop-up” block called “Notes” in the middle of the product page section. I’d like to center this block in relation to the “Add to Cart” button and the product description above it.

Any help would be greatly appreciated. Thank you!

Hey @mat_ant ,

Can you please share your store URL, so that I can have a better look and suggest you the solution.

Thanks,
Shubham | Untechnickle

Hi,

Thank you for ur answser, check the product page of the pink perfume “symphony of roses” it’s the page that i’ll duplicate for the others. Here is a url : https://antiu8pnl6bob449-65587871966.shopifypreview.com.

-Mat

I pasted it on the theme.js file and nothing happened and I don’t have a global.js file.

You can do it by adding this code in the add to cart button similar file name buy-button.liquid

{{product.price}}

If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!