${function() {
const variantData = data.variant || {"id":"2206c5a8-9254-40cd-aa15-4b5b9ea8dc88","product_id":"ae045ecc-3ad6-44bc-8962-a947317d09b2","title":"XS","weight_unit":"kg","inventory_quantity":0,"sku":"ALD005-XS","barcode":"","position":1,"option1":"XS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a3984d1b3fabf2c6bad155835414476.jpg","path":"9a3984d1b3fabf2c6bad155835414476.jpg","width":2625,"height":3500,"alt":"Plant Dyeing Artistic Floral Silk Pajamas","aspect_ratio":0.75},"wholesale_price":[{"price":209,"min_quantity":1}],"weight":"0.4","compare_at_price":"269","price":"209","retail_price":"269","available":false,"url":"\/products\/plant-dyeing-artistic-floral-silk-pajamas?variant=2206c5a8-9254-40cd-aa15-4b5b9ea8dc88","available_quantity":0,"options":[{"name":"Size","value":"XS"}],"off_ratio":22,"flashsale_info":[],"sales":1700};
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
${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
$209.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":"2206c5a8-9254-40cd-aa15-4b5b9ea8dc88","product_id":"ae045ecc-3ad6-44bc-8962-a947317d09b2","title":"XS","weight_unit":"kg","inventory_quantity":0,"sku":"ALD005-XS","barcode":"","position":1,"option1":"XS","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a3984d1b3fabf2c6bad155835414476.jpg","path":"9a3984d1b3fabf2c6bad155835414476.jpg","width":2625,"height":3500,"alt":"Plant Dyeing Artistic Floral Silk Pajamas","aspect_ratio":0.75},"wholesale_price":[{"price":209,"min_quantity":1}],"weight":"0.4","compare_at_price":"269","price":"209","retail_price":"269","available":false,"url":"\/products\/plant-dyeing-artistic-floral-silk-pajamas?variant=2206c5a8-9254-40cd-aa15-4b5b9ea8dc88","available_quantity":0,"options":[{"name":"Size","value":"XS"}],"off_ratio":22,"flashsale_info":[],"sales":1700};
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.