MarketPlaceTown - favourite action
Saved-listing action is isolated for testing.
This controlled Release 5B route opens the save and unsave action only inside this isolated endpoint. Listing cards, listing detail pages, seller pages, storefront pages, browse cards, messaging, offers, bids, checkout, orders, delivery, notifications, schema, seed, and launch remain closed.
This route is deliberately not connected to public listing buttons yet. Use it to test a selected listing by loading
this page with a listing ID, for example /MarketPlaceTown/actions/favorite-toggle.php?listing_id=1.
Once this route passes live testing, we can connect listing detail and browse cards in a later controlled release.
Release 5B test panel
Save or remove one selected public listing
This panel acts only on the listing selected in the route query. It validates login, CSRF, public listing eligibility, and the MarketPlaceTown favourite procedure before changing the saved state.
/MarketPlaceTown/actions/favorite-toggle.php?listing_id=1
Connected route state
Favourite action stays isolated from public pages
This route is installed and testable, but the public browse, listing detail, seller profile, storefront, and My Marketplace pages do not yet expose save/unsave buttons. That integration comes after this route passes live testing.
Marketplace readiness
Discovery remains public and safe
The action route can save or remove a public-preview listing for the signed-in account only. It does not open any watch, message, offer, checkout, order, delivery, notification, schema, seed, or launch workflow.
Still closed
Only the isolated save state changes here
The endpoint opens one controlled account-specific favourite toggle. Every adjacent workflow still needs its own controller route, authorization checks, moderation expectations, notification rules, and live test before approval.