"use client"; import Image from "next/image"; import PersianNumber from "plugins/PersianNumber"; import React, { useContext, useState } from "react"; import p1 from "../../../public/images/product/1.png"; import AppContext from "@ctx/AppContext"; import Link from "next/link"; const CardCategories = ({ data }) => { const CTX = useContext(AppContext); const cart = CTX.state.cart; return (
اصالت کالا
{data.persianName}{" "}
{data.hasDiscount && ({" "} 3 عدد موجود انبار
)}+
-