• Resolved victorpietro

    (@victorpietro)


    Hi, I’ve found out a bug that is affecting a couple of ecommerces that I use PixelYourSite plugin (which is great, by the way).

    When you are inside a WooCommerce single product and there is a related products page, there is a /* */ being printed below the related product.

    After further investigation, I have discovered that the problem is in pixelyoursite/includes/class-events-manager.php.

    The problem is on line 389:

    /* <![CDATA[ */
                window.pysWooProductData = window.pysWooProductData || [];
                window.pysWooProductData[ <?php echo $product_id; ?> ] = <?php echo $params; ?>;
    /* ]]> */

    I can quickfix it by removing the /* */, but it comes back after every plugin update.

    Could you remove it from the source code, please?

    Here is a photo of it happening, just below the “COMPRAR” (buy) button.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘BUG: plugin prints text: “/* */” below a related product in a WC product page’ is closed to new replies.