Halloween spooky spooky outdoor decorations
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"c2d76a94-338a-4887-86df-d070e2e8f8dd","product_id":"228d18f0-837a-4245-8177-9deb5a956554","title":"black ghost","weight_unit":"lb","inventory_quantity":999,"sku":"EJ2165822-\u9ed1\u8272\u5e7d\u7075\u5730\u63d2","barcode":"","position":1,"option1":"black ghost","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1f1cd389ca5de93acd652a6bf4b4e93.png","path":"a1f1cd389ca5de93acd652a6bf4b4e93.png","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"35.99","retail_price":"69.99","available":true,"url":"\/products\/halloween-spooky-spooky-outdoor-decorations-2?variant=c2d76a94-338a-4887-86df-d070e2e8f8dd","available_quantity":999999999,"options":[{"name":"Style\uff083PCS\uff09","value":"black ghost"}],"off_ratio":49,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style(3Pcs):
black ghost
${function(){
const optName = "Style(3PCS)";
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
$35.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":"c2d76a94-338a-4887-86df-d070e2e8f8dd","product_id":"228d18f0-837a-4245-8177-9deb5a956554","title":"black ghost","weight_unit":"lb","inventory_quantity":999,"sku":"EJ2165822-\u9ed1\u8272\u5e7d\u7075\u5730\u63d2","barcode":"","position":1,"option1":"black ghost","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1f1cd389ca5de93acd652a6bf4b4e93.png","path":"a1f1cd389ca5de93acd652a6bf4b4e93.png","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"35.99","retail_price":"69.99","available":true,"url":"\/products\/halloween-spooky-spooky-outdoor-decorations-2?variant=c2d76a94-338a-4887-86df-d070e2e8f8dd","available_quantity":999999999,"options":[{"name":"Style\uff083PCS\uff09","value":"black ghost"}],"off_ratio":49,"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.
${function(){
const variantData = data.variant || {"id":"c2d76a94-338a-4887-86df-d070e2e8f8dd","product_id":"228d18f0-837a-4245-8177-9deb5a956554","title":"black ghost","weight_unit":"lb","inventory_quantity":999,"sku":"EJ2165822-\u9ed1\u8272\u5e7d\u7075\u5730\u63d2","barcode":"","position":1,"option1":"black ghost","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a1f1cd389ca5de93acd652a6bf4b4e93.png","path":"a1f1cd389ca5de93acd652a6bf4b4e93.png","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"35.99","retail_price":"69.99","available":true,"url":"\/products\/halloween-spooky-spooky-outdoor-decorations-2?variant=c2d76a94-338a-4887-86df-d070e2e8f8dd","available_quantity":999999999,"options":[{"name":"Style\uff083PCS\uff09","value":"black ghost"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}