This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
[ZoneTransfer]
|
||||||
|
ZoneId=3
|
||||||
|
HostUrl=about:internet
|
||||||
@@ -36,7 +36,7 @@ interface ProductCardProps {
|
|||||||
promo_percent?: number;
|
promo_percent?: number;
|
||||||
}>;
|
}>;
|
||||||
hasVideo?: boolean;
|
hasVideo?: boolean;
|
||||||
videoUrl?: string;
|
videoUrl?: string; // ✨ Nouveau prop pour l'URL de la vidéo
|
||||||
categoryColor?: string;
|
categoryColor?: string;
|
||||||
coming_soon?: boolean;
|
coming_soon?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
// ============================================
|
// ============================================
|
||||||
// context/CartContext.tsx - QUANTITÉS EN GRAMMES
|
// 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 {
|
import {
|
||||||
createContext,
|
createContext,
|
||||||
@@ -344,3 +348,4 @@ export function CartProvider({ children }: { children: ReactNode }) {
|
|||||||
</CartContext.Provider>
|
</CartContext.Provider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user