${function() {
const variantData = data.variant || {"id":"fe521c11-66e7-4077-ad6b-67a76b88997e","product_id":"32869818-628e-4e41-b3eb-19ad8090c5a4","title":"XS","weight_unit":"kg","inventory_quantity":0,"sku":"BSY9079-XS","barcode":"","position":1,"option1":"XS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3982db50799354d8be60ebb924826c79.png","path":"3982db50799354d8be60ebb924826c79.png","width":600,"height":800,"alt":"Silk T-shirt Printed Shirt REAL SILK LIFE","aspect_ratio":0.75},"wholesale_price":[{"price":85,"min_quantity":1}],"weight":"0.4","compare_at_price":"145","price":"85","retail_price":"145","available":false,"url":"\/products\/silk-t-shirt-printed-shirt?variant=fe521c11-66e7-4077-ad6b-67a76b88997e","available_quantity":0,"options":[{"name":"Size","value":"XS"}],"off_ratio":41,"flashsale_info":[],"sales":1433};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Size
Size Guide
XS
S
M
L
XL
XXL
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
It is best to provide your height and weight so that we can send
you the size that best suits you. If you need a customized size, please contact us at customerservice@realsilklife.com.
Sold out
$85.00
${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":"fe521c11-66e7-4077-ad6b-67a76b88997e","product_id":"32869818-628e-4e41-b3eb-19ad8090c5a4","title":"XS","weight_unit":"kg","inventory_quantity":0,"sku":"BSY9079-XS","barcode":"","position":1,"option1":"XS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3982db50799354d8be60ebb924826c79.png","path":"3982db50799354d8be60ebb924826c79.png","width":600,"height":800,"alt":"Silk T-shirt Printed Shirt REAL SILK LIFE","aspect_ratio":0.75},"wholesale_price":[{"price":85,"min_quantity":1}],"weight":"0.4","compare_at_price":"145","price":"85","retail_price":"145","available":false,"url":"\/products\/silk-t-shirt-printed-shirt?variant=fe521c11-66e7-4077-ad6b-67a76b88997e","available_quantity":0,"options":[{"name":"Size","value":"XS"}],"off_ratio":41,"flashsale_info":[],"sales":1433};
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 {
return `
`
}
}()}
Buy now
Product was out of stock.
Product is unavailable.