VibeFox Custom Product Options — Help
Requirements
WordPress: 6.2 or later.
WooCommerce: 7.8 or later, installed and active.
PHP: 8.0 or later.
VibeFox license key: bought on vibefox.net. One key works on one domain.
Installation
1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vfw_custom_product_options folder to /wp-content/plugins/ by FTP.
2. Click Activate. WordPress opens VibeFox Custom Product Options > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).
3. Once the key is active, the menu VF Custom Product Options appears in the WordPress admin with Field groups, Add group and Settings. The Plugins page also has the links Field groups and Settings under the plugin name.
4. Go to VF Custom Product Options > Add group, add fields, choose where the group is shown in Show on and click Publish.
5. Optionally add fields for one product only: product editor, Product data > Extra options.
Configuration
Field groups
A field group is a set of fields shown on the products you choose. The list VF Custom Product Options > Field groups shows each group with Shown on, Fields and Order, and has the row action Duplicate. The editor of a group has these boxes:
Show on: where the group appears.
Except products: products where the group is never shown.
Display: Order (lower numbers are shown first when several groups apply), Show the group title on the product page and Title on the product page (per language; leave it empty to use the group's title).
Import / Export: Export JSON downloads the group as a file. Import JSON… creates a new group from an exported file.
Fields: choose a Field type and click Add field. Drag fields to reorder them, use Expand all to open all of them and Remove field to delete one.
Field types
Field settings
Label: the name customers see. It can be entered per language.
Field ID: the internal ID, created automatically.
Description: a hint under the field.
Placeholder: the text shown in an empty field.
Required: the customer must fill in the field before adding the product to the cart.
Price and Price type: for fields without options. The amount is added to the product price per item when the customer fills in the field. 0 in a number field or slider counts as not filled. A negative amount is a discount. Leave it empty for a free field.
Options: for select, radio and checkbox fields: Option label, a price and its type (the store currency or %), and for swatches a Swatch image. Use Add option to add one and drag to reorder. Show as image swatches shows radio buttons and checkboxes as images.
Linked options: for linked selects: Add first-level option and, under each one, Add second-level option.
Min / Max, Min / Max / Step and Max length: limits of number, range and text fields. They are checked again on the server.
Allowed file types: comma-separated extensions. Empty means the default list from the settings. Scripts, HTML and SVG are always refused.
Conditional logic: Show this field only when… all rules match or any rule matches. Each rule (Add rule) compares another field with is, is not, contains, greater than, less than, is empty or is not empty. Conditions can be chained: a field can depend on a field that has its own conditions. A field hidden by its conditions is not required and is not charged.
Product fields
In the product editor, Product data > Extra options lists the Global groups that apply to this product. Hide global groups shows only the fields of this tab on the product. Product fields adds option fields for this product only, with the same builder as the field groups.
Settings
The settings are on VF Custom Product Options > Settings, in tabs on the left. Click Save Changes after editing. The settings and field groups are available to users who can manage WooCommerce (Administrator and Shop manager).
Product page
Position of the options: where the fields appear inside the Add to cart form: Before the "Add to cart" button (default), Before the quantity field or After the "Add to cart" button.
Show option prices: prints the price next to each option, for example "Gift box (+5,00 €)". Default: on.
Price format: (+5,00 €) (default), +5,00 € or [+5,00 €].
Show totals box: a live Options and Total (× quantity) box under the fields while the customer chooses. Default: on.
"Select options" button in the shop: for these products the Add to cart buttons in the shop, categories and product blocks become Select options and open the product page, so the product is never added without its options.
File uploads
Customer files are stored outside the Media Library in a closed folder (uploads/vfw-cpo-uploads) and can be downloaded only by shop managers from the order screen.
Max file size (MB): from 1 to 200. Default: 5. The description shows the limit of your server.
Default allowed file types: used by file fields without their own list. Default: jpg,jpeg,png,gif,webp,pdf. Scripts, HTML and SVG are always refused.
Cron
Delete unused files after (days): files uploaded but never ordered (abandoned carts) are deleted by a daily task. Files of orders are kept. Default: 30.
Upload cleanup schedule: shows the last run and the next scheduled run of the task.
Logging
Enable Logging: records file storage errors and upload cleanup results. Default: off.
Log Level: Info (default) or Error.
Log: the latest 40 entries from the protected PHP log in the plugin folder, with Clear Log.
Uninstall & Clear
Delete all data on uninstall: when the plugin is deleted, removes field groups, product fields, settings and uploaded customer files. Options already saved in orders stay in the orders. Default: off.
Data Cleanup: buttons that delete data at once, after a confirmation, with the number of records shown:
License
The VibeFox license block (see License key).
Status
Shows the PHP, WordPress and WooCommerce versions against the minimum versions, and the Multilingual support card: the detected language plugin, the site languages and the default language.
Import / Export
Download Export File saves the settings as a JSON file. Import loads settings from a JSON file or pasted text.
How it works
Product page
The customer sees the fields of all groups that apply to the product, in the order of the groups, and the product's own fields. Option prices are shown next to the options. Fields with conditions appear and disappear while the customer fills in the form. The totals box shows the price of the chosen options and the total for the quantity. Required fields show their message next to the field ("This field is required.", "Please check the highlighted options.").
Prices
The browser only shows a preview. When the product is added to the cart, the server calculates the price again from the saved configuration and refuses invalid values: unknown choices, values outside min, max or step, fields hidden by conditions, forged file references and missing required fields. This also applies to AJAX add to cart, the Cart and Checkout blocks (Store API) and Order again. Option prices are part of the item price, so the cart multiplies them by the quantity. The item price never goes below zero.
File uploads
A file is uploaded as soon as the customer chooses it and is checked for type and size on the server. Uploads are rate-limited ("Too many uploads. Please try again in a few minutes."). The files get random names in a closed folder. In the order, shop managers see a Download link; customers and other visitors cannot open the files. On Nginx the .htaccess file does not work: the random folder names keep the files private, and you can add the rule location ~ /vfw-cpo-uploads/ { deny all; } to the server configuration.
Cart, order and e-mails
The chosen options are shown under the product in the cart, the mini-cart (including the WoodMart side cart), the Cart and Checkout blocks, the order confirmation, My account, the order e-mails and the admin order screen (HPOS compatible). Order again restores the options and checks them again. If an option is no longer valid, the customer sees which product could not be ordered again and why.
Shop buttons
For products with required options (or any options, see the settings), the Add to cart button in the shop and in product blocks becomes Select options and opens the product page.
Variable products
Percentage prices are calculated from the price of the chosen variation.
Multilingual stores
The builder has a language switcher for labels, descriptions, placeholders and option labels. With qTranslate-XT, WPML or Polylang the site languages are detected automatically. Group titles may use qTranslate-XT tags. The option names saved in an order are in the language of the checkout.
Page caching
The product page can be cached. The upload uses its own 24-hour token, so a very old cached page may ask the customer to reload it before uploading a file.
The plugin has no one-time fees per order line, no editing of options in the cart, no display rules by variation and no Add to Cart with Options block for block product templates.
REST API
A read-only REST API for users who can manage WooCommerce: /wp-json/vfw-cpo/v1/groups, /wp-json/vfw-cpo/v1/groups/{id} and /wp-json/vfw-cpo/v1/product/{id}/fields (the fields shown on a product).
License key
VibeFox license key: bought on vibefox.net. One key works on one domain.
The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.
Open VibeFox Custom Product Options > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Custom Product Options then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.
Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Custom Product Options) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.
An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.
Troubleshooting
The plugin menu shows only Settings: the license key is not active. Open VibeFox Custom Product Options > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.
The options do not appear on a product: check that the group is published, Show on includes the product and the product is not in Except products. In the product editor, Extra options shows which global groups apply and whether Hide global groups is on. Block product templates do not show the fields; the plugin works with the classic product template.
The fields appear in the wrong place: change Position of the options.
The price of a number field is not added when the value is 0: 0 in a number field or slider counts as not filled, like an empty field.
"This file type is not allowed." or "The file is too large (max … MB).": check Allowed file types of the field, Default allowed file types and Max file size (MB). The server limit shown under the field cannot be exceeded.
"The file for … is missing or has expired. Please upload it again.": the uploaded file was removed by the cleanup or the upload link expired. The customer uploads the file again.
"Your session has expired. Please reload the page.": the page was open for a long time or comes from an old cache. Reload the page.
Old customer files are not deleted: the cleanup runs as a daily WP-Cron task. Check Upload cleanup schedule in the Cron tab, or click Delete expired uploads in Uninstall & Clear.
Uninstall
Deactivating the plugin keeps all data. To remove it, deactivate and delete it on the Plugins page. The license key and license status of this plugin are always removed. If Delete all data on uninstall was on, deleting also removes the field groups, product fields, settings and uploaded customer files. Otherwise they stay for a later re-install. Options already saved in orders stay in the orders.
WoodMart is a trademark of its respective owner. This plugin is not affiliated with or endorsed by WoodMart.
