Zip-Up Bodysuit-Buy more save more🔥
${function() {
const variantData = data.variant || {"id":"fa990f0a-968d-4a3c-accb-2ddfd7ca8b54","product_id":"93fe98cd-d6cc-4388-abe7-43d5ca69f7c6","title":"Black-UK6-8\/S","weight_unit":"kg","inventory_quantity":1000,"sku":"P-\u5851\u6027\u5185\u88638681-Black-UK6-8\/S-1","barcode":"","position":1,"option1":"Black","option2":"UK6-8\/S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f81cad2428f0dd3421b9bf3a995409ec.jpeg","path":"f81cad2428f0dd3421b9bf3a995409ec.jpeg","width":540,"height":674,"alt":"","aspect_ratio":0.8011869436201781},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"21.99","retail_price":"24.99","available":true,"url":"\/products\/zip-up-bodysuit424ec195-fc6c-4ce8-b3fc-6c678d713243?variant=fa990f0a-968d-4a3c-accb-2ddfd7ca8b54","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"UK6-8\/S"}],"off_ratio":12,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Black
${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:
UK6-8/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
$21.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":"fa990f0a-968d-4a3c-accb-2ddfd7ca8b54","product_id":"93fe98cd-d6cc-4388-abe7-43d5ca69f7c6","title":"Black-UK6-8\/S","weight_unit":"kg","inventory_quantity":1000,"sku":"P-\u5851\u6027\u5185\u88638681-Black-UK6-8\/S-1","barcode":"","position":1,"option1":"Black","option2":"UK6-8\/S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f81cad2428f0dd3421b9bf3a995409ec.jpeg","path":"f81cad2428f0dd3421b9bf3a995409ec.jpeg","width":540,"height":674,"alt":"","aspect_ratio":0.8011869436201781},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"21.99","retail_price":"24.99","available":true,"url":"\/products\/zip-up-bodysuit424ec195-fc6c-4ce8-b3fc-6c678d713243?variant=fa990f0a-968d-4a3c-accb-2ddfd7ca8b54","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"UK6-8\/S"}],"off_ratio":12,"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.