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.

Controlled favourite action route only.

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.

Ready Favourite action route Procedure and table support detected
Logged out Account state Login required to save listings
0 Active saved rows Private to this account
Closed Watch and alert actions No notification or watch workflow here

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.

No listing selected. Load this isolated route with a public listing ID to test the save/unsave action. Example: /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.

Saved listings viewer Release 5A private viewer remains connected. Ready
Favourite action endpoint Release 5B isolated POST route. Ready
Public listing check Only approved public preview listings can be saved. Ready
Favourite procedure Uses tc_mpt_set_favourite only when explicitly posted. Ready
Messages placeholder Messaging remains closed. Ready
Offers placeholder Offers remain closed. Ready

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.

3 Public preview listings Read-only browse
1 Public sellers Seller profiles read-only
25 Active categories Category browse ready
0 Active tags Tag management closed

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.

Public listing buttons No save or unsave button is added to listing detail, browse cards, seller pages, or storefront pages yet.
Watch preferences Price changes, status changes, promotions, auction activity, and ending-soon alerts remain closed.
Notifications No event outbox, notification creation, email, SMS, or badge update is triggered from this route.
Messaging and offers No conversation, message, offer, bid, or negotiation action is available from this route.
Checkout and delivery No cart, checkout, payment, order, reservation, fulfilment, QuickTown Delivery, schema, seed, or launch action exists here.
Admin moderation No admin favourite management, bulk edit, restore, delete, export, or moderation action is opened here.