Water Resistant Oversized Hooded Windbreaker Rain Jacket
${function() {
const variantData = data.variant || {"id":"05d91c49-96ec-437d-b773-bb05f362d685","product_id":"84c278c0-7ea4-428d-88fc-f53079b4cb87","title":"Light Gray-S","weight_unit":"kg","inventory_quantity":998,"sku":"'60317619960240","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f843fa6f0f2c16fe706cb2749f2c23a7.jpeg","path":"f843fa6f0f2c16fe706cb2749f2c23a7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"39.99","retail_price":"79.99","available":true,"url":"\/products\/water-resistant-oversized-hooded-windbreaker-rain-jacketefecb3fc-27f5-4434-bb80-1ff12603130498c894cc-be9c-486a-8f93-673758f1e984f9053d80-cfb3-4092-9e6b-6c0ef2457f43e57d704d-2ab3-4341-ae75-ae050bbff144?variant=05d91c49-96ec-437d-b773-bb05f362d685","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Light Gray
${function(){
const optName = "Color";
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}
`
}()}
Size:
S
${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
$39.99
${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":"05d91c49-96ec-437d-b773-bb05f362d685","product_id":"84c278c0-7ea4-428d-88fc-f53079b4cb87","title":"Light Gray-S","weight_unit":"kg","inventory_quantity":998,"sku":"'60317619960240","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f843fa6f0f2c16fe706cb2749f2c23a7.jpeg","path":"f843fa6f0f2c16fe706cb2749f2c23a7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"39.99","retail_price":"79.99","available":true,"url":"\/products\/water-resistant-oversized-hooded-windbreaker-rain-jacketefecb3fc-27f5-4434-bb80-1ff12603130498c894cc-be9c-486a-8f93-673758f1e984f9053d80-cfb3-4092-9e6b-6c0ef2457f43e57d704d-2ab3-4341-ae75-ae050bbff144?variant=05d91c49-96ec-437d-b773-bb05f362d685","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"05d91c49-96ec-437d-b773-bb05f362d685","product_id":"84c278c0-7ea4-428d-88fc-f53079b4cb87","title":"Light Gray-S","weight_unit":"kg","inventory_quantity":998,"sku":"'60317619960240","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f843fa6f0f2c16fe706cb2749f2c23a7.jpeg","path":"f843fa6f0f2c16fe706cb2749f2c23a7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"39.99","retail_price":"79.99","available":true,"url":"\/products\/water-resistant-oversized-hooded-windbreaker-rain-jacketefecb3fc-27f5-4434-bb80-1ff12603130498c894cc-be9c-486a-8f93-673758f1e984f9053d80-cfb3-4092-9e6b-6c0ef2457f43e57d704d-2ab3-4341-ae75-ae050bbff144?variant=05d91c49-96ec-437d-b773-bb05f362d685","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
`
}()}