<% console.log(product) %>
var prodcategory = "<%= product.category[1].name %>";
if (prodcategory == 'Classes') {
$(".product-row").hide();
$(".product-accessories-wrapper").hide();
$(".product-class-row").css('display','flex');
window.dispatchEvent(new CustomEvent('resize'));
$(".d-product-details-row-odd .d-product-details-title span").remove();
$(".d-product-details-row-odd .d-product-details-title").text("");
$(".d-product-details-row-even .d-product-details-title span").remove();
$(".d-product-details-row-even .d-product-details-title").text("");
$(".d-product-details-row-even").css('background-color','#fff');
$(".d-product-details-title").attr('style', 'font-family: "Font Awesome 5 Free" !important');
$(".d-product-details-title").css('font-weight','400');
$(".d-product-details-title").css('width','20px');
$(".d-product-details-detail").css({
'margin-left' : '0px',
'padding' : '0px'
});
}
Add to Cart
Description
Specifications
Accessories
Reviews
<% if (product.mpn !== null) { %>
MPN: <%= product.mpn %>
<% } else { %>
<% } %>
<% if (product.sku.length > 0) { %>
SKU: <%= product.sku %>
<% } else { %>
<% } %>
Add to Cart