${function() {
const variantData = data.variant || {"id":"9572bc2c-8332-4c01-8181-e52b7b8a66c6","product_id":"5b95c58b-7371-46ef-af7c-fe72736f9f9e","title":"Blue-XS | 85-90lbs","weight_unit":"kg","inventory_quantity":0,"sku":"80011256-Blue-XS","barcode":"","position":1,"option1":"Blue","option2":"XS | 85-90lbs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d70fdf8021851c04d27fc61dd344982b.png","path":"d70fdf8021851c04d27fc61dd344982b.png","width":600,"height":800,"alt":"22 Momme Affordable Silk Matching Pajamas","aspect_ratio":0.75},"wholesale_price":[{"price":199,"min_quantity":1}],"weight":"0.4","compare_at_price":"259","price":"199","retail_price":"259","available":true,"url":"\/products\/affordable-silk-matching-pajamas?variant=9572bc2c-8332-4c01-8181-e52b7b8a66c6","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"XS | 85-90lbs"}],"off_ratio":23,"flashsale_info":[],"sales":1953};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = false;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Blue
${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
Size Guide
XS | 85-90lbs
S | 90-115lbs
M | 115-135lbs
L | 130-145lbs
XL | 145-160lbs
XXL | 160-170lbs
3XL | 170-185lbs
4XL | 185-200lbs
Size Customization | Contact Customer Service
${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.
Add to cart
$199.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":"9572bc2c-8332-4c01-8181-e52b7b8a66c6","product_id":"5b95c58b-7371-46ef-af7c-fe72736f9f9e","title":"Blue-XS | 85-90lbs","weight_unit":"kg","inventory_quantity":0,"sku":"80011256-Blue-XS","barcode":"","position":1,"option1":"Blue","option2":"XS | 85-90lbs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d70fdf8021851c04d27fc61dd344982b.png","path":"d70fdf8021851c04d27fc61dd344982b.png","width":600,"height":800,"alt":"22 Momme Affordable Silk Matching Pajamas","aspect_ratio":0.75},"wholesale_price":[{"price":199,"min_quantity":1}],"weight":"0.4","compare_at_price":"259","price":"199","retail_price":"259","available":true,"url":"\/products\/affordable-silk-matching-pajamas?variant=9572bc2c-8332-4c01-8181-e52b7b8a66c6","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"XS | 85-90lbs"}],"off_ratio":23,"flashsale_info":[],"sales":1953};
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.