diff --git a/app/components/product/BottomBar.tsx b/app/components/product/BottomBar.tsx index f6ae422..d5b00c2 100644 --- a/app/components/product/BottomBar.tsx +++ b/app/components/product/BottomBar.tsx @@ -62,8 +62,8 @@ interface AddToCartButtonProps { const AddToCartButton = ({ isOutOfStock, onClick }: AddToCartButtonProps) => ( )} + {/* Floating back button (mobile) */} + {!isOwner && ( + + )} {/* Info */}
+ {/* Brand row (mobile) — moved out of the top bar, sits below image */} + {!isOwner && product.seller?.username ? ( +
+ + + + {product.seller.username} + + + +
+ ) : null} {/* Seller (desktop) */} {!isOwner && product.seller?.username ? (
+ {/* Mobile: rating (only when > 0) */} + {!isOwner && avgRating > 0 ? ( +
+ + {[1, 2, 3, 4, 5].map((i) => ( + + ))} + + {avgRating.toFixed(1)} + + {reviewCount} دیدگاه +
+ ) : null} + {hasAnyStock ? ( <> {hasColorVariants && (