خاتم ماجيك ألامبرا بتوين ذو فينغر
ذهب أبيض 18 قيراط، عرق اللؤلؤ
${function() {
const variantData = data.variant || {"id":"d9e80cc1-cf96-4719-8e73-01d746437884","product_id":"0125a163-a394-4651-b93a-b28d7dc8ae2f","title":"42","weight_unit":"kg","inventory_quantity":-5,"sku":"V143-42","barcode":"","position":1,"option1":"42","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":229,"min_quantity":1}],"weight":"0","compare_at_price":"1099","price":"229","retail_price":"1099","available":true,"url":"\/products\/magic-alhambra-ring-between-the-fingers-b5th-2080444?variant=d9e80cc1-cf96-4719-8e73-01d746437884","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"42"}],"off_ratio":79,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
مقاس:
42
${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":"d9e80cc1-cf96-4719-8e73-01d746437884","product_id":"0125a163-a394-4651-b93a-b28d7dc8ae2f","title":"42","weight_unit":"kg","inventory_quantity":-5,"sku":"V143-42","barcode":"","position":1,"option1":"42","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":229,"min_quantity":1}],"weight":"0","compare_at_price":"1099","price":"229","retail_price":"1099","available":true,"url":"\/products\/magic-alhambra-ring-between-the-fingers-b5th-2080444?variant=d9e80cc1-cf96-4719-8e73-01d746437884","available_quantity":999999999,"options":[{"name":"\u0645\u0642\u0627\u0633","value":"42"}],"off_ratio":79,"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 ? `
` : ' ';
}
}()}
اشتري الآن
كان المنتج غير متوفر.
المنتج غير متاح.