Corrects the price formatting in HomeProduct by swapping minSellPrice and minDisplayPrice usage. Comments out the Physical SIM button in ProductDetailView, leaving only the eSIM option visible.
@@ -125,10 +125,10 @@ const HomeProduct = () => {
{p.areaName1}
</h3>
<p className="text-xs text-slate-400 line-through mb-1">
- {p.minSellPrice} {p.curency}
+ {formatNumber(p.minDisplayPrice)} {p.curency}
</p>
<p className="text-lg md:text-2xl font-black text-[#EE0434]">
- From {formatNumber(p.minDisplayPrice)} {p.curency}
+ From {formatNumber(p.minSellPrice)} {p.curency}
</div>
))}
@@ -371,7 +371,7 @@ const ProductDetailView: React.FC = () => {
>
eSIM
</button>
- <button
+ {/* <button
onClick={() => setSimType("Physical")}
className={`flex-1 py-3 md:py-4 rounded-xl font-black text-sm md:text-2xl transition-all ${
simType === "Physical"
@@ -380,7 +380,7 @@ const ProductDetailView: React.FC = () => {
}`}
Physical SIM
- </button>
+ </button> */}
<div className="space-y-4">