Skip to content

Commit

Permalink
do not show price for main variant, that is excluded from selling
Browse files Browse the repository at this point in the history
  • Loading branch information
malyMiso committed Aug 8, 2024
1 parent 42807c1 commit 3db2116
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const ProductListItem = forwardRef<HTMLLIElement, ProductItemProps>(
</div>

<div>
{visibleItemsConfig.price && (
{visibleItemsConfig.price && product.isMainVariant && !product.isSellingDenied && (
<ProductPrice
isPriceFromVisible={visibleItemsConfig.priceFromWord}
productPrice={product.price}
Expand Down

0 comments on commit 3db2116

Please sign in to comment.