خاتم من مجموعة "ترينيتي"، موديل الحجم الكبير جدًّا
ذهب أبيض، ذهب أصفر، ذهب وردي
${function() {
const variantData = data.variant || {"id":"f7f6344f-f41e-4b87-b390-951c8593c46b","product_id":"12b5463d-16a5-4efb-920e-6df7e0df181c","title":"6","weight_unit":"kg","inventory_quantity":-361,"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":249,"min_quantity":1}],"weight":"0","compare_at_price":"1099","price":"249","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?variant=f7f6344f-f41e-4b87-b390-951c8593c46b","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":77,"flashsale_info":[],"sales":948};
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}
`
}()}
أضف إلى السلة
﷼249
${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":"f7f6344f-f41e-4b87-b390-951c8593c46b","product_id":"12b5463d-16a5-4efb-920e-6df7e0df181c","title":"6","weight_unit":"kg","inventory_quantity":-361,"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":249,"min_quantity":1}],"weight":"0","compare_at_price":"1099","price":"249","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?variant=f7f6344f-f41e-4b87-b390-951c8593c46b","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":77,"flashsale_info":[],"sales":948};
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 ? `
` : ' ';
}
}()}
اشتري الآن
كان المنتج غير متوفر.
المنتج غير متاح.