GAR BETHE Spring And Autumn Fattening Plus Size Hooded Windbreaker
${function() {
const variantData = data.variant || {"id":"a489c43f-e704-4714-aa9f-07c7e4ab8e99","product_id":"aedba9d6-608c-4c59-a0f1-f2e7c0950b99","title":"ArmyGreen-2XL","weight_unit":"g","inventory_quantity":974,"sku":"","barcode":"","position":1,"option1":"ArmyGreen","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c72763d97d97e60fa487723fc841aa5e.jpeg","path":"c72763d97d97e60fa487723fc841aa5e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.5,"min_quantity":1}],"weight":"530","compare_at_price":"35","price":"24.5","retail_price":"35","available":true,"url":"\/products\/gar-bethe-spring-and-autumn-fattening-plus-size-hooded-windbreaker?variant=a489c43f-e704-4714-aa9f-07c7e4ab8e99","available_quantity":999999999,"options":[{"name":"Color","value":"ArmyGreen"},{"name":"Size","value":"2XL"}],"off_ratio":30,"flashsale_info":[],"sales":285};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
ArmyGreen
${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:
2XL
${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
$24.50
${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":"a489c43f-e704-4714-aa9f-07c7e4ab8e99","product_id":"aedba9d6-608c-4c59-a0f1-f2e7c0950b99","title":"ArmyGreen-2XL","weight_unit":"g","inventory_quantity":974,"sku":"","barcode":"","position":1,"option1":"ArmyGreen","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c72763d97d97e60fa487723fc841aa5e.jpeg","path":"c72763d97d97e60fa487723fc841aa5e.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.5,"min_quantity":1}],"weight":"530","compare_at_price":"35","price":"24.5","retail_price":"35","available":true,"url":"\/products\/gar-bethe-spring-and-autumn-fattening-plus-size-hooded-windbreaker?variant=a489c43f-e704-4714-aa9f-07c7e4ab8e99","available_quantity":999999999,"options":[{"name":"Color","value":"ArmyGreen"},{"name":"Size","value":"2XL"}],"off_ratio":30,"flashsale_info":[],"sales":285};
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.