Skip to content

Commit 6b8b5a9

Browse files
authored
Merge pull request #11 from BeyteFlow/naheel0-whatsapp-test
Update WhatsApp number in ProductCard component
2 parents 85f290d + 939d9a9 commit 6b8b5a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/features/products/components/ProductGrid/ProductCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ProductCard: React.FC<{ product: Product }> = ({ product }) => {
88
const handleBuyNow = () => {
99
if (isComingSoon || isOutOfStock) return;
1010
const message = encodeURIComponent(`Hi ZAYQ! I'm interested in the ${product.name} (₹${product.price}). Is it in stock?`);
11-
window.open(`https://wa.me/91XXXXXXXXXX?text=${message}`, '_blank'); // Replace with your WhatsApp number
11+
window.open(`https://wa.me/917306912910?text=${message}`, '_blank'); // Replace with your WhatsApp number
1212
};
1313

1414
return (
@@ -67,4 +67,4 @@ const ProductCard: React.FC<{ product: Product }> = ({ product }) => {
6767
);
6868
};
6969

70-
export default ProductCard;
70+
export default ProductCard;

0 commit comments

Comments
 (0)