jQuery(document).ready(function($) {
$(".entire-div-link").click(function() {
window.location = $(this).find("a").attr("href");
return false;
});
});
jQuery(document).ready(function($) {
$(".outofstock").click(function(e){ e.preventDefault(); });
$(".outofstock").fadeTo(500, 0.2);
$(".outofstock").parent().find(".product-title-link").click(function(e){ e.preventDefault(); });
$(".outofstock").parent().find(".product-title-link").fadeTo(500, 0.2);
});
jQuery(document).ready(function($) {
//console.log($(".product_after_shop_loop_buttons").parents().find(".product_thumbnail").find("a").attr("href"));
//$(".product_after_shop_loop_buttons").find('a').attr("href", $(".product_after_shop_loop_buttons").parents().find(".product_thumbnail").find("a").attr("href"));
//console.log($(".animate").find(".product_thumbnail_wrapper"));
// Gets the number of elements with class yourClass
var numItems = $(".product_after_shop_loop_buttons").length
if (numItems > 0 ) {
$(".product_after_shop_loop_buttons").each(function() {
var newUrl = $(this).closest("li").find("h3").find("a").attr("href");
$(this).find('a').attr("href", newUrl);
$(this).find('a').removeClass("ajax_add_to_cart");
});
}
});
Utilizziamo i cookie per essere sicuri che tu possa avere la migliore esperienza sul nostro sito. Se continui ad utilizzare questo sito noi assumiamo che tu ne sia felice. Privacy policyAccettaNo
Puoi revocare il consenso in qualsiasi momento cliccando sul tasto Revoca consensoRevoca consenso