| 开发者 |
optogrid
saulogt |
|---|---|
| 更新时间 | 2026年10月1日 11:41 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
optogrid-eyeglasses-for-woocommerce folder to wp-content/plugins/.Yes. WooCommerce 8.0 or later is required.
An Optogrid account is only required for the digital PD photo measurement feature. The plugin works without it using manual PD entry and Rx form fields.
Yes. The plugin declares full compatibility with WooCommerce High-Performance Order Storage (custom order tables).
Yes. The plugin declares compatibility with WooCommerce block-based cart and checkout.
The lens builder works on classic WooCommerce themes (hook-based product pages) and on WooCommerce Blocks (Gutenberg) product, cart, and checkout pages. Elementor is supported, including a dedicated integration for the Elementor Pro Single Product "Add to Cart" widget. Divi, Bricks, and WPBakery are not officially supported yet: on those builders the plugin falls back to a JavaScript injection that may not place the "Select Lens" button reliably. If your product pages are built with one of these, test on a staging site first.
By default, eyeglasses products are sold individually (quantity locked to 1), because each pair is configured with its own prescription and lens options. You can turn this off under WooCommerce > Optogrid Eyeglasses > General ("Eyeglasses sold individually") if you need quantity-based add-ons. If you also enable ERP lens line items, the plugin adds the lens (and any add-ons) as separate cart lines. When a third-party bundle or composite plugin (such as WooCommerce Product Bundles or Composite Products) is already managing an eyeglasses product, the plugin detects this and does not inject its own child items, to avoid duplicates. Full interoperability with those extensions is not yet officially tested -- verify on a staging site.
Nothing is lost by default. Deleting the plugin removes its settings and Optogrid connection credentials, but preserves all order data -- prescriptions, PD measurements, and lens selections stay attached to your orders so your business records remain intact and past orders can still be fulfilled or referenced.
If you want a complete cleanup (for example on a test site), opt in before deleting the plugin by either defining the constant OPTOGD_REMOVE_ALL_DATA as true in wp-config.php, or setting the option via WP-CLI: wp option update optogd_erase_all_data_on_uninstall 1. With the opt-in active, uninstalling also erases all order-level plugin data, including customer prescriptions -- this cannot be undone.
Data previously sent to Optogrid (uploaded photos and measurement records) lives in your Optogrid account and is managed there; uninstalling the plugin does not delete it.