MUX VIE Japanese And Korean Striped Solid Color Cotton And Linen Scarf
${function() {
const variantData = data.variant || {"id":"f5f9b68c-ad79-4366-9d6b-f5650be1a2e3","product_id":"3b8d3884-530d-4f0a-a760-b68d6f94feec","title":"Gray-190cmx80cm","weight_unit":"g","inventory_quantity":634,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"190cmx80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b49c6be81087b9f6b77b9f7a95395c12.jpeg","path":"b49c6be81087b9f6b77b9f7a95395c12.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"170","compare_at_price":"24.6","price":"16","retail_price":"24.6","available":true,"url":"\/products\/mux-vie-japanese-and-korean-striped-solid-color-cotton-and-linen-scarf-xnwb?variant=f5f9b68c-ad79-4366-9d6b-f5650be1a2e3","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Length CM","value":"190cmx80cm"}],"off_ratio":35,"flashsale_info":[],"sales":698};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
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}
`
}()}
Length Cm:
190cmx80cm
${function(){
const optName = "Length CM";
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
$16.00
${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":"f5f9b68c-ad79-4366-9d6b-f5650be1a2e3","product_id":"3b8d3884-530d-4f0a-a760-b68d6f94feec","title":"Gray-190cmx80cm","weight_unit":"g","inventory_quantity":634,"sku":"","barcode":"","position":1,"option1":"Gray","option2":"190cmx80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b49c6be81087b9f6b77b9f7a95395c12.jpeg","path":"b49c6be81087b9f6b77b9f7a95395c12.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"170","compare_at_price":"24.6","price":"16","retail_price":"24.6","available":true,"url":"\/products\/mux-vie-japanese-and-korean-striped-solid-color-cotton-and-linen-scarf-xnwb?variant=f5f9b68c-ad79-4366-9d6b-f5650be1a2e3","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Length CM","value":"190cmx80cm"}],"off_ratio":35,"flashsale_info":[],"sales":698};
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.