開發者團隊
② 後台搜尋「PrintGear Product Designer for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Set up the designer with your shop’s printing colours and fonts. Import a ready-to-use T-shirt as a draft to try the workflow in your own WooCommerce store. Duplicate the starter as a separate product as often as you need. Open an order to view the design and export its production files as PNG or JPG.
Get help from Nomi and the PrintGear user guide.
PrintGear Pro adds order design editing, team names and numbers, advanced image tools and the full Startup Pack.
External services
The standard fonts and starter T-shirt mockups are included and do not need a Google Fonts request. If the shop owner chooses a custom Google Fonts list, saving the settings requests stylesheets from fonts.googleapis.com and font files from fonts.gstatic.com for a local cache. If the shop owner also selects “From Google”, visitors’ browsers request those fonts from Google when they open the designer. These requests expose connection information such as the requesting IP address to Google. The Google Fonts terms and privacy policy apply. The links to Nomi and PrintGear Pro open PrintGear.app only when clicked.
After upgrading from a build that cached Google Fonts, save the font settings again to rebuild the local cache. The new cache serves only locally generated font-face rules.
If the shop owner enables a WhatsApp contact link and enters a number, it opens WhatsApp only when a visitor clicks it. The WhatsApp privacy policy applies.
Privacy
The designer uses a first-party cookie to bind guest sign-in and registration requests to the visitor’s browser. The cookie lasts up to one day. A separate first-party cookie can authorize access to a guest’s uploaded files for up to 30 days. These cookies do not send data to PrintGear. Designs saved to an account and designs associated with orders are stored by the shop.
Bundled third-party code
The embedded Bootstrap Icons are MIT-licensed. The bundled fonts are licensed under the SIL Open Font License 1.1. Individual font copyright notices, sources and full license texts are listed in licenses/THIRD-PARTY.md.
Private file storage
Customer uploads, previews and production files are stored under the runtime WordPress uploads directory in printgear-product-designer/private/data-v1/. Files use a non-media disk suffix, so rules for public PNG and JPG media do not select their paths. The authenticated download URLs and displayed filenames keep the correct media extensions. Public font caches are separate.
Private files are delivered only through the existing authenticated PHP routes, which check the current owner, guest session or order credentials and the applicable administrator permissions. Direct HTTP access to the private storage directory must be denied by the web server. PrintGear installs non-executable .htaccess and web.config rules; it never writes an executable PHP guard.
Apache: the private .htaccess must be honoured (AllowOverride AuthConfig or an equivalent explicit server rule). With AllowOverride None, add a server rule that denies access to the actual private directory. A directory listing rule alone does not protect files.
Nginx: .htaccess has no effect. Ask the host administrator to add the following rule to the correct server block and reload the configuration. Replace this example path with the path in the actual uploads URL, including a site/subdirectory prefix or custom uploads path where applicable:
location ^~ /wp-content/uploads/printgear-product-designer/private/ {
deny all;
}
When upgrading, keep the separate deny rule for the former printgear-free/private/ path until migration is complete. The ^~ prefix takes precedence over regular-expression locations for media files. Keep the same protection at any reverse proxy or CDN and for every hostname/alias that can serve these directories. Do not expose private files through a media/CDN offload plugin or a separate server alias.
Before a request can write sensitive files, PrintGear verifies an anonymous public control request and direct anonymous requests for non-sensitive test files in the private categories, using valid sample content and the actual disk-name formats for persistent and working files. The test uses the configured uploads URL, sends no login cookies, follows no redirects, and has a total ten-second time budget. Only the successful positive control and private 403/404 responses permit writes. The result is reused only within that PHP request. A failed/blocked loopback request, timeout, redirect, server error or publicly served probe pauses new uploads and exports and produces an administrator error. A server with only one PHP worker may need additional workers to handle the anonymous self-requests. Restore the server rule/loopback connection and retry; there is no public-storage fallback or manual bypass.
These checks verify the tested paths under the current host configuration; they cannot audit every external IP, proxy, CDN or later server change. The server rules must remain in place for files already on disk. IIS web.config is supplied but IIS has not been tested in this release.
The upgrade imports both earlier printgear-free/private layouts, uploads/woocreate private categories, and earlier private storage. It preserves the logical filenames, design IDs, order metadata, signatures and stored snapshots. Previously configured PRINTGEAR_PRIVATE_STORAGE_DIR and PRINTGEAR_PUBLIC_DOCUMENT_ROOT are used only to discover existing legacy read sources; new files and migration locks are never written there. Keep those settings until migration finishes. If the old default private folder cannot be identified from the current document root, set PRINTGEAR_PRIVATE_STORAGE_DIR to that existing folder before retrying. Do not point it at another site’s data.
The destination must pass protection checks before any sensitive bytes are moved there. Files are copied directly to protected non-media paths in resumable batches. Keep access rules on previous directories until their files have been migrated. Copies are verified with SHA-256 before the original is removed. Conflicting filenames, linked files and unknown executable/server-rule files stop migration with an administrator error instead of overwriting or discarding them. Keep existing public legacy category URLs denied at the host until migration has completed, especially while resolving a blocked migration. Prior private files remain readable through the authorized routes when the new write gate is blocked. Do not remove the previous private folder manually before checking migration completion and backups.
The previous public Google Fonts caches remain read-only fallbacks. Saving the font settings adds missing fonts under printgear-product-designer/google-fonts-v2/. Legacy logs migrate privately; new diagnostics use the WooCommerce logger.
