PLUS LOFTS Hooded Jacket
${function() {
const variantData = data.variant || {"id":"3c53a8fd-fc22-4929-b3b6-e7674d1b4487","product_id":"6f0b4f8e-3471-41b2-8f4b-93fed66a6649","title":"XXL","weight_unit":"g","inventory_quantity":743,"sku":"","barcode":"","position":1,"option1":"XXL","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/67372dec789a864d41ac94b6070a40a8.jpeg","path":"67372dec789a864d41ac94b6070a40a8.jpeg","width":490,"height":508,"alt":"","aspect_ratio":0.9645669291338582},"wholesale_price":[{"price":42.1,"min_quantity":1}],"weight":"530","compare_at_price":"76.5","price":"42.1","retail_price":"76.5","available":true,"url":"\/products\/plus-lofts-hooded-jacket-hk6y?variant=3c53a8fd-fc22-4929-b3b6-e7674d1b4487","available_quantity":999999999,"options":[{"name":"Size","value":"XXL"}],"off_ratio":45,"flashsale_info":[],"sales":262};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
XXL
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$42.10
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"3c53a8fd-fc22-4929-b3b6-e7674d1b4487","product_id":"6f0b4f8e-3471-41b2-8f4b-93fed66a6649","title":"XXL","weight_unit":"g","inventory_quantity":743,"sku":"","barcode":"","position":1,"option1":"XXL","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/67372dec789a864d41ac94b6070a40a8.jpeg","path":"67372dec789a864d41ac94b6070a40a8.jpeg","width":490,"height":508,"alt":"","aspect_ratio":0.9645669291338582},"wholesale_price":[{"price":42.1,"min_quantity":1}],"weight":"530","compare_at_price":"76.5","price":"42.1","retail_price":"76.5","available":true,"url":"\/products\/plus-lofts-hooded-jacket-hk6y?variant=3c53a8fd-fc22-4929-b3b6-e7674d1b4487","available_quantity":999999999,"options":[{"name":"Size","value":"XXL"}],"off_ratio":45,"flashsale_info":[],"sales":262};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.