Sensity World

Biografía
Pistas
-
play_circle_filled
Dj Rosell, Abel K Kaña, Javi Molina – X-Tasy In Paradise Hardstyle Remix
jQuery(document).ready(function($) {
// Handle click on add-to-cart button for instant UI update
$(document).on('click', '.add_to_cart_button', function(e) {
var $button = $(this);
var productId = $button.data('product_id');
if (productId) {
// Find the product list item
var $productListItem = $('.qtmusicplayer-trackitem[data-product-id="' + productId + '"]');
if ($productListItem.length) {
// Hide the add-to-cart button immediately
$productListItem.find('.add_to_cart_button').closest('.qt-addtocart > span').html(
'check' +
$productListItem.find('.qt-btn-moreinfo').prop('outerHTML') + // Preserve More Info button
$productListItem.find('.tinv-wraper').closest('span').prop('outerHTML') // Preserve Wishlist button
);
}
}
});
// Handle WooCommerce AJAX added_to_cart event for consistency
$(document.body).on('added_to_cart', function(event, fragments, cart_hash, $button) {
var productId = $button.data('product_id');
if (productId) {
var $productListItem = $('.qtmusicplayer-trackitem[data-product-id="' + productId + '"]');
if ($productListItem.length) {
// Ensure the add-to-cart button is replaced with the tick icon
$productListItem.find('.qt-addtocart > span').html(
'check' +
$productListItem.find('.qt-btn-moreinfo').prop('outerHTML') +
$productListItem.find('.tinv-wraper').closest('span').prop('outerHTML')
);
}
}
});
});
-
play_circle_filled
Dj Rosell, Javi Molina, Abel K Kaña – X-Tasy In Paradise Hardcore Remix
jQuery(document).ready(function($) {
// Handle click on add-to-cart button for instant UI update
$(document).on('click', '.add_to_cart_button', function(e) {
var $button = $(this);
var productId = $button.data('product_id');
if (productId) {
// Find the product list item
var $productListItem = $('.qtmusicplayer-trackitem[data-product-id="' + productId + '"]');
if ($productListItem.length) {
// Hide the add-to-cart button immediately
$productListItem.find('.add_to_cart_button').closest('.qt-addtocart > span').html(
'check' +
$productListItem.find('.qt-btn-moreinfo').prop('outerHTML') + // Preserve More Info button
$productListItem.find('.tinv-wraper').closest('span').prop('outerHTML') // Preserve Wishlist button
);
}
}
});
// Handle WooCommerce AJAX added_to_cart event for consistency
$(document.body).on('added_to_cart', function(event, fragments, cart_hash, $button) {
var productId = $button.data('product_id');
if (productId) {
var $productListItem = $('.qtmusicplayer-trackitem[data-product-id="' + productId + '"]');
if ($productListItem.length) {
// Ensure the add-to-cart button is replaced with the tick icon
$productListItem.find('.qt-addtocart > span').html(
'check' +
$productListItem.find('.qt-btn-moreinfo').prop('outerHTML') +
$productListItem.find('.tinv-wraper').closest('span').prop('outerHTML')
);
}
}
});
});
-
play_circle_filled
-
play_circle_filled
-
play_circle_filled
Abel K Kaña & David Rosell – X-Tasy In Paradise Hard Dance Remix
jQuery(document).ready(function($) {
// Handle click on add-to-cart button for instant UI update
$(document).on('click', '.add_to_cart_button', function(e) {
var $button = $(this);
var productId = $button.data('product_id');
if (productId) {
// Find the product list item
var $productListItem = $('.qtmusicplayer-trackitem[data-product-id="' + productId + '"]');
if ($productListItem.length) {
// Hide the add-to-cart button immediately
$productListItem.find('.add_to_cart_button').closest('.qt-addtocart > span').html(
'check' +
$productListItem.find('.qt-btn-moreinfo').prop('outerHTML') + // Preserve More Info button
$productListItem.find('.tinv-wraper').closest('span').prop('outerHTML') // Preserve Wishlist button
);
}
}
});
// Handle WooCommerce AJAX added_to_cart event for consistency
$(document.body).on('added_to_cart', function(event, fragments, cart_hash, $button) {
var productId = $button.data('product_id');
if (productId) {
var $productListItem = $('.qtmusicplayer-trackitem[data-product-id="' + productId + '"]');
if ($productListItem.length) {
// Ensure the add-to-cart button is replaced with the tick icon
$productListItem.find('.qt-addtocart > span').html(
'check' +
$productListItem.find('.qt-btn-moreinfo').prop('outerHTML') +
$productListItem.find('.tinv-wraper').closest('span').prop('outerHTML')
);
}
}
});
});
-
play_circle_filled
-
play_circle_filled