Halloween Lace Mesh Decoration Props Witch Hat
${function() {
const variantData = data.variant || {"id":"045a702c-04da-487d-ba37-2e422ad15458","product_id":"47c7bf8c-214c-4087-937a-e6e9b49afdfa","title":"Picture 1-One Size","weight_unit":"g","inventory_quantity":196,"sku":"SY2892-Picture 1-One Size","barcode":"","position":1,"option1":"Picture 1","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/18f967cf26156c48dea9dfd88f0ade00.png","path":"18f967cf26156c48dea9dfd88f0ade00.png","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":9.9,"min_quantity":1}],"weight":"44.8","compare_at_price":"25.9","price":"9.9","retail_price":"25.9","available":true,"url":"\/products\/halloween-lace-mesh-decoration-props-witch-hat?variant=045a702c-04da-487d-ba37-2e422ad15458","available_quantity":196,"options":[{"name":"color","value":"Picture 1"},{"name":"size","value":"One Size"}],"off_ratio":62,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Picture 1
${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:
One Size
${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
$9.90
${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":"045a702c-04da-487d-ba37-2e422ad15458","product_id":"47c7bf8c-214c-4087-937a-e6e9b49afdfa","title":"Picture 1-One Size","weight_unit":"g","inventory_quantity":196,"sku":"SY2892-Picture 1-One Size","barcode":"","position":1,"option1":"Picture 1","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/18f967cf26156c48dea9dfd88f0ade00.png","path":"18f967cf26156c48dea9dfd88f0ade00.png","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":9.9,"min_quantity":1}],"weight":"44.8","compare_at_price":"25.9","price":"9.9","retail_price":"25.9","available":true,"url":"\/products\/halloween-lace-mesh-decoration-props-witch-hat?variant=045a702c-04da-487d-ba37-2e422ad15458","available_quantity":196,"options":[{"name":"color","value":"Picture 1"},{"name":"size","value":"One Size"}],"off_ratio":62,"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.
Sku : SY2892-Picture 1-One Size
Weight : 44.8g
${function(){
const variantData = data.variant || {"id":"045a702c-04da-487d-ba37-2e422ad15458","product_id":"47c7bf8c-214c-4087-937a-e6e9b49afdfa","title":"Picture 1-One Size","weight_unit":"g","inventory_quantity":196,"sku":"SY2892-Picture 1-One Size","barcode":"","position":1,"option1":"Picture 1","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/18f967cf26156c48dea9dfd88f0ade00.png","path":"18f967cf26156c48dea9dfd88f0ade00.png","width":667,"height":890,"alt":"","aspect_ratio":0.749438202247191},"wholesale_price":[{"price":9.9,"min_quantity":1}],"weight":"44.8","compare_at_price":"25.9","price":"9.9","retail_price":"25.9","available":true,"url":"\/products\/halloween-lace-mesh-decoration-props-witch-hat?variant=045a702c-04da-487d-ba37-2e422ad15458","available_quantity":196,"options":[{"name":"color","value":"Picture 1"},{"name":"size","value":"One Size"}],"off_ratio":62,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}