Why isn't my HTML buy button code functioning correctly?

This is the message i get when i try to copy the code in the html area.. watched some tutorials on YouTube they don’t help with my issue.. what do i do? i tried adding it in different areas still don’t work.

Hi @Brandon1k

This is Noah from PageFly - Shopify Page Builder App

With the HTML code, you won’t be able to add it into the JSON file format. In case you want to show it on your collection, please follow my steps below

Please add this code to Custom HTML on the page directly.

Step 1: Online Stores > Themes > Customize

Step 2: Select the collection template you want to add > Add 1 Custom HTML block inside that page. After that you just need to paste those code and it will work and showing

Hope this can help you solve the issue

Best regards,

Noah | PageFly

Thank you it’s working now

Glad that i can help. Let me know if you have any questions

Hello Noah, i have another issue that came up now, i am able to see my products in my collection but now it doesn’t let me view product description when i try to click on the title of my products?

sorry if this isn’t in a separate thread.