WooCommerce Treatment Options
Adds custom treatment options to WooCommerce products.
by Tarek Nabil · github.com/tareknabil/woocommerce-treatment-options
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tareknabil/woocommerce-treatment-options/archive/refs/heads/main.zipReadme
WooCommerce Treatment Options
This plugin adds a custom field to WooCommerce products for selecting treatment options. It allows store owners to specify various treatment options for their products, which can then be displayed on the product page using a shortcode with icons.
Features
- Add custom treatment options to WooCommerce products.
- Display treatment options on the frontend using a shortcode.
- Customizable icons for each treatment option.
- Admin interface for managing treatment options.
Installation
- Upload the
woocommerce-treatment-optionsfolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Edit a WooCommerce product to add treatment options in the custom field section.
Usage
To display the treatment options on a product page, use the following shortcode:
[treatment_options]
This shortcode will render the treatment options with their respective icons.
Customization
You can customize the appearance of the treatment options by modifying the CSS files located in the assets/css/ directory.
Contributing
If you would like to contribute to this plugin, please fork the repository and submit a pull request.
License
This plugin is licensed under the GPL v2 or later.