🔥HOT SALE🔥Velcro Wire Organizer
${function() {
const variantData = data.variant || {"id":"e5168ac5-355f-4398-83e1-c79a953d1ac5","product_id":"cb071335-1918-4d89-8e58-40c12c4e8ba5","title":"Light Green-1 Set(10 PCS)","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":6,"option1":"Light Green","option2":"1 Set(10 PCS)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ad1cc6e7eaaf09fcd052881c1645f10.webp","path":"5ad1cc6e7eaaf09fcd052881c1645f10.webp","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.65","price":"12.99","retail_price":"21.65","available":true,"url":"\/products\/hot-salevelcro-wire-organizer?variant=e5168ac5-355f-4398-83e1-c79a953d1ac5","available_quantity":999999999,"options":[{"name":"Color","value":"Light Green"},{"name":"Amount","value":"1 Set(10 PCS)"}],"off_ratio":40,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Light Green
${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}
`
}()}
Amount:
1 Set(10 PCS)
${function(){
const optName = "Amount";
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
$12.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":"e5168ac5-355f-4398-83e1-c79a953d1ac5","product_id":"cb071335-1918-4d89-8e58-40c12c4e8ba5","title":"Light Green-1 Set(10 PCS)","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":6,"option1":"Light Green","option2":"1 Set(10 PCS)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ad1cc6e7eaaf09fcd052881c1645f10.webp","path":"5ad1cc6e7eaaf09fcd052881c1645f10.webp","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.65","price":"12.99","retail_price":"21.65","available":true,"url":"\/products\/hot-salevelcro-wire-organizer?variant=e5168ac5-355f-4398-83e1-c79a953d1ac5","available_quantity":999999999,"options":[{"name":"Color","value":"Light Green"},{"name":"Amount","value":"1 Set(10 PCS)"}],"off_ratio":40,"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.