update handleProductSelection
This commit is contained in:
parent
2aea225e2e
commit
682246675e
@ -309,7 +309,6 @@ export default class UserProductHandler {
|
||||
📦 Available: ${product.quantity_in_stock} pcs
|
||||
|
||||
Category: ${product.category_name}
|
||||
Subcategory: ${product.subcategory_name}
|
||||
`;
|
||||
|
||||
let photoMessageId = null;
|
||||
@ -340,7 +339,7 @@ Subcategory: ${product.subcategory_name}
|
||||
callback_game: product.quantity_in_stock <= 1 ? {} : null // Disabled if stock is 1 or less
|
||||
}
|
||||
],
|
||||
[{ text: '« Back', callback_data: `shop_category_${product.location_id}_${product.category_id}` }] // Возврат к категории
|
||||
[{ text: `« Back ${product.category_name}`, callback_data: `shop_category_${product.location_id}_${product.category_id}` }] // Возврат к категории
|
||||
]
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user