SAYO TOMASYON Ice Silk Leisure Sports Short-sleeved T-shirt Shorts Two-piece Suit
${function() {
const variantData = data.variant || {"id":"10510a6b-57f8-4a39-94ac-405605bd9672","product_id":"a6062dfc-a518-4fb4-9682-73d47b2eeec6","title":"1 Style-2XL","weight_unit":"g","inventory_quantity":930,"sku":"","barcode":"","position":1,"option1":"1 Style","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab2004fe71fce2675ea294f419690563.jpeg","path":"ab2004fe71fce2675ea294f419690563.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.7,"min_quantity":1}],"weight":"540","compare_at_price":"32.7","price":"32.7","retail_price":"32.7","available":true,"url":"\/products\/sayo-tomasyon-ice-silk-leisure-sports-short-sleeved-t-shirt-shorts-two-piece-suit?variant=10510a6b-57f8-4a39-94ac-405605bd9672","available_quantity":999999999,"options":[{"name":"style","value":"1 Style"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":606};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
1 Style
${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:
2XL
${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
$32.70
${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":"10510a6b-57f8-4a39-94ac-405605bd9672","product_id":"a6062dfc-a518-4fb4-9682-73d47b2eeec6","title":"1 Style-2XL","weight_unit":"g","inventory_quantity":930,"sku":"","barcode":"","position":1,"option1":"1 Style","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab2004fe71fce2675ea294f419690563.jpeg","path":"ab2004fe71fce2675ea294f419690563.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.7,"min_quantity":1}],"weight":"540","compare_at_price":"32.7","price":"32.7","retail_price":"32.7","available":true,"url":"\/products\/sayo-tomasyon-ice-silk-leisure-sports-short-sleeved-t-shirt-shorts-two-piece-suit?variant=10510a6b-57f8-4a39-94ac-405605bd9672","available_quantity":999999999,"options":[{"name":"style","value":"1 Style"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":606};
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.