460 гр.
малка
Купи 2, вземи 1 безплатно
€8.94
r.json()).then(d => {
loading = false;
if(d.success) {
$store.cart.count = d.summary.count;
$dispatch('cart-updated');
$dispatch('toast', { message: d.message, type: 'success' });
try { if (window.gtmEnabled) window.dataLayer.push({ event: 'add_to_cart', currency: 'EUR', value: 8.94, items: [{ item_id: '789', item_name: 'Пица с пеперони и дърпано пилешко', price: 8.94, quantity: 1 }] }); if (window.fbqEnabled && typeof fbq === 'function') fbq('track', 'AddToCart', { content_name: 'Пица с пеперони и дърпано пилешко', content_ids: ['1346'], content_type: 'product', value: 8.94, currency: 'EUR' }); } catch(e) {}
} else {
$dispatch('toast', { message: d.message || 'Грешка', type: 'error' });
}
}).catch(() => {
loading = false;
$dispatch('toast', { message: 'Грешка при добавяне', type: 'error' });
});
}"
:disabled="loading"
class="relative bg-primary hover:bg-primary/90 text-white px-4 py-2.5 rounded text-sm font-medium disabled:cursor-wait transition-colors shrink-0 min-h-[44px] flex items-center justify-center">
Добави
740 гр.
голяма
Купи 2, вземи 1 безплатно
€9.97
r.json()).then(d => {
loading = false;
if(d.success) {
$store.cart.count = d.summary.count;
$dispatch('cart-updated');
$dispatch('toast', { message: d.message, type: 'success' });
try { if (window.gtmEnabled) window.dataLayer.push({ event: 'add_to_cart', currency: 'EUR', value: 9.97, items: [{ item_id: '789', item_name: 'Пица с пеперони и дърпано пилешко', price: 9.97, quantity: 1 }] }); if (window.fbqEnabled && typeof fbq === 'function') fbq('track', 'AddToCart', { content_name: 'Пица с пеперони и дърпано пилешко', content_ids: ['1347'], content_type: 'product', value: 9.97, currency: 'EUR' }); } catch(e) {}
} else {
$dispatch('toast', { message: d.message || 'Грешка', type: 'error' });
}
}).catch(() => {
loading = false;
$dispatch('toast', { message: 'Грешка при добавяне', type: 'error' });
});
}"
:disabled="loading"
class="relative bg-primary hover:bg-primary/90 text-white px-4 py-2.5 rounded text-sm font-medium disabled:cursor-wait transition-colors shrink-0 min-h-[44px] flex items-center justify-center">
Добави
1670 гр.
семейна
Купи 2, вземи 1 безплатно
€24.54
r.json()).then(d => {
loading = false;
if(d.success) {
$store.cart.count = d.summary.count;
$dispatch('cart-updated');
$dispatch('toast', { message: d.message, type: 'success' });
try { if (window.gtmEnabled) window.dataLayer.push({ event: 'add_to_cart', currency: 'EUR', value: 24.54, items: [{ item_id: '789', item_name: 'Пица с пеперони и дърпано пилешко', price: 24.54, quantity: 1 }] }); if (window.fbqEnabled && typeof fbq === 'function') fbq('track', 'AddToCart', { content_name: 'Пица с пеперони и дърпано пилешко', content_ids: ['1349'], content_type: 'product', value: 24.54, currency: 'EUR' }); } catch(e) {}
} else {
$dispatch('toast', { message: d.message || 'Грешка', type: 'error' });
}
}).catch(() => {
loading = false;
$dispatch('toast', { message: 'Грешка при добавяне', type: 'error' });
});
}"
:disabled="loading"
class="relative bg-primary hover:bg-primary/90 text-white px-4 py-2.5 rounded text-sm font-medium disabled:cursor-wait transition-colors shrink-0 min-h-[44px] flex items-center justify-center">
Добави