remove price from website

This commit is contained in:
moaz_dw 2024-07-07 12:37:44 +03:00
parent 174a7b75f5
commit 174e4ad147
4 changed files with 11 additions and 10 deletions

View File

@ -61,15 +61,16 @@ const CardItem: React.FC<CartItemProps> = ({ data }) => {
<h6> <h6>
<FaTruck /> {t("Free Delivery")} <FaTruck /> {t("Free Delivery")}
</h6> </h6>
<div className="card_price">
{/* <p>
{price} {Currency}{" "}
</p> */}
<h6> <h6>
<MdOutlineVerified /> {t("Guaranteed")} <MdOutlineVerified /> {t("Guaranteed")}
</h6> </h6>
<div className="card_price">
<p>
{price} {Currency}{" "}
</p>
<div className="count_section"> <div className="count_section">
<FaRegTrashAlt <FaRegTrashAlt
onClick={() => { onClick={() => {

View File

@ -87,10 +87,10 @@ const CartWithDrawer = () => {
<p> <p>
{t("Grand Total")} {t("Grand Total")}
<br /> <br />
<span> {/* <span>
{" "} {" "}
{calculateTotalPrice()} {Currency}{" "} {calculateTotalPrice()} {Currency}{" "}
</span> </span> */}
</p> </p>
<Button <Button
className="cart_checkout_button" className="cart_checkout_button"

View File

@ -87,7 +87,7 @@ const ProductCard = ({ item }: { item: Product }) => {
{randomRate} <FaStar /> {randomRate} <FaStar />
</p> </p>
</div> */} </div> */}
<span>{discountAmount}%</span> {/* <span>{discountAmount}%</span> */}
<article> <article>
<button className="button" onClick={() => handleAddToCart(item)}> <button className="button" onClick={() => handleAddToCart(item)}>
<FaCartPlus /> <FaCartPlus />

View File

@ -17,9 +17,9 @@ const ProductInfo = (data:any) => {
<span> <span>
<h6>{t("Category")}</h6> <h5>{languageObject(productInfo?.category?.name)}</h5> <h6>{t("Category")}</h6> <h5>{languageObject(productInfo?.category?.name)}</h5>
</span> </span>
<span> {/* <span>
<h6>{t("Price")}</h6> <h5>{productInfo?.price}</h5> <h6>{t("Price")}</h6> <h5>{productInfo?.price}</h5>
</span> </span> */}
<span> <span>
<h6>{t("Description")}</h6> <h5>{languageObject(productInfo?.description)}</h5> <h6>{t("Description")}</h6> <h5>{languageObject(productInfo?.description)}</h5>
</span> </span>