masoodafar-web 2874b931df
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 4m48s
feat: hide product prices from unauthenticated (guest) users
Guests can browse products and product details for presentation purposes,
but prices are hidden behind a 'وارد شوید' prompt (lock icon).
Authenticated users see prices as before.

Affected pages:
- Landing page (Index): top-selling regular + discount sections
- Store/Products list
- Store/ProductDetail (desktop price + mobile sticky bar)
- DiscountStore/Products list
- DiscountStore/ProductDetail (full price box)

Each code-behind now checks AuthService.IsAuthenticatedAsync() on init
and stores the result in _isAuthenticated for use in the template.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 19:58:28 +03:30
S
Description
No description provided
3.1 MiB
Languages
HTML 49.7%
C# 43.3%
CSS 5.4%
JavaScript 1.5%