Relate Products error
-
Hello!
When using the Related Products template in Elementor, it generates a list of related items. Unfortunately, along with the product picture and information, the plugins also generates this line of code, breaking the visuals of the page:
window.wooptpmDataLayer.products = window.wooptpmDataLayer.products || {}; window.wooptpmDataLayer.products[4009] = {"id":"4009","sku":"","name":"product name","price":76,"brand":"","category":["category name"],"quantity":1,"dyn_r_ids":{"post_id":"4009","sku":4009,"gpf":"woocommerce_gpf_4009"},"isVariable":false,"isVariation":false}; window.wooptpmDataLayer.products[4009]['position'] = window.wooptpmDataLayer.position++;
This is a new error for me, the plugin worked just fine before.
Here is a preview of the error: https://i.postimg.cc/cHtMFkw2/error.jpgThank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Relate Products error’ is closed to new replies.