=== Butcher Order Portal === Tags: butcher, orders, wholesale, catalogue, production Requires at least: 6.4 Requires PHP: 7.4 Stable tag: trunk License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html One branded order portal with a Free plan and code-activated Pro features in the same plugin. == Free plan == * Professional owner dashboard and locked previews of Pro capabilities. * Simple order form with customer, delivery date, entered by, quantities and notes. * Company name and logo. * Manual product catalogue and standard order emails. * Owner-created basic portal logins with per-user access controls. * Standalone portal, optionally used as the website homepage. Order-only users open the form directly. Management pages and licence controls require the appropriate permission. Only WordPress administrators can manage licences or basic portal accounts. Orders are saved even if sending an email fails. "Passed to mail" means WordPress accepted the mail request; it does not verify inbox delivery. == Pro plan == All Pro code is included in this plugin and is loaded only with a valid activation code. No second plugin or Pro ZIP is required. * Rapid keyboard order entry and an Entered by field. * Product recognition for catalogue and clearly described unlisted products. * Customer cut specifications, linked customers and priorities. * Chicken/meat workboards and picker displays. * Chicken, Lamb, Beef and Other preparation totals. * Product progress cards with standard/special cuts and customer quantities. * Production team roles, CSV tools, portal design and email controls. * Maintenance and coming-soon modes. Ambiguous descriptions still require review. Recognition does not guarantee understanding every possible product or spelling. Different units are not added into a single misleading total. Preparation progress is currently tracked at whole-order status level; mixed-department orders are updated in All orders. == Installation and updating == 1. Upload this single ZIP in WordPress > Plugins > Add New > Upload Plugin. 2. If the older Free plugin is installed, choose Replace current with uploaded. The folder and main plugin file are unchanged. 3. Activate Butcher Order Portal. Free features work immediately. 4. The old Butcher Order Portal Pro add-on is automatically deactivated on this site. Do not reinstall it. Its files are left on disk; no orders or account records are deleted. 5. Open Butcher Order Entry. Set your company name, logo, recipients and homepage preference under Settings. 6. Add your products under Products and deactivate samples before live use. 7. Select Open portal for your standalone portal without the WordPress dashboard. Existing orders, WordPress accounts, production accounts, catalogue, customer cut rules, linked customers, company settings, saved portal page and licence/trial records retain their original database keys and tables. Existing valid activation codes continue to work. Updating does not restart a trial or reset passwords. For a network-wide older Pro installation, the unified plugin is automatically retired in its place only when this unified plugin is also network active. A site-only update suppresses the old handlers on that site without deactivating the older Pro add-on for other network sites. Network administrators should complete the update across their network. Multisite has not been tested on a running WordPress installation. == Activating Pro == 1. Open Licence (Plan & activation). 2. Copy the Website ID shown there and give it to your supplier when purchasing Pro. 3. Paste the supplied signed activation code and select Activate Pro. 4. Open Pro workspace. On a new installation, the WordPress administrator creates the first production owner login. For testing, select Generate test code, then paste the generated code into the same activation form. One seven-day test period is available per website. The test starts when the code is generated; regeneration or deactivation does not extend it. Paid codes are digitally signed, bound to the Website ID and may expire or be lifetime licences. Code activation is checked on the server. Query parameters, browser storage and plan labels cannot unlock premium routes. PHP OpenSSL is required to validate paid codes. Existing paid codes with older download claims remain valid; this version does not download or install code from those claims. On expiry or deactivation, Pro locks and Free remains available. Production data is retained for renewal. Basic WordPress portal logins and Pro production logins retain their existing identities and separate permission systems. Code activation grants features to the installation; it does not grant owner permissions to staff. The WordPress owner can manage production-owner recovery under Portal recovery while Pro is active. No payment processor, remote revocation or automatic-update service is connected. Suppliers issue signed codes using the separate private licence issuer after confirming payment. No private signing key is included in this customer plugin. An HTTPS purchase page can be supplied with the bop_upgrade_url filter; otherwise the page directs the owner to contact their supplier. == Cache settings == Exclude portal pages, the homepage if enabled, requests containing bop_basic_portal or bop_portal, and the butcher-order-portal REST namespace from page caching. The portal sends no-cache headers. A device must be online to save orders or update preparation status. == Changelog == = 1.1.0-beta.1 = * Combined Free and Pro in one plugin, preserving the existing Free plugin identity. * Bundled premium code behind server-side licence validation. * Removed the second-plugin installer and download requirement. * Retired legacy Pro callbacks before bootstrap to prevent duplicate menus and routes. * Preserved existing orders, accounts, licence records, cut rules and settings. * Retained rapid entry, Entered by, department recognition, special instructions and role restrictions. * Moved production owner recovery into the single plugin's administration. This is a beta release. Logic and packaging checks are included in development; activation and migration still need testing on a staging WordPress site.