[🔥Hot Sale🔥]Peeping On The Bookshelf Booknook
${function() {
const variantData = data.variant || {"id":"a31a869b-c623-44a9-9706-e758a379caa4","product_id":"45d5940a-916b-42c7-996f-1745f6c4ab66","title":"Werewolf","weight_unit":"kg","inventory_quantity":999,"sku":"sku2087619898583","barcode":"","position":1,"option1":"Werewolf","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/470da0ea7a1f4ceee745dcfc8fcbf540.jpeg","path":"470da0ea7a1f4ceee745dcfc8fcbf540.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"29.99","retail_price":"55","available":true,"url":"\/products\/f0-9f-94-a5buy-2-free-shipping-f0-9f-94-a5-peeping-on-the-bookshelf-booknookcb956d0b-43d8-473c-9a12-cc80358e3a9c55c67561-a913-4d2e-9824-02200956ea8059e17b6b-6488-49cc-96a9-d2f5ffa66914?variant=a31a869b-c623-44a9-9706-e758a379caa4","available_quantity":999999999,"options":[{"name":"Style","value":"Werewolf"}],"off_ratio":45,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Style:
Werewolf
${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}
`
}()}
Add to cart
$29.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":"a31a869b-c623-44a9-9706-e758a379caa4","product_id":"45d5940a-916b-42c7-996f-1745f6c4ab66","title":"Werewolf","weight_unit":"kg","inventory_quantity":999,"sku":"sku2087619898583","barcode":"","position":1,"option1":"Werewolf","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/470da0ea7a1f4ceee745dcfc8fcbf540.jpeg","path":"470da0ea7a1f4ceee745dcfc8fcbf540.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"29.99","retail_price":"55","available":true,"url":"\/products\/f0-9f-94-a5buy-2-free-shipping-f0-9f-94-a5-peeping-on-the-bookshelf-booknookcb956d0b-43d8-473c-9a12-cc80358e3a9c55c67561-a913-4d2e-9824-02200956ea8059e17b6b-6488-49cc-96a9-d2f5ffa66914?variant=a31a869b-c623-44a9-9706-e758a379caa4","available_quantity":999999999,"options":[{"name":"Style","value":"Werewolf"}],"off_ratio":45,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"a31a869b-c623-44a9-9706-e758a379caa4","product_id":"45d5940a-916b-42c7-996f-1745f6c4ab66","title":"Werewolf","weight_unit":"kg","inventory_quantity":999,"sku":"sku2087619898583","barcode":"","position":1,"option1":"Werewolf","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/470da0ea7a1f4ceee745dcfc8fcbf540.jpeg","path":"470da0ea7a1f4ceee745dcfc8fcbf540.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"29.99","retail_price":"55","available":true,"url":"\/products\/f0-9f-94-a5buy-2-free-shipping-f0-9f-94-a5-peeping-on-the-bookshelf-booknookcb956d0b-43d8-473c-9a12-cc80358e3a9c55c67561-a913-4d2e-9824-02200956ea8059e17b6b-6488-49cc-96a9-d2f5ffa66914?variant=a31a869b-c623-44a9-9706-e758a379caa4","available_quantity":999999999,"options":[{"name":"Style","value":"Werewolf"}],"off_ratio":45,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
`
}()}