
內容簡介
Wolfcourt Product Formats 外掛為簡單的 WooCommerce 產品新增了一個專注的格式選擇器,讓使用者能夠選擇不同的產品格式,並在結帳過程中進行有效的價格驗證,提升購物體驗。
【主要功能】
• 支援每個簡單產品最多 100 種格式
• 拖放排序及預設選擇功能
• 伺服器端價格及選擇驗證
• 可選的付費附加功能,具可編輯標籤
• 與 WooCommerce HPOS 相容
• 響應式及鍵盤友好的商店控制
外掛標籤
開發者團隊
原文外掛簡介
Wolfcourt Product Formats adds a focused format selector to simple WooCommerce products. Each choice has a label, a final unit price, an order, and a default selection.
The selected format is validated on the server and carried through the cart, checkout, order administration, emails, and exports. An optional global paid add-on can also be configured for common extras such as gift wrapping, engraving, or a birthday plaque.
Features:
Up to 100 formats per simple product.
Drag-and-drop ordering and a default choice.
Server-side price and selection validation.
Optional paid add-on with editable label and description.
WooCommerce HPOS compatibility.
Responsive and keyboard-friendly storefront controls.
Automatic reuse of existing Temptation Product Portions data.
The format selector works with the classic WooCommerce product form. In our WooCommerce 11.1.2 test, the Add to Cart + Options block also rendered the selector and submitted it successfully through a regular HTML POST form; this is not a claim of compatibility with every product block. Standard catalogue buttons for simple products with formats link to the product page and say “Choose your format” instead of attempting an optionless cart request. Custom Store API clients may pass wolfcpf_selected_option as a non-negative format index and wolfcpf_paid_addon as yes or true to the add-item route. The server checks the choice and recalculates the price from saved product data; a request without a required format is rejected. Untested custom quick-add interfaces should link customers to a product form that visibly presents the choices.
Classic product forms use a cart security token tied to the visitor’s WooCommerce session. The product-page script refreshes it before submission so that cached pages can still be used. If JavaScript is disabled on a cached page, reload the page before retrying an expired form. Store API clients continue to use WooCommerce’s own Nonce or Cart-Token header.
No customer data is collected or sent to an external service.
Troubleshooting
No selector on a product? Confirm that WooCommerce is active, the product is a simple product, formats are enabled in its Formats & portions panel, and at least one valid label and price have been saved.
An option is rejected at add-to-cart? Reload the product page and try again. The server accepts only choices still present in the product’s saved configuration.
Using a product block or quick-add button? Add to Cart + Options passed a browser cart test on WooCommerce 11.1.2 using a regular POST form. Standard catalogue buttons link to the product page when a format is required. Other block and custom quick-add implementations may not present the choices; verify your product template.
The cart price differs from the catalog price? A format uses its configured final unit price; the optional add-on is added on top. The original catalog price is not changed.
Migrating an existing store? Deactivate Temptation Product Portions first and verify one product and one test order before using the new plugin on a live checkout.
Privacy
The plugin stores format choices and add-on settings in WordPress product and site options. A customer’s chosen format and add-on are stored with the WooCommerce order item. It sends no data to an external service and has no telemetry. Uninstall removes this plugin’s add-on enable, label and description options, but deliberately retains legacy pricing, product-format metadata and order records for store continuity; remove those records through the store’s own data-management process if required.
