plant-based hair-fixing and anti-loss shampoo
شامبو نباتي مثبت للشعر ومضاد للتساقط
${function() {
const variantData = data.variant || {"id":"a14bf527-c9f2-46e4-a887-dfdc9dc86115","product_id":"def8d3ec-9912-4a07-b739-ae257716c664","title":"1Pcs","weight_unit":"kg","inventory_quantity":0,"sku":"-1Pcs-A001582","barcode":"","position":1,"option1":"1Pcs","option2":"","option3":"","note":"\u80b2\u8349\u5802\u9632\u8131\u80b2\u53d1\u6d17\u53d1\u9732500g","image":{"src":"\/\/img.staticdj.com\/6e830b61032efc7376f8191c1a60b496.webp","path":"6e830b61032efc7376f8191c1a60b496.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.52,"min_quantity":1}],"weight":"0.6","compare_at_price":"132.53","price":"59.52","retail_price":"132.53","available":true,"url":"\/products\/plant-based-hair-fixing-and-anti-loss-shampoo?variant=a14bf527-c9f2-46e4-a887-dfdc9dc86115","available_quantity":999999999,"options":[{"name":"Specification","value":"1Pcs"}],"off_ratio":55,"flashsale_info":[],"sales":264};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Specification:
1Pcs
${function(){
const optName = "Specification";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "\u064a\u0631\u062c\u0649 \u062a\u062d\u062f\u064a\u062f {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
أضف إلى السلة
$59.52
${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":"a14bf527-c9f2-46e4-a887-dfdc9dc86115","product_id":"def8d3ec-9912-4a07-b739-ae257716c664","title":"1Pcs","weight_unit":"kg","inventory_quantity":0,"sku":"-1Pcs-A001582","barcode":"","position":1,"option1":"1Pcs","option2":"","option3":"","note":"\u80b2\u8349\u5802\u9632\u8131\u80b2\u53d1\u6d17\u53d1\u9732500g","image":{"src":"\/\/img.staticdj.com\/6e830b61032efc7376f8191c1a60b496.webp","path":"6e830b61032efc7376f8191c1a60b496.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.52,"min_quantity":1}],"weight":"0.6","compare_at_price":"132.53","price":"59.52","retail_price":"132.53","available":true,"url":"\/products\/plant-based-hair-fixing-and-anti-loss-shampoo?variant=a14bf527-c9f2-46e4-a887-dfdc9dc86115","available_quantity":999999999,"options":[{"name":"Specification","value":"1Pcs"}],"off_ratio":55,"flashsale_info":[],"sales":264};
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":"a14bf527-c9f2-46e4-a887-dfdc9dc86115","product_id":"def8d3ec-9912-4a07-b739-ae257716c664","title":"1Pcs","weight_unit":"kg","inventory_quantity":0,"sku":"-1Pcs-A001582","barcode":"","position":1,"option1":"1Pcs","option2":"","option3":"","note":"\u80b2\u8349\u5802\u9632\u8131\u80b2\u53d1\u6d17\u53d1\u9732500g","image":{"src":"\/\/img.staticdj.com\/6e830b61032efc7376f8191c1a60b496.webp","path":"6e830b61032efc7376f8191c1a60b496.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.52,"min_quantity":1}],"weight":"0.6","compare_at_price":"132.53","price":"59.52","retail_price":"132.53","available":true,"url":"\/products\/plant-based-hair-fixing-and-anti-loss-shampoo?variant=a14bf527-c9f2-46e4-a887-dfdc9dc86115","available_quantity":999999999,"options":[{"name":"Specification","value":"1Pcs"}],"off_ratio":55,"flashsale_info":[],"sales":264};
return `
`
}()}