Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

display error on mobile devices on pop up with upsell product

$
0
0

Replies: 0

if you put a product to the basket which has a “linked product / Upsells” defined then in the pop-up window on a mobile device the description of the upsell product will be: “(function($) { $( ‘.products .post-892 a’ ).click( function() { if ( true === $(this).hasClass( ‘add_to_cart_button’ ) ) { return; } ga( ‘ec:addProduct’, { ‘id’: ‘892’, ‘name’: ‘Rückstrahler Set’, ‘category’: ‘Zubehör’, ‘position’: ‘1’ }); ga( ‘ec:setAction’, ‘click’, { list: ‘Product List’ }); ga( ‘send’, ‘event’, ‘UX’, ‘click’, ‘ Product List’ ); }); })(jQuery);”

and not the description of the product!

If I disable WooCommerce –> Settings –> Integration –> Google Analytics –> Enhanced eCommerce –> Product Clicks from Listing Pages
the problem disappears and the correct product discretion of the upsell product will be displayed in the pop up window when adding the base product to the basket.

the problem only appears on mobile devices.


Viewing all articles
Browse latest Browse all 59525

Trending Articles