Previously the badge always showed next to the price for any per_100g product and never next to the weight at all. Adds two per-product checkboxes (show_estimate_badge_price, default on; show_estimate_badge_weight, default off) so the admin can turn either one on or off independently — covers a shashlik-style product where the weight itself is also just an estimate, not only the price. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| payments | ||
| static | ||
| templates/admin | ||
| utils | ||
| __init__.py | ||
| app.py | ||
| config.py | ||
| extensions.py | ||
| migrate.py | ||
| models.py | ||
| seed.py | ||