This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[ZoneTransfer]
|
||||
ZoneId=3
|
||||
HostUrl=about:internet
|
||||
@@ -36,7 +36,7 @@ interface ProductCardProps {
|
||||
promo_percent?: number;
|
||||
}>;
|
||||
hasVideo?: boolean;
|
||||
videoUrl?: string;
|
||||
videoUrl?: string; // ✨ Nouveau prop pour l'URL de la vidéo
|
||||
categoryColor?: string;
|
||||
coming_soon?: boolean;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
// ============================================
|
||||
// context/CartContext.tsx - QUANTITÉS EN GRAMMES
|
||||
// ============================================
|
||||
// ✅ quantity = grammes choisis (5, 10, 25, etc.)
|
||||
// ✅ Pas de boutons +/- dans le panier
|
||||
// ✅ Pour acheter 2× le même produit, l'ajouter 2 fois
|
||||
|
||||
import {
|
||||
createContext,
|
||||
@@ -344,3 +348,4 @@ export function CartProvider({ children }: { children: ReactNode }) {
|
||||
</CartContext.Provider>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user