Safety car pendant supplies Bodhi lotus
${function(){
const variantData = data.variant || {"id":"76eb4621-1a12-4354-9081-f483a05248be","product_id":"deaa67e9-5523-4fe8-86da-f672405fadcd","title":"Purple","weight_unit":"g","inventory_quantity":492,"sku":"CJFZ103501305EV","barcode":"","position":3,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed2d0d12319d6d37341c4df4c6dbed2e.jpeg","path":"ed2d0d12319d6d37341c4df4c6dbed2e.jpeg","width":790,"height":600,"alt":"","aspect_ratio":1.3166666666666667},"wholesale_price":[{"price":24.45,"min_quantity":1}],"weight":"40","compare_at_price":"0","price":"24.45","retail_price":"0","available":true,"url":"\/products\/safety-car-pendant-supplies-bodhi-lotus?variant=76eb4621-1a12-4354-9081-f483a05248be","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
`
}()}
${function() {
const variantData = data.variant || {"id":"76eb4621-1a12-4354-9081-f483a05248be","product_id":"deaa67e9-5523-4fe8-86da-f672405fadcd","title":"Purple","weight_unit":"g","inventory_quantity":492,"sku":"CJFZ103501305EV","barcode":"","position":3,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed2d0d12319d6d37341c4df4c6dbed2e.jpeg","path":"ed2d0d12319d6d37341c4df4c6dbed2e.jpeg","width":790,"height":600,"alt":"","aspect_ratio":1.3166666666666667},"wholesale_price":[{"price":24.45,"min_quantity":1}],"weight":"40","compare_at_price":"0","price":"24.45","retail_price":"0","available":true,"url":"\/products\/safety-car-pendant-supplies-bodhi-lotus?variant=76eb4621-1a12-4354-9081-f483a05248be","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Purple
${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}
`
}()}
Add to cart
$24.45
${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":"76eb4621-1a12-4354-9081-f483a05248be","product_id":"deaa67e9-5523-4fe8-86da-f672405fadcd","title":"Purple","weight_unit":"g","inventory_quantity":492,"sku":"CJFZ103501305EV","barcode":"","position":3,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed2d0d12319d6d37341c4df4c6dbed2e.jpeg","path":"ed2d0d12319d6d37341c4df4c6dbed2e.jpeg","width":790,"height":600,"alt":"","aspect_ratio":1.3166666666666667},"wholesale_price":[{"price":24.45,"min_quantity":1}],"weight":"40","compare_at_price":"0","price":"24.45","retail_price":"0","available":true,"url":"\/products\/safety-car-pendant-supplies-bodhi-lotus?variant=76eb4621-1a12-4354-9081-f483a05248be","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"}],"off_ratio":0,"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.