Side Trunk PM M46815
${function() {
const variantData = data.variant || {"id":"fdd26d6a-b882-4b94-b63d-bb40e84250c6","product_id":"429a44e7-6124-4ca0-8b1a-48f65cf97bb6","title":"","weight_unit":"kg","inventory_quantity":5,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":189,"min_quantity":1}],"weight":"0","compare_at_price":"1689","price":"189","retail_price":"1689","available":true,"url":"\/products\/side-trunk-pm-m46815?variant=fdd26d6a-b882-4b94-b63d-bb40e84250c6","available_quantity":999999999,"options":[],"off_ratio":"89","flashsale_info":{"variant_id":"fdd26d6a-b882-4b94-b63d-bb40e84250c6","product_id":"","quantity":0,"discount_id":"682dc454-85e8-469c-be74-258067ba265d","limit_time":-1,"limit_buy":2,"user_limit_buy":2,"discount_sales":91,"discount_sales_rate":"84","discount_stock":17,"ends_at":-1,"starts_at":1710427228,"allow_oversold":"uncheck","allocation_method":"all","price":"189","compare_at_price":"1689","discount_price":"189","customary_saved_price":"1500","customary_off_ratio":"89","discount_saved_price":"1500","discount_off_ratio":"89","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"MASTER QUALITY","discount_quantity":0,"is_need_split":false},"sales":5};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Cash on delivery, 30 days no reason to return.
أضف إلى السلة
$189.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":"fdd26d6a-b882-4b94-b63d-bb40e84250c6","product_id":"429a44e7-6124-4ca0-8b1a-48f65cf97bb6","title":"","weight_unit":"kg","inventory_quantity":5,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":189,"min_quantity":1}],"weight":"0","compare_at_price":"1689","price":"189","retail_price":"1689","available":true,"url":"\/products\/side-trunk-pm-m46815?variant=fdd26d6a-b882-4b94-b63d-bb40e84250c6","available_quantity":999999999,"options":[],"off_ratio":"89","flashsale_info":{"variant_id":"fdd26d6a-b882-4b94-b63d-bb40e84250c6","product_id":"","quantity":0,"discount_id":"682dc454-85e8-469c-be74-258067ba265d","limit_time":-1,"limit_buy":2,"user_limit_buy":2,"discount_sales":91,"discount_sales_rate":"84","discount_stock":17,"ends_at":-1,"starts_at":1710427228,"allow_oversold":"uncheck","allocation_method":"all","price":"189","compare_at_price":"1689","discount_price":"189","customary_saved_price":"1500","customary_off_ratio":"89","discount_saved_price":"1500","discount_off_ratio":"89","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"MASTER QUALITY","discount_quantity":0,"is_need_split":false},"sales":5};
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 ? `
` : ' ';
}
}()}
اشتري الآن
كان المنتج غير متوفر.
المنتج غير متاح.
${function(){
const variantData = data.variant || {"id":"fdd26d6a-b882-4b94-b63d-bb40e84250c6","product_id":"429a44e7-6124-4ca0-8b1a-48f65cf97bb6","title":"","weight_unit":"kg","inventory_quantity":5,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":189,"min_quantity":1}],"weight":"0","compare_at_price":"1689","price":"189","retail_price":"1689","available":true,"url":"\/products\/side-trunk-pm-m46815?variant=fdd26d6a-b882-4b94-b63d-bb40e84250c6","available_quantity":999999999,"options":[],"off_ratio":"89","flashsale_info":{"variant_id":"fdd26d6a-b882-4b94-b63d-bb40e84250c6","product_id":"","quantity":0,"discount_id":"682dc454-85e8-469c-be74-258067ba265d","limit_time":-1,"limit_buy":2,"user_limit_buy":2,"discount_sales":91,"discount_sales_rate":"84","discount_stock":17,"ends_at":-1,"starts_at":1710427228,"allow_oversold":"uncheck","allocation_method":"all","price":"189","compare_at_price":"1689","discount_price":"189","customary_saved_price":"1500","customary_off_ratio":"89","discount_saved_price":"1500","discount_off_ratio":"89","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"MASTER QUALITY","discount_quantity":0,"is_need_split":false},"sales":5};
return `
`
}()}