PluginProbe
Wingify / 4.15
Wingify v4.15
4.15 4.16 trunk 1.0 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 All 39 releases
visual-web-optimizer / templates / loop.php

loop.php in Wingify 4.15, at templates/loop.php

10 lines 560 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined( 'ABSPATH' ) or exit; ?>
2 $( '.add_to_cart_button:not(.product_type_variable, .product_type_grouped)' ).on( 'click', function() {
3 window.VWO = window.VWO || [];
4 VWO.event = VWO.event || function () {VWO.push(["event"].concat([].slice.call(arguments)))};
5 VWO.event( 'woocommerce.productAddedToCart', {
6 productId:$(this).data( 'product_id' ),
7 productSku: ( $(this).data('product_sku') ) ? ( '' + $(this).data('product_sku') ) : ( '#' + $(this).data( 'product_id' ) ),
8 quantity: $(this).data( 'quantity' )
9 });
10 });