${function() {
const variantData = data.variant || {"id":"f9b0a8fe-dbc2-4d06-8712-e44305610fad","product_id":"8391d5dd-f1d3-4c19-a3e1-5d4570b24788","title":"Blue-39.4","weight_unit":"kg","inventory_quantity":0,"sku":"ET-018-1","barcode":"","position":1,"option1":"Blue","option2":"39.4","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/678d0e2c6b0dd9a76aac74ee3b650eb1.jpeg","path":"678d0e2c6b0dd9a76aac74ee3b650eb1.jpeg","width":800,"height":800,"alt":"Classic Short Set Kid's Silk Pajamas Blue","aspect_ratio":1},"wholesale_price":[{"price":99,"min_quantity":1}],"weight":"0.5","compare_at_price":"159","price":"99","retail_price":"159","available":true,"url":"\/products\/classic-short-set-kids-silk-pajamas?variant=f9b0a8fe-dbc2-4d06-8712-e44305610fad","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"39.4"}],"off_ratio":38,"flashsale_info":[],"sales":1194};
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
39.4
43.3
47.2
51.2
55.1
59.1
${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
$99.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":"f9b0a8fe-dbc2-4d06-8712-e44305610fad","product_id":"8391d5dd-f1d3-4c19-a3e1-5d4570b24788","title":"Blue-39.4","weight_unit":"kg","inventory_quantity":0,"sku":"ET-018-1","barcode":"","position":1,"option1":"Blue","option2":"39.4","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/678d0e2c6b0dd9a76aac74ee3b650eb1.jpeg","path":"678d0e2c6b0dd9a76aac74ee3b650eb1.jpeg","width":800,"height":800,"alt":"Classic Short Set Kid's Silk Pajamas Blue","aspect_ratio":1},"wholesale_price":[{"price":99,"min_quantity":1}],"weight":"0.5","compare_at_price":"159","price":"99","retail_price":"159","available":true,"url":"\/products\/classic-short-set-kids-silk-pajamas?variant=f9b0a8fe-dbc2-4d06-8712-e44305610fad","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"39.4"}],"off_ratio":38,"flashsale_info":[],"sales":1194};
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.