Floaty 2 Piece Sleeved Trouser Set(Buy 2 Get Free Shipping)
${function() {
const variantData = data.variant || {"id":"81df9f30-a7ee-4bc9-a7a1-98fd39a3cb50","product_id":"b0bd3ff9-11f6-43d8-b39f-8ab966a6ba35","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"P--Khaki-S-1","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56c47e5e9082580077b846ef077ac99e.jpeg","path":"56c47e5e9082580077b846ef077ac99e.jpeg","width":603,"height":802,"alt":"","aspect_ratio":0.7518703241895262},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/floaty-2-piece-sleeved-trouser-set19da64e6-cd72-4e43-b121-507a83c5a761c4ae0fe3-5641-483d-8700-e10585d881a8d4d02ae4-7bef-4018-b604-7cb2f8c4581d?variant=81df9f30-a7ee-4bc9-a7a1-98fd39a3cb50","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Khaki
${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
$39.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":"81df9f30-a7ee-4bc9-a7a1-98fd39a3cb50","product_id":"b0bd3ff9-11f6-43d8-b39f-8ab966a6ba35","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"P--Khaki-S-1","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56c47e5e9082580077b846ef077ac99e.jpeg","path":"56c47e5e9082580077b846ef077ac99e.jpeg","width":603,"height":802,"alt":"","aspect_ratio":0.7518703241895262},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/floaty-2-piece-sleeved-trouser-set19da64e6-cd72-4e43-b121-507a83c5a761c4ae0fe3-5641-483d-8700-e10585d881a8d4d02ae4-7bef-4018-b604-7cb2f8c4581d?variant=81df9f30-a7ee-4bc9-a7a1-98fd39a3cb50","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"81df9f30-a7ee-4bc9-a7a1-98fd39a3cb50","product_id":"b0bd3ff9-11f6-43d8-b39f-8ab966a6ba35","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"P--Khaki-S-1","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56c47e5e9082580077b846ef077ac99e.jpeg","path":"56c47e5e9082580077b846ef077ac99e.jpeg","width":603,"height":802,"alt":"","aspect_ratio":0.7518703241895262},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/floaty-2-piece-sleeved-trouser-set19da64e6-cd72-4e43-b121-507a83c5a761c4ae0fe3-5641-483d-8700-e10585d881a8d4d02ae4-7bef-4018-b604-7cb2f8c4581d?variant=81df9f30-a7ee-4bc9-a7a1-98fd39a3cb50","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}