19 Momme Silk Pajamas Traveling Set 4-Pack
${function() {
const variantData = data.variant || {"id":"58579bc4-a0ec-4ce4-b1fc-3278eac4437e","product_id":"72276695-5447-47b3-b97f-01238860d1ca","title":"S | 90-115lbs-Black-Twin","weight_unit":"kg","inventory_quantity":0,"sku":"SY-022-S-Black-Twin","barcode":"","position":1,"option1":"S | 90-115lbs","option2":"Black","option3":"Twin","note":"","image":{"src":"\/\/img.staticdj.com\/6e053642166455e14f5d38552c33ec92.png","path":"6e053642166455e14f5d38552c33ec92.png","width":1600,"height":1600,"alt":"19 Momme Silk Pajamas Traveling Set 4-Pack REAL SILK LIFE","aspect_ratio":1},"wholesale_price":[{"price":199,"min_quantity":1}],"weight":"0.5","compare_at_price":"199","price":"199","retail_price":"199","available":true,"url":"\/products\/silk-pajamas-traveling-set-4-pack?variant=58579bc4-a0ec-4ce4-b1fc-3278eac4437e","available_quantity":999999999,"options":[{"name":"Pajama Set Size","value":"S | 90-115lbs"},{"name":"Color","value":"Black"},{"name":"Pillowcase Size","value":"Twin"}],"off_ratio":0,"flashsale_info":[],"sales":1956};
const saveType = "percentage";
const productLabelDiscountOn = true;
const map = {
B: ` `,
C: ` `,
A: `
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`
}
const price_group_arr = ["B","C","A"];
const price_str_arr = price_group_arr.map(type => map[type]);
return `
-
${price_str_arr.join('')}
`;
}()}
Pajama Set Size
Pajama Set Size
S | 90-115lbs
M | 115-135lbs
L | 130-145lbs
XL | 145-160lbs
XXL | 160-170lbs
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Color:
Black
${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}
`
}()}
Pillowcase Size
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
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":"58579bc4-a0ec-4ce4-b1fc-3278eac4437e","product_id":"72276695-5447-47b3-b97f-01238860d1ca","title":"S | 90-115lbs-Black-Twin","weight_unit":"kg","inventory_quantity":0,"sku":"SY-022-S-Black-Twin","barcode":"","position":1,"option1":"S | 90-115lbs","option2":"Black","option3":"Twin","note":"","image":{"src":"\/\/img.staticdj.com\/6e053642166455e14f5d38552c33ec92.png","path":"6e053642166455e14f5d38552c33ec92.png","width":1600,"height":1600,"alt":"19 Momme Silk Pajamas Traveling Set 4-Pack REAL SILK LIFE","aspect_ratio":1},"wholesale_price":[{"price":199,"min_quantity":1}],"weight":"0.5","compare_at_price":"199","price":"199","retail_price":"199","available":true,"url":"\/products\/silk-pajamas-traveling-set-4-pack?variant=58579bc4-a0ec-4ce4-b1fc-3278eac4437e","available_quantity":999999999,"options":[{"name":"Pajama Set Size","value":"S | 90-115lbs"},{"name":"Color","value":"Black"},{"name":"Pillowcase Size","value":"Twin"}],"off_ratio":0,"flashsale_info":[],"sales":1956};
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 does not exist