diff --git a/src/components/productDesign/ProductDesign.js b/src/components/productDesign/ProductDesign.js
index 96f2717..d20acc9 100644
--- a/src/components/productDesign/ProductDesign.js
+++ b/src/components/productDesign/ProductDesign.js
@@ -39,6 +39,7 @@ const ProductDesign = ({
horizontalImg,
rangeWidth,
addToCartHolder,
+ mainPriceTitle,
}) => {
const [progressFlag, setProgressFlag] = useState(false);
useEffect(() => {
@@ -88,10 +89,10 @@ const ProductDesign = ({
{/* product UI Design */}
-
+
{/* product image */}
@@ -161,9 +162,6 @@ const ProductDesign = ({
)}
-
{/* product content */}
@@ -207,18 +205,20 @@ const ProductDesign = ({
priceDirection.indexOf("col") !== -1 ? "inline" : "flex"
}`}
>
-
- قیمت
-
+ {mainPriceTitle && (
+
+ قیمت
+
+ )}
{/* price with line on it */}
{discountPrice && (
-
- 145تومان
+
+ قیمت 140تومان
)}
- 145.000تومان
+ 130.000تومان
{/* add to cart */}
@@ -257,6 +257,11 @@ const ProductDesign = ({
)}
+ {/* dark hover effect */}
+
+
@@ -283,6 +288,7 @@ ProductDesign.defaultProps = {
discount: true,
discountPricePercent: true,
// product price
+ mainPriceTitle: false,
discountPrice: true,
priceHolder: true,
diff --git a/src/components/vodProductDesign/VodProductDesign.js b/src/components/vodProductDesign/VodProductDesign.js
index 7340a13..30351e3 100644
--- a/src/components/vodProductDesign/VodProductDesign.js
+++ b/src/components/vodProductDesign/VodProductDesign.js
@@ -46,6 +46,7 @@ const VodProductDesign = ({
priceStarAlignment,
rangeWidth,
playBtnBgColor,
+ mainPriceTitle,
}) => {
const [progressFlag, setProgressFlag] = useState(false);
useEffect(() => {
@@ -199,15 +200,15 @@ const VodProductDesign = ({
)}
{discountPrice && (
-
- 145تومان
+
+ قیمت 140تومان
)}
- 145.000تومان
+ 111.000تومان
{/* add to cart */}
@@ -285,7 +286,7 @@ VodProductDesign.defaultProps = {
discount: true,
discountPricePercent: true,
// product price
- discountPrice: false,
+ discountPrice: true,
priceHolder: true,
priceTitle: false,