خاتم من مجموعة "ترينيتي"، موديل الحجم الكبير جدًّا
ذهب أبيض، ذهب أصفر، ذهب وردي
${function() {
const variantData = data.variant || {"id":"17c1dce7-c00b-48a2-ab93-95849e775561","product_id":"9c6d6e22-c3cc-4670-a453-c6c12147a7df","title":"6","weight_unit":"kg","inventory_quantity":-270,"sku":"504157438","barcode":"","position":1,"option1":"6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42263e8cd8d97e29f5c4d7e280e616f3.jpg","path":"42263e8cd8d97e29f5c4d7e280e616f3.jpg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":239,"min_quantity":1}],"weight":"0","compare_at_price":"1099","price":"239","retail_price":"1099","available":true,"url":"\/products\/\u062e\u0627\u062a\u0645-\u0645\u0646-\u0645\u062c\u0645\u0648\u0639\u0629-\u062c\u0648\u0633\u062a-\u0622\u0646-\u0643\u0644\u0648-l68n-2qr4-sp9b-qeps-5h8b?variant=17c1dce7-c00b-48a2-ab93-95849e775561","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":78,"flashsale_info":[],"sales":903};
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":"17c1dce7-c00b-48a2-ab93-95849e775561","product_id":"9c6d6e22-c3cc-4670-a453-c6c12147a7df","title":"6","weight_unit":"kg","inventory_quantity":-270,"sku":"504157438","barcode":"","position":1,"option1":"6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42263e8cd8d97e29f5c4d7e280e616f3.jpg","path":"42263e8cd8d97e29f5c4d7e280e616f3.jpg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":239,"min_quantity":1}],"weight":"0","compare_at_price":"1099","price":"239","retail_price":"1099","available":true,"url":"\/products\/\u062e\u0627\u062a\u0645-\u0645\u0646-\u0645\u062c\u0645\u0648\u0639\u0629-\u062c\u0648\u0633\u062a-\u0622\u0646-\u0643\u0644\u0648-l68n-2qr4-sp9b-qeps-5h8b?variant=17c1dce7-c00b-48a2-ab93-95849e775561","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":78,"flashsale_info":[],"sales":903};
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 ? `
` : ' ';
}
}()}
اشتري الآن
كان المنتج غير متوفر.
المنتج غير متاح.