${function() {
const variantData = data.variant || {"id":"654b43f0-95ac-4b3b-9ead-174c141a0a2e","product_id":"68e29139-9cb9-40a2-b857-3b6cf3dea8f8","title":"40CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"40CM","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":470,"min_quantity":1}],"weight":"0","compare_at_price":"800","price":"470","retail_price":"800","available":true,"url":"\/products\/motion-sensor-under-cabinet-lights-3-color-temperatures-wireless-usb-rechargeable-night-light-indoor-closet-lights-stick-on-anywhere-magnetic-under-counter-light-fixtures-for-kitchen-cabinet-wardrobe-cupboard-stairs?variant=654b43f0-95ac-4b3b-9ead-174c141a0a2e","available_quantity":999999999,"options":[{"name":"Size","value":"40CM"}],"off_ratio":41,"flashsale_info":[],"sales":1024};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Size
: 40CM
${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
₵470.00
${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":"654b43f0-95ac-4b3b-9ead-174c141a0a2e","product_id":"68e29139-9cb9-40a2-b857-3b6cf3dea8f8","title":"40CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"40CM","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":470,"min_quantity":1}],"weight":"0","compare_at_price":"800","price":"470","retail_price":"800","available":true,"url":"\/products\/motion-sensor-under-cabinet-lights-3-color-temperatures-wireless-usb-rechargeable-night-light-indoor-closet-lights-stick-on-anywhere-magnetic-under-counter-light-fixtures-for-kitchen-cabinet-wardrobe-cupboard-stairs?variant=654b43f0-95ac-4b3b-9ead-174c141a0a2e","available_quantity":999999999,"options":[{"name":"Size","value":"40CM"}],"off_ratio":41,"flashsale_info":[],"sales":1024};
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 {
return `
`
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"654b43f0-95ac-4b3b-9ead-174c141a0a2e","product_id":"68e29139-9cb9-40a2-b857-3b6cf3dea8f8","title":"40CM","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"40CM","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":470,"min_quantity":1}],"weight":"0","compare_at_price":"800","price":"470","retail_price":"800","available":true,"url":"\/products\/motion-sensor-under-cabinet-lights-3-color-temperatures-wireless-usb-rechargeable-night-light-indoor-closet-lights-stick-on-anywhere-magnetic-under-counter-light-fixtures-for-kitchen-cabinet-wardrobe-cupboard-stairs?variant=654b43f0-95ac-4b3b-9ead-174c141a0a2e","available_quantity":999999999,"options":[{"name":"Size","value":"40CM"}],"off_ratio":41,"flashsale_info":[],"sales":1024};
return `
`
}()}
Free returns and exchanges