SAYO TOMASYON Quick-drying Jogger Sports Suit
${function() {
const variantData = data.variant || {"id":"22f2732c-8867-4bfe-80da-1171701337d2","product_id":"311f0eb6-e21f-4086-836e-9d139c62c333","title":"Green-Long sleeve-L","weight_unit":"g","inventory_quantity":940,"sku":"","barcode":"","position":1,"option1":"Green","option2":"Long sleeve","option3":"L","note":"","image":{"src":"\/\/img.staticdj.com\/48009d4439d892b61b78883a5665a6cd.jpeg","path":"48009d4439d892b61b78883a5665a6cd.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.9,"min_quantity":1}],"weight":"330","compare_at_price":"30.9","price":"30.9","retail_price":"30.9","available":true,"url":"\/products\/sayo-tomasyon-quick-drying-jogger-sports-suit?variant=22f2732c-8867-4bfe-80da-1171701337d2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Style","value":"Long sleeve"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":742};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Green
${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}
`
}()}
Style:
Long sleeve
${function(){
const optName = "Style";
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:
L
${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
$30.90
${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":"22f2732c-8867-4bfe-80da-1171701337d2","product_id":"311f0eb6-e21f-4086-836e-9d139c62c333","title":"Green-Long sleeve-L","weight_unit":"g","inventory_quantity":940,"sku":"","barcode":"","position":1,"option1":"Green","option2":"Long sleeve","option3":"L","note":"","image":{"src":"\/\/img.staticdj.com\/48009d4439d892b61b78883a5665a6cd.jpeg","path":"48009d4439d892b61b78883a5665a6cd.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.9,"min_quantity":1}],"weight":"330","compare_at_price":"30.9","price":"30.9","retail_price":"30.9","available":true,"url":"\/products\/sayo-tomasyon-quick-drying-jogger-sports-suit?variant=22f2732c-8867-4bfe-80da-1171701337d2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Style","value":"Long sleeve"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":742};
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.