Christmas "Jesus is the Reason of the Season" Letter Print Patterned Grey Contrast top and Black & Red Plaid Pants Family Matching Pajamas Set With Dog Bandana
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"1c1c29a8-27c5-448f-983f-be65e5e8c9d7","product_id":"70341c15-9d5d-453c-9c00-b1db63f81d0a","title":"\"Jesus is the Reason of the Season\" Letter Print-Baby*0-6M","weight_unit":"kg","inventory_quantity":1000,"sku":"A23072006-Baby*0-6M","barcode":"","position":1,"option1":"\"Jesus is the Reason of the Season\" Letter Print","option2":"Baby*0-6M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee773f461180a398c13cfeb1c94c50d0.jpeg","path":"ee773f461180a398c13cfeb1c94c50d0.jpeg","width":950,"height":950,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.99","retail_price":"0","available":true,"url":"\/products\/christmas-jesus-is-the-reason-of-the-season-letter-print-patterned-grey-contrast-top-and-black-red-plaid-pants-family-matching-pajamas-set-with-dog-bandana?variant=1c1c29a8-27c5-448f-983f-be65e5e8c9d7","available_quantity":999999999,"options":[{"name":"Style","value":"\"Jesus is the Reason of the Season\" Letter Print"},{"name":"Size","value":"Baby*0-6M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
"Jesus is the Reason of the Season" Letter Print
${function(){
const optName = "Style";
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:
Baby*0-6M
${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}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('30');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
Add to cart
$20.99
${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":"1c1c29a8-27c5-448f-983f-be65e5e8c9d7","product_id":"70341c15-9d5d-453c-9c00-b1db63f81d0a","title":"\"Jesus is the Reason of the Season\" Letter Print-Baby*0-6M","weight_unit":"kg","inventory_quantity":1000,"sku":"A23072006-Baby*0-6M","barcode":"","position":1,"option1":"\"Jesus is the Reason of the Season\" Letter Print","option2":"Baby*0-6M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee773f461180a398c13cfeb1c94c50d0.jpeg","path":"ee773f461180a398c13cfeb1c94c50d0.jpeg","width":950,"height":950,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.99","retail_price":"0","available":true,"url":"\/products\/christmas-jesus-is-the-reason-of-the-season-letter-print-patterned-grey-contrast-top-and-black-red-plaid-pants-family-matching-pajamas-set-with-dog-bandana?variant=1c1c29a8-27c5-448f-983f-be65e5e8c9d7","available_quantity":999999999,"options":[{"name":"Style","value":"\"Jesus is the Reason of the Season\" Letter Print"},{"name":"Size","value":"Baby*0-6M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.