Women Lightweight Print Floral Pattern Scarf Shawl Fashion Scarves Sunscreen Shawls
${function() {
const variantData = data.variant || {"id":"f191b128-5a73-46e9-af42-f1127e91d93a","product_id":"7ac0dccb-5223-486c-b0b7-d4a3952c0c9b","title":"Daisy&beige","weight_unit":"kg","inventory_quantity":2,"sku":"11068-110","barcode":"","position":1,"option1":"Daisy&beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be594d22324a5c1c46a7b323cd5efaa1.jpeg","path":"be594d22324a5c1c46a7b323cd5efaa1.jpeg","width":1087,"height":1100,"alt":"","aspect_ratio":0.9881818181818182},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"28.99","price":"28.99","retail_price":"28.99","available":true,"url":"\/products\/women-lightweight-print-floral-pattern-scarf-shawl-fashion-scarves-sunscreen-shawls?variant=f191b128-5a73-46e9-af42-f1127e91d93a","available_quantity":2,"options":[{"name":"Color","value":"Daisy&beige"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Daisy&beige
${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}
`
}()}
Add to cart
$28.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":"f191b128-5a73-46e9-af42-f1127e91d93a","product_id":"7ac0dccb-5223-486c-b0b7-d4a3952c0c9b","title":"Daisy&beige","weight_unit":"kg","inventory_quantity":2,"sku":"11068-110","barcode":"","position":1,"option1":"Daisy&beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/be594d22324a5c1c46a7b323cd5efaa1.jpeg","path":"be594d22324a5c1c46a7b323cd5efaa1.jpeg","width":1087,"height":1100,"alt":"","aspect_ratio":0.9881818181818182},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"28.99","price":"28.99","retail_price":"28.99","available":true,"url":"\/products\/women-lightweight-print-floral-pattern-scarf-shawl-fashion-scarves-sunscreen-shawls?variant=f191b128-5a73-46e9-af42-f1127e91d93a","available_quantity":2,"options":[{"name":"Color","value":"Daisy&beige"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.
North America: 10-15 days;
Europe: 5-10 days;