Rose Leopard Patchwork Color Block Ribbed Long Sleeve Top
${function() {
const variantData = data.variant || {"id":"b25cb668-311e-4cfa-ad96-31a9444b3955","product_id":"2769cbff-ecf7-4a68-8730-ab3d90483355","title":"Rose-(US 4-6)S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1678331387172","barcode":"","position":1,"option1":"Rose","option2":"(US 4-6)S","option3":"","note":"","image":null,"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"8.63","price":"24.99","retail_price":"8.63","available":true,"url":"\/products\/rose-leopard-patchwork-color-block-ribbed-long-sleeve-top-8139?variant=b25cb668-311e-4cfa-ad96-31a9444b3955","available_quantity":1000,"options":[{"name":"Color","value":"Rose"},{"name":"Size","value":"(US 4-6)S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Rose
${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:
(US 4-6)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
£24.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":"b25cb668-311e-4cfa-ad96-31a9444b3955","product_id":"2769cbff-ecf7-4a68-8730-ab3d90483355","title":"Rose-(US 4-6)S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1678331387172","barcode":"","position":1,"option1":"Rose","option2":"(US 4-6)S","option3":"","note":"","image":null,"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"8.63","price":"24.99","retail_price":"8.63","available":true,"url":"\/products\/rose-leopard-patchwork-color-block-ribbed-long-sleeve-top-8139?variant=b25cb668-311e-4cfa-ad96-31a9444b3955","available_quantity":1000,"options":[{"name":"Color","value":"Rose"},{"name":"Size","value":"(US 4-6)S"}],"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.
${function(){
const variantData = data.variant || {"id":"b25cb668-311e-4cfa-ad96-31a9444b3955","product_id":"2769cbff-ecf7-4a68-8730-ab3d90483355","title":"Rose-(US 4-6)S","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1678331387172","barcode":"","position":1,"option1":"Rose","option2":"(US 4-6)S","option3":"","note":"","image":null,"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"8.63","price":"24.99","retail_price":"8.63","available":true,"url":"\/products\/rose-leopard-patchwork-color-block-ribbed-long-sleeve-top-8139?variant=b25cb668-311e-4cfa-ad96-31a9444b3955","available_quantity":1000,"options":[{"name":"Color","value":"Rose"},{"name":"Size","value":"(US 4-6)S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}