PLUS LOFTS Mens Pajamas Sets Home Suits Cute Rockets And Planets Sleepwear Loose Homewear Long-sleeved Casual Sets
${function() {
const variantData = data.variant || {"id":"1662b7ff-0a6f-48c0-ac3c-818ed5d989c6","product_id":"6c37541c-44de-4d14-b317-e8331f80d00e","title":"color4-S","weight_unit":"g","inventory_quantity":644,"sku":"","barcode":"","position":6,"option1":"color4","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4bab69a7746af7bdf4f56bb542738fc6.jpeg","path":"4bab69a7746af7bdf4f56bb542738fc6.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.1,"min_quantity":1}],"weight":"690","compare_at_price":"51.8","price":"31.1","retail_price":"51.8","available":true,"url":"\/products\/plus-lofts-mens-pajamas-sets-home-suits-cute-rockets-and-planets-sleepwear-loose-homewear-long-sleeved-casual-sets?variant=1662b7ff-0a6f-48c0-ac3c-818ed5d989c6","available_quantity":999999999,"options":[{"name":"Color","value":"color4"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":648};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
color4
${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:
S
${function(){
const optName = "Size";
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}
`
}()}
Add to cart
$31.10
${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":"1662b7ff-0a6f-48c0-ac3c-818ed5d989c6","product_id":"6c37541c-44de-4d14-b317-e8331f80d00e","title":"color4-S","weight_unit":"g","inventory_quantity":644,"sku":"","barcode":"","position":6,"option1":"color4","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4bab69a7746af7bdf4f56bb542738fc6.jpeg","path":"4bab69a7746af7bdf4f56bb542738fc6.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.1,"min_quantity":1}],"weight":"690","compare_at_price":"51.8","price":"31.1","retail_price":"51.8","available":true,"url":"\/products\/plus-lofts-mens-pajamas-sets-home-suits-cute-rockets-and-planets-sleepwear-loose-homewear-long-sleeved-casual-sets?variant=1662b7ff-0a6f-48c0-ac3c-818ed5d989c6","available_quantity":999999999,"options":[{"name":"Color","value":"color4"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":648};
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 is unavailable.