خاتم من مجموعة "ترينيتي"، موديل الحجم الصغير
ذهب أبيض، ذهب أصفر، ذهب وردي، ماس
${function() {
const variantData = data.variant || {"id":"e0794643-801f-448b-9aa1-b9e2dad2dc89","product_id":"42bd3283-d3a0-41fc-a8c5-bed80bdb2b8c","title":"6","weight_unit":"kg","inventory_quantity":-26,"sku":"CA012555655-1","barcode":"","position":1,"option1":"6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/80574b6e17f987570d8caf4deac07b77.png","path":"80574b6e17f987570d8caf4deac07b77.png","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":239,"min_quantity":1}],"weight":"0","compare_at_price":"1499","price":"239","retail_price":"1499","available":true,"url":"\/products\/\u062e\u0627\u062a\u0645-\u0645\u0646-\u0645\u062c\u0645\u0648\u0639\u0629-\u062a\u0631\u064a\u0646\u064a\u062a\u064a\u060c-\u0645\u0648\u062f\u064a\u0644-\u0627\u0644\u062d\u062c\u0645-\u0627\u0644\u0635\u063a\u064a\u0631?variant=e0794643-801f-448b-9aa1-b9e2dad2dc89","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":84,"flashsale_info":[],"sales":18};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
مقاس:
6
${function(){
const optName = "مقاس";
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}
`
}()}
أضف إلى السلة
﷼239
${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":"e0794643-801f-448b-9aa1-b9e2dad2dc89","product_id":"42bd3283-d3a0-41fc-a8c5-bed80bdb2b8c","title":"6","weight_unit":"kg","inventory_quantity":-26,"sku":"CA012555655-1","barcode":"","position":1,"option1":"6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/80574b6e17f987570d8caf4deac07b77.png","path":"80574b6e17f987570d8caf4deac07b77.png","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":239,"min_quantity":1}],"weight":"0","compare_at_price":"1499","price":"239","retail_price":"1499","available":true,"url":"\/products\/\u062e\u0627\u062a\u0645-\u0645\u0646-\u0645\u062c\u0645\u0648\u0639\u0629-\u062a\u0631\u064a\u0646\u064a\u062a\u064a\u060c-\u0645\u0648\u062f\u064a\u0644-\u0627\u0644\u062d\u062c\u0645-\u0627\u0644\u0635\u063a\u064a\u0631?variant=e0794643-801f-448b-9aa1-b9e2dad2dc89","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":84,"flashsale_info":[],"sales":18};
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 ? `
` : ' ';
}
}()}
اشتري الآن
كان المنتج غير متوفر.
المنتج غير متاح.