• The Custom HTML widget is finding errors in the code for my Shopify Buy Buttons and not allowing me to save. I don’t want to make changes to the Buy Button code because it could cause an error with my shopping cart. What can I do to override the errors?

    • This topic was modified 7 years, 1 month ago by Bless2all.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • lisa

    (@contentiskey)

    can you share a sample of the code you are trying to use in the html widget?

    Thread Starter Bless2all

    (@bless2all)

    This is the section of the code that the widget finds an error in:

    <div id='product-component-fe347f31244'></div>

    lisa

    (@contentiskey)

    I will try the partial code you have provided in an html widget on one of my test sites to see if I can replicate the problem.

    • This reply was modified 7 years, 1 month ago by lisa.
    • This reply was modified 7 years, 1 month ago by lisa.
    Thread Starter Bless2all

    (@bless2all)

    Thank you.

    lisa

    (@contentiskey)

    changing to to this format allowed me to save html widget
    <div id="product-component-fe347f31244"></div>

    test the change to see if it makes a difference with the functionality of the buy button.

    contact Shopify support for more help if the button must be formatted like this:
    <div id='product-component-fe347f31244'></div>

    • This reply was modified 7 years, 1 month ago by lisa.
    Thread Starter Bless2all

    (@bless2all)

    This is what Shopify has told me so far.

    The Buy Button just can’t be changed how the code is generated. It is confusing that WordPress won’t read that as it is standard language. Using this 3rd party HTML test page you can see that any Buy Button will work.

    https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro

    Something on WordPress end must be reading it wrong. Changing it to have single or double quotation marks doesn’t effect how that should be read.

    I’m afraid that something is going to have to be changed on the Custom HTML widget or no one will be able to insert Buy Buttons from Shopify. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom HTML widget won’t let me save’ is closed to new replies.