The Eras Tour Butterflies Washed Sweatshirt
${function() {
const variantData = data.variant || {"id":"a1018547-5b30-4c6f-8d69-96155f33cc64","product_id":"13e470b9-84f1-46d1-8599-72ba1fb4726c","title":"Dark purple-S","weight_unit":"kg","inventory_quantity":1,"sku":"WL20230822078-Darkpurple-S","barcode":"","position":9,"option1":"Dark purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4be2ee09c29a3b8db41bdb3c663a5f6a.jpeg","path":"4be2ee09c29a3b8db41bdb3c663a5f6a.jpeg","width":750,"height":1000,"alt":"The Eras Tour Butterflies Washed Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"37.89","price":"25.99","retail_price":"37.89","available":true,"url":"\/products\/the-eras-tour-butterflies-washed-sweatshirt-k6zx?variant=a1018547-5b30-4c6f-8d69-96155f33cc64","available_quantity":999999999,"options":[{"name":"Color","value":"Dark purple"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":19};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Dark purple
${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
$25.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":"a1018547-5b30-4c6f-8d69-96155f33cc64","product_id":"13e470b9-84f1-46d1-8599-72ba1fb4726c","title":"Dark purple-S","weight_unit":"kg","inventory_quantity":1,"sku":"WL20230822078-Darkpurple-S","barcode":"","position":9,"option1":"Dark purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4be2ee09c29a3b8db41bdb3c663a5f6a.jpeg","path":"4be2ee09c29a3b8db41bdb3c663a5f6a.jpeg","width":750,"height":1000,"alt":"The Eras Tour Butterflies Washed Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"37.89","price":"25.99","retail_price":"37.89","available":true,"url":"\/products\/the-eras-tour-butterflies-washed-sweatshirt-k6zx?variant=a1018547-5b30-4c6f-8d69-96155f33cc64","available_quantity":999999999,"options":[{"name":"Color","value":"Dark purple"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":19};
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.