New 6in1 foldable wireless charger with blue tooth speaker alarm clock and pixel display perfect for nightstands and desks phone
${function() {
const variantData = data.variant || {"id":"576f2991-d497-43c1-9c88-e893211719c2","product_id":"74fa96fa-aabe-449f-9831-d852d90d510e","title":"Black-Universal","weight_unit":"kg","inventory_quantity":1212,"sku":"1601220168199_Black_Universal","barcode":"","position":1,"option1":"Black","option2":"Universal","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f528199add2c52b3310eb6ec2cfb0a2d.jpeg","path":"f528199add2c52b3310eb6ec2cfb0a2d.jpeg","width":250,"height":250,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.6","compare_at_price":"46.99","price":"32.99","retail_price":"46.99","available":true,"url":"\/products\/new-6in1-foldable-wireless-charger-with-blue-tooth-speaker-alarm-clock-and-pixel-display-perfect-for-nightstands-and-desks-phone?variant=576f2991-d497-43c1-9c88-e893211719c2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"Universal"}],"off_ratio":30,"flashsale_info":[],"sales":86};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black
${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:
Universal
${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
$32.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":"576f2991-d497-43c1-9c88-e893211719c2","product_id":"74fa96fa-aabe-449f-9831-d852d90d510e","title":"Black-Universal","weight_unit":"kg","inventory_quantity":1212,"sku":"1601220168199_Black_Universal","barcode":"","position":1,"option1":"Black","option2":"Universal","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f528199add2c52b3310eb6ec2cfb0a2d.jpeg","path":"f528199add2c52b3310eb6ec2cfb0a2d.jpeg","width":250,"height":250,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.6","compare_at_price":"46.99","price":"32.99","retail_price":"46.99","available":true,"url":"\/products\/new-6in1-foldable-wireless-charger-with-blue-tooth-speaker-alarm-clock-and-pixel-display-perfect-for-nightstands-and-desks-phone?variant=576f2991-d497-43c1-9c88-e893211719c2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"Universal"}],"off_ratio":30,"flashsale_info":[],"sales":86};
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 : 1601220168199_Black_Universal
Weight : 0.6kg
${function(){
const variantData = data.variant || {"id":"576f2991-d497-43c1-9c88-e893211719c2","product_id":"74fa96fa-aabe-449f-9831-d852d90d510e","title":"Black-Universal","weight_unit":"kg","inventory_quantity":1212,"sku":"1601220168199_Black_Universal","barcode":"","position":1,"option1":"Black","option2":"Universal","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f528199add2c52b3310eb6ec2cfb0a2d.jpeg","path":"f528199add2c52b3310eb6ec2cfb0a2d.jpeg","width":250,"height":250,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0.6","compare_at_price":"46.99","price":"32.99","retail_price":"46.99","available":true,"url":"\/products\/new-6in1-foldable-wireless-charger-with-blue-tooth-speaker-alarm-clock-and-pixel-display-perfect-for-nightstands-and-desks-phone?variant=576f2991-d497-43c1-9c88-e893211719c2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"Universal"}],"off_ratio":30,"flashsale_info":[],"sales":86};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}