خاتم من مجموعة "ترينيتي"، موديل الحجم الكبير جدًّا
ذهب أبيض، ذهب أصفر، ذهب وردي
${function() {
const variantData = data.variant || {"id":"fa52b9d0-913e-4dc7-86c3-a1630989de6e","product_id":"c150a07b-c27f-482e-938e-3854391dfead","title":"6","weight_unit":"kg","inventory_quantity":-8,"sku":"CA10322247-1","barcode":"","position":1,"option1":"6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8576e9ad387167d0d3a80949e33a742.png","path":"b8576e9ad387167d0d3a80949e33a742.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\u0643\u0628\u064a\u0631-\u062c\u062f\u0651\u064b\u0627-vxne?variant=fa52b9d0-913e-4dc7-86c3-a1630989de6e","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":84,"flashsale_info":[],"sales":1274};
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":"fa52b9d0-913e-4dc7-86c3-a1630989de6e","product_id":"c150a07b-c27f-482e-938e-3854391dfead","title":"6","weight_unit":"kg","inventory_quantity":-8,"sku":"CA10322247-1","barcode":"","position":1,"option1":"6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b8576e9ad387167d0d3a80949e33a742.png","path":"b8576e9ad387167d0d3a80949e33a742.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\u0643\u0628\u064a\u0631-\u062c\u062f\u0651\u064b\u0627-vxne?variant=fa52b9d0-913e-4dc7-86c3-a1630989de6e","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":84,"flashsale_info":[],"sales":1274};
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 ? `
` : ' ';
}
}()}
اشتري الآن
كان المنتج غير متوفر.
المنتج غير متاح.