Not working
-
Hello,
This plugin is causing issue from few days, when i check on console it is showing error as “ReferenceError: tvc_po is not defined”
And when i chcek the page source<!– WooCommerce JavaScript –>
<script type=”text/javascript”>
jQuery(function($) {
tvc_lc=”INR”;var items = [];
//set local currencies
gtag(“set”, {“currency”: tvc_lc});
jQuery(“[class*=single_add_to_cart_button]”).click(function() {// Enhanced E-commerce Add to cart clicks
gtag(“event”, “add_to_cart”, {
“event_category”:”Enhanced-Ecommerce”,
“event_label”:”add_to_cart_click”,
“non_interaction”: true,
“items”: [{
“id” : tvc_po.tvc_i,
“name”: tvc_po.tvc_n,
“category” :tvc_po.tvc_c,
“price”: tvc_po.tvc_p,
“quantity” :jQuery(this).parent().find(“input[name=quantity]”).val()
}]
});});
Please help to resolve thisThe page I need help with: [log in to see the link]
- The topic ‘Not working’ is closed to new replies.