• Resolved altmayank

    (@altmayank)


    Hi,

    My 404 page has some products and it shows the following text underneath the price.

    window.wooptpmDataLayer.products = window.wooptpmDataLayer.products || {}; window.wooptpmDataLayer.products[13419] = {“id”:”13419″,”sku”:”FIFA-21-SE-ORG”,”name”:”FIFA 21 Standard Edition (PC)”,”price”:2099,”brand”:””,”category”:[“Games”,”PC Games”],”quantity”:1,”dyn_r_ids”:{“post_id”:”13419″,”sku”:”FIFA-21-SE-ORG”,”gpf”:”woocommerce_gpf_13419″},”isVariation”:false}; window.wooptpmDataLayer.products[13419][‘position’] = window.wooptpmDataLayer.position++;

    Screenshot for your reference: https://i.imgur.com/cZXblrn.png

    This happened after some recent updates on the plugin. Can you let me know how to fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author alekv

    (@alekv)

    Hi @altmayank

    Since one of the more recent versions, our plugin inserts a script with product information to each product template. This is the best way to get reliable results when working with caching systems.

    Some function in your theme is stripping out just the <script> tags of the script, which it shouldn’t, thus making the rest of the script visible.

    At the moment I can’t imagine how or why just the <script> tags are removed. Maybe it helps if I have a look at a 404 page. You can send a link to [email protected].

    What theme are you using?
    Could you also send me the 404 page template?

    Thread Starter altmayank

    (@altmayank)

    Hi @alekv

    I have sent you the link to my website on your email : [email protected]

    Please look into it.

    Plugin Author alekv

    (@alekv)

    Answered by email,
    closing this thread.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error on 404 page’ is closed to new replies.