خاتم من مجموعة "ترينيتي"
ذهب أبيض، ذهب أصفر، ذهب وردي
${function() {
const variantData = data.variant || {"id":"b23e8ed4-be11-4a22-934e-ca12ed778620","product_id":"56ec7e03-2ac2-4713-a987-87b3722a7870","title":"6","weight_unit":"kg","inventory_quantity":-1,"sku":"CA55621555-1","barcode":"","position":1,"option1":"6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1482f307b66d822d6aebda747406c8a.png","path":"e1482f307b66d822d6aebda747406c8a.png","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":229,"min_quantity":1}],"weight":"0","compare_at_price":"1299","price":"229","retail_price":"1299","available":true,"url":"\/products\/\u062e\u0627\u062a\u0645-\u0645\u0646-\u0645\u062c\u0645\u0648\u0639\u0629-\u062a\u0631\u064a\u0646\u064a\u062a\u064a?variant=b23e8ed4-be11-4a22-934e-ca12ed778620","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":82,"flashsale_info":[],"sales":0};
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}
`
}()}
أضف إلى السلة
﷼229
${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":"b23e8ed4-be11-4a22-934e-ca12ed778620","product_id":"56ec7e03-2ac2-4713-a987-87b3722a7870","title":"6","weight_unit":"kg","inventory_quantity":-1,"sku":"CA55621555-1","barcode":"","position":1,"option1":"6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1482f307b66d822d6aebda747406c8a.png","path":"e1482f307b66d822d6aebda747406c8a.png","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":229,"min_quantity":1}],"weight":"0","compare_at_price":"1299","price":"229","retail_price":"1299","available":true,"url":"\/products\/\u062e\u0627\u062a\u0645-\u0645\u0646-\u0645\u062c\u0645\u0648\u0639\u0629-\u062a\u0631\u064a\u0646\u064a\u062a\u064a?variant=b23e8ed4-be11-4a22-934e-ca12ed778620","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"6"}],"off_ratio":82,"flashsale_info":[],"sales":0};
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 ? `
` : ' ';
}
}()}
اشتري الآن
كان المنتج غير متوفر.
المنتج غير متاح.