وضاحت
PFH Shop Manager provides a branded portal at /pfh-shop-manager/ for managing one WooCommerce shop.
Version 0.4.37 includes:
- Product creation and editing, including prices, descriptions, stock and dimensions.
- Local product image upload to the WordPress media library.
- Optional, manually entered product SKUs with duplicate protection.
- Product categories and shipping classes.
- Shipping zones and common shipping display settings.
- WooCommerce-compatible product CSV templates, imports and exports.
- Sales reports showing gross, tax, net and refunds, with CSV export.
- Customer value rankings with purchase categories, search, filtering and CSV export.
- Best Seller rankings by accumulated product sales value or quantity sold.
- Sales forecasts for standard orders and YITH deposit/balance orders, including a monthly Net/VAT/Gross line graph.
- Potential-sales reporting, CSV/PDF exports and scheduled sales forecast emails.
- COGS entry management for WooCommerce stores with Cost of Goods Sold enabled.
- COGS profitability on the COGS screen, showing accumulated net revenue, total COGS, profit and margin.
- Shop Manager, Shop Assistant and Accountant user roles.
- Permission-protected login and explicit logout activity for portal users, retained for 90 days.
- Configurable inactivity timeouts with a pre-logout warning and stay-signed-in action.
- A built-in help library.
- High-Performance Order Storage compatibility.
PFH Shop Manager accounts are standard WordPress accounts. Passwords remain protected by WordPress authentication, while non-administrator PFH Shop Manager users are redirected away from the normal WordPress dashboard.
Development and source
The human-readable source used to build this plugin is included in the plugin package. The frontend source is assets/app.js; the versioned assets/app-0.4.37.js file is a release copy of the same source used for cache busting. No npm, webpack or minification step is required. Release packages are built from this repository with scripts/build-release.ps1.
تصوير



انسٽاليشن
- In WordPress, open Plugins > Add New > Upload Plugin.
- Select the PFH Shop Manager ZIP file and activate it.
- Create users under the PFH Shop Manager Users screen, or assign one of the PFH Shop Manager roles to an existing WordPress user.
- Open https://your-shop.example/pfh-shop-manager/.
Administrators automatically receive access to every PFH Shop Manager screen. Administrators retain normal WordPress dashboard access.
جائزا
ھن پلگ ان لاءِ ڪي به رايا ناھن.
تعاون ڪندڙ & ڊولپرز
ترجمو ڪريو “PFH Shop Manager” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
0.4.37
- Shows legacy Woo Shop Manager role assignments on the PFH Shop Manager Users screen.
- Maps legacy built-in staff roles to the current PFH Shop Manager groups for safe display and editing.
- Updates the cache-busting portal script filename for the 0.4.37 release.
0.4.36
- Reflects PFH Shop Manager role assignments made in WordPress Admin on the portal Users screen.
- Adds a Users refresh action for pulling in WP Admin role changes without leaving the portal.
- Updates the cache-busting portal script filename for the 0.4.36 release.
0.4.35
- Adds a COGS product status filter for published products, draft products, or both.
- Updates the cache-busting portal script filename for the 0.4.35 release.
0.4.34
- Orders COGS tours by the date prefix in the SKU, earliest tour first.
- Updates the cache-busting portal script filename for the 0.4.34 release.
0.4.33
- Renames the COGS profitability summary labels to Profit and Margin.
- Updates the cache-busting portal script filename for the 0.4.33 release.
0.4.32
- Clarifies COGS profitability as accumulated net revenue from net sales minus total COGS net per tour.
- Updates the cache-busting portal script filename for the 0.4.32 release.
0.4.31
- Shows the latest products first in the COGS product dropdown.
- Updates the cache-busting portal script filename for the 0.4.31 release.
0.4.30
- Adds selected-product COGS profitability with net revenue, profit and margin percentage.
- Updates the cache-busting portal script filename for the 0.4.30 release.
0.4.29
- Allows the sidebar menu to scroll without clipping the footer links.
- Updates the cache-busting portal script filename for the 0.4.29 release.
0.4.28
- Changes the COGS product picker to a dropdown of available products.
- Updates the cache-busting portal script filename for the 0.4.28 release.
0.4.27
- Adds a COGS portal screen for WooCommerce stores with Cost of Goods Sold enabled.
- Allows dated product COGS rows with reference, description, net, tax and gross values.
- Syncs WooCommerce’s native product COGS value from the saved net COGS total.
0.4.26
- Updates the public plugin branding to PFH Shop Manager.
- Updates the cache-busting portal script filename for the 0.4.26 release.
0.4.25
- Adds a WordPress admin menu shortcut that opens the PFH Shop Manager portal.
- Updates the cache-busting portal script filename for the 0.4.25 release.
0.4.24
- Rebrands the plugin, package slug, text domain and portal URL to PFH Shop Manager.
- Keeps the former /shop-manager-for-woocommerce/, /wc-shop-manager/ and /woo-shop-manager/ portal routes available as compatibility routes.
- Updates the cache-busting portal script filename for the 0.4.24 release.
0.4.23
- Hardens product image uploads and report error messages before WordPress.org submission.
- Adds Import / Export options for product custom fields using Meta: CSV columns.
- Adds a monthly Sales Forecast graph with separate Net, VAT and Gross lines by payment due month.
- Ships PFH Shop Manager as a single full-featured loss-leader plugin without edition package branding.
- Sends WordPress dashboard logins for PFH Shop Manager users back to the portal.
- Updates the cache-busting portal script filename for the 0.4.23 release.
0.4.22
- Packages PFH Shop Manager 0.4.22 with the full current feature set.
- Enables reports and import/export features in the full-featured build.
0.4.21
- Adds customer account creation from the Customers screen.
- Sends new customers an account setup email with a secure password link.
- Adds REST and frontend regression coverage for customer account creation.
0.4.20
- Adds configurable inactivity-based session timeouts under Users and groups.
- Warns users before automatic logout and requires Stay signed in to extend the session.
- Enforces expiry server-side for portal loads and REST requests, with regression coverage.
0.4.19
- Prevents store theme table and form-control borders from leaking into PFH Shop Manager.
- Keeps portal table dividers and search/form focus states neutral, using the PFH Shop Manager green accent.
- Adds frontend regression coverage for inherited table and form-control border resets.
0.4.18
- Keeps the sidebar Sign out action readable on hover and keyboard focus.
- Styles Sign out as a compact high-contrast sidebar action.
- Adds frontend regression coverage for the sign-out hover and focus state.
0.4.17
- Sends new PFH Shop Manager users directly to a branded, one-time password setup page.
- Adds branded password request, reset, expired-link and completion states to the portal.
- Keeps password key validation and password changes delegated to WordPress core.
0.4.16
- Adds permanent deletion for PFH Shop Manager users from the Users screen.
- Preserves authored content and prevents deletion of administrators, mixed-role accounts and the signed-in user.
- Adds frontend and PHP regression coverage for the deletion flow and authorization boundaries.
0.4.15
- Adds successful login and explicit logout activity to the Users screen.
- Restricts activity access to user managers and retains events for 90 days without storing IP addresses.
- Adds pagination, event filtering, user search and regression coverage for activity logging.
0.4.14
- Prevents YITH balance orders from duplicating Best Sellers quantities and booking counts.
- Preserves deposit and completed balance payments in accumulated sales value.
- Adds regression coverage for current and legacy YITH balance-order markers.
0.4.13
- Removes an admin-only WordPress helper from the frontend portal template.
- Prevents sales forecast schedule markup from terminating portal rendering before scripts load.
- Adds a regression check for admin-only template helpers on the frontend route.
0.4.12
- Enforces the portal request deadline with a promise race, even when the browser does not reject an aborted fetch.
- Adds an executable regression using a request that deliberately never resolves.
- Uses a fresh script filename to bypass stale intermediary caches.
0.4.11
- Gives portal API requests a deadline instead of leaving Products permanently loading.
- Shows an immediate product-table loading state and an actionable retry control after failures.
- Uses a new script filename to bypass stale intermediary caches.
0.4.10
- Starts from authenticated portal markup rather than the cache-sensitive localized login flag.
- Uses a new script filename with WP Rocket and Cloudflare bypass attributes.
- Server-renders the signed-in user and keeps initialization failures visible for diagnosis.
0.4.9
- Rebuilt directly from the proven 0.4.3 frontend plus the 0.4.4 security fixes.
- Kept startup compatible with cached 0.4.3 portal markup so Products always begins loading.
0.4.4
- Prevented delegated user managers from creating or modifying WordPress administrators.
- Separated sales forecast schedule management from report-view permission.
- Moved generated report attachments out of public uploads and strengthened cleanup.
- Neutralized spreadsheet formulas in every CSV export.
- Added bounded CSV import, remote-image, catalog-export and report-generation workloads.
- Added anti-framing headers to the management portal.
0.4.1
- Recalculated customer value, orders, items, ranking and last purchase for the selected purchase category.
- Updated customer CSV exports to use the selected category totals.
0.4.0
- Added an all-time Best Sellers report ranked by accumulated value or net quantity sold.
- Added SKU, order count, average item value, categories, search and category filtering.
- Accounted for product-level refunds and added CSV export and a dedicated group permission.
0.3.0
- Added an all-time purchasing-customer report ranked by accumulated net order value.
- Added customer names, email addresses, order/item counts, last purchase and product categories.
- Added customer search, category filtering, CSV export and a dedicated group permission.
0.2.1
- Added editable user groups backed by native WordPress roles and capabilities.
- Added custom group creation, permission selection and safe deletion.
- Added safeguards for assigned groups, built-in groups and self-lockout.
0.2.0
- Integrated Sales Forecast into the permission-controlled portal.
- Added received, expected and overdue summaries, detailed payment rows and potential sales by product.
- Added CSV/PDF exports and daily, weekly or monthly scheduled email reports.
- Added Sales Forecast access for Shop Managers, Accountants and administrators.
0.1.15
- Removed automatic SKU generation so SKUs are entered manually or left blank.
0.1.14
- Added editable category slugs with a warning that changing a slug changes the category URL.
0.1.13
- Deducted refunds from reported Gross sales.
- Deducted refunded VAT from Tax before calculating Net sales.
0.1.12
- Corrected PDF invoice nonce URLs so WordPress no longer reports fresh links as expired.
0.1.11
- Linked sales report order numbers to permission-protected PDF invoices.
- Added a responsive in-app PDF invoice popup viewer.
0.1.10
- Displayed decoded ampersands and other HTML entities correctly in product names.
0.1.9
- Formatted all monetary values in sales CSV exports to exactly two decimal places.
0.1.8
- Prevented site theme hover styles from hiding shipping tab labels.
0.1.7
- Replaced product pagination text glyphs with reliable SVG chevrons.
0.1.6
- Added optional welcome emails for newly created PFH Shop Manager users.
- Welcome emails include the username, access level, portal URL and secure password-reset link.
0.1.5
- Split sales reports into small browser-managed requests to prevent hosting timeouts.
- Isolated malformed historical orders so they cannot abort an entire report.
0.1.4
- Restored efficient indexed WooCommerce date filtering and paged large sales reports.
- Added the server HTTP status to unexpected request errors.
0.1.3
- Reworked sales date filtering to use paged WooCommerce order data consistently across HPOS and legacy stores.
0.1.2
- Corrected preset sales report date ranges across site time zones and WooCommerce order storage modes.
- Prevented site theme hover styles from hiding button labels.
0.1.1
- Prevented the WordPress admin toolbar from covering the portal sidebar.
0.1.0
- Initial plugin release.
