Example Ad

23456789.00 ₹
Published date: 28/02/2026
Modified date: 01/03/2026
  • Location: Vill & Post Garkot Malla, Almora, Almora, Uttarakhand
Negotiable: Yes
Update the admin workflow so that when an Admin approves a request from the “Request Premium” tab, the system automatically performs the same logic as the “Manage Listings → Mark as Premium” action.

Specifically, upon approval:

Update the premium request status from pending to approved.

Trigger the existing “mark as premium” functionality used in Manage Listings (reuse the same service/function to avoid duplicate logic).

Set the listing’s isPremium (and related premium flags, if any) to true.

Apply any associated side effects such as setting premium duration, updating timestamps, or recalculating sorting priority.

Ensure the update is transactional so both the request status and listing premium state remain consistent. After approval, the listing should immediately reflect Premium/Featured badges across listing-card-list, listing-grid, latestItems, and the item detail page. Maintain proper permission checks so only admins can trigger this action, and prevent re-approving already approved requests.

Contact seller Share

Related listings

Comments

    No comments has been published yet
    You must be logged in to comment