diff --git a/src/components/AddToCart/index.js b/src/components/AddToCart/index.js
index 1c0371b..c7f48db 100644
--- a/src/components/AddToCart/index.js
+++ b/src/components/AddToCart/index.js
@@ -15,7 +15,8 @@ const AddToCartCard = ({
showProduct,
productName,
productImg,
- productCat
+ productCat,
+ footer
}) =>{
const specialities = [
{
@@ -32,7 +33,8 @@ const AddToCartCard = ({
}
];
return(
-
+ <>
+
{
showProduct &&
@@ -58,6 +60,20 @@ const AddToCartCard = ({
{button}
+ {footer &&
+
+ {
+ footer == 'SendBack' &&
+ <>
+
+
+
بازگشت بی چون و چرا
+
ما خیلی خوب هستیم و دوستتون داریم در صورتی که از کالایی خوشتون نیومد میتونید بی قید و شرط بسش بدید
+
+ >
+ }
+
}
+ >
);
};
diff --git a/src/views/Product/Desktop/ProductOverAll/index.js b/src/views/Product/Desktop/ProductOverAll/index.js
index 2665049..f3d166e 100644
--- a/src/views/Product/Desktop/ProductOverAll/index.js
+++ b/src/views/Product/Desktop/ProductOverAll/index.js
@@ -118,7 +118,7 @@ export const ProductOverAll = ({
sendingTime={20}
numberOfSuggest={160}
profit={12000}
- showProduct
+ // showProduct
productCat={grades[book?.gradeId]}
productImg={`https://dnvn.ir/api/v1/file/${book?.fileIds}`}
productName={type === "digital"
@@ -147,6 +147,8 @@ export const ProductOverAll = ({
/>
}
+ footer='SendBack'
+
/>