GAR BETHE Spring Cotton Pullover Sweatshirts Oversize Women O Neck Loose Long Sleeve Top Solid Oversized Unisex Shirt Sweatshirt Women
${function() {
const variantData = data.variant || {"id":"2dd0f50e-138e-48ce-8e15-988791469343","product_id":"3de5d888-3011-4a31-8845-702c5bcaeffe","title":"yellow-M 40-50KG","weight_unit":"kg","inventory_quantity":618,"sku":"","barcode":"","position":1,"option1":"yellow","option2":"M 40-50KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2638b1c2102794d73009fbad421c4a0d.jpeg","path":"2638b1c2102794d73009fbad421c4a0d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.6,"min_quantity":1}],"weight":"0.22","compare_at_price":"31","price":"18.6","retail_price":"31","available":true,"url":"\/products\/gar-bethe-spring-cotton-pullover-sweatshirts-oversize-women-o-neck-loose-long-sleeve-top-solid-oversized-unisex-shirt-sweatshirt-women?variant=2dd0f50e-138e-48ce-8e15-988791469343","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"M 40-50KG"}],"off_ratio":40,"flashsale_info":[],"sales":126};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
yellow
${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:
M 40-50KG
${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
$18.60
${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":"2dd0f50e-138e-48ce-8e15-988791469343","product_id":"3de5d888-3011-4a31-8845-702c5bcaeffe","title":"yellow-M 40-50KG","weight_unit":"kg","inventory_quantity":618,"sku":"","barcode":"","position":1,"option1":"yellow","option2":"M 40-50KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2638b1c2102794d73009fbad421c4a0d.jpeg","path":"2638b1c2102794d73009fbad421c4a0d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.6,"min_quantity":1}],"weight":"0.22","compare_at_price":"31","price":"18.6","retail_price":"31","available":true,"url":"\/products\/gar-bethe-spring-cotton-pullover-sweatshirts-oversize-women-o-neck-loose-long-sleeve-top-solid-oversized-unisex-shirt-sweatshirt-women?variant=2dd0f50e-138e-48ce-8e15-988791469343","available_quantity":999999999,"options":[{"name":"color","value":"yellow"},{"name":"size","value":"M 40-50KG"}],"off_ratio":40,"flashsale_info":[],"sales":126};
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.