Cat print casual mid-length casual multi-pocket round neck knitted dress
${function() {
const variantData = data.variant || {"id":"86a6bebe-9a30-4f7f-8a39-f6d5005bd672","product_id":"2b1c1435-7723-4f6c-9a3d-d71a8fdc32d1","title":"GRAY WHITE-S(6-8)","weight_unit":"kg","inventory_quantity":995,"sku":"2059677722096-GRAY WHITE-S(6-8)","barcode":"","position":1,"option1":"GRAY WHITE","option2":"S(6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9020bca8ac0b981dee07a864efc013b6.jpeg","path":"9020bca8ac0b981dee07a864efc013b6.jpeg","width":750,"height":1000,"alt":"Cat Print Casual Mid - Length Multi - Pocket Round Neck Knitted Dress Gray White \/ S(6 - 8)","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"20.99","price":"24.99","retail_price":"20.99","available":true,"url":"\/products\/cat-print-casual-mid-length-casual-multi-pocket-round-neck-knitted-dress?variant=86a6bebe-9a30-4f7f-8a39-f6d5005bd672","available_quantity":999999999,"options":[{"name":"Color","value":"GRAY WHITE"},{"name":"Size","value":"S(6-8)"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
GRAY WHITE
${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(6-8)
${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":"86a6bebe-9a30-4f7f-8a39-f6d5005bd672","product_id":"2b1c1435-7723-4f6c-9a3d-d71a8fdc32d1","title":"GRAY WHITE-S(6-8)","weight_unit":"kg","inventory_quantity":995,"sku":"2059677722096-GRAY WHITE-S(6-8)","barcode":"","position":1,"option1":"GRAY WHITE","option2":"S(6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9020bca8ac0b981dee07a864efc013b6.jpeg","path":"9020bca8ac0b981dee07a864efc013b6.jpeg","width":750,"height":1000,"alt":"Cat Print Casual Mid - Length Multi - Pocket Round Neck Knitted Dress Gray White \/ S(6 - 8)","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"20.99","price":"24.99","retail_price":"20.99","available":true,"url":"\/products\/cat-print-casual-mid-length-casual-multi-pocket-round-neck-knitted-dress?variant=86a6bebe-9a30-4f7f-8a39-f6d5005bd672","available_quantity":999999999,"options":[{"name":"Color","value":"GRAY WHITE"},{"name":"Size","value":"S(6-8)"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.