menu: on click on prduct open details as BS, also add redirect button to detials page if user click on redirect button
This commit is contained in:
@@ -85,10 +85,6 @@ export function AddToCartButton({ item }: { item: Product }) {
|
||||
message.warning(t("menu.restaurantIsClosed"));
|
||||
return;
|
||||
}
|
||||
if (restaurant && !restaurant.isOpened) {
|
||||
message.warning(t("menu.restaurantIsClosed"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (basicCartItem && basicCartItem.uniqueId) {
|
||||
if (basicCartItem.quantity > 1) {
|
||||
|
||||
Reference in New Issue
Block a user