=== Product Addons & Fields for WooCommerce ===
Contributors: themeisle
Tags: woocommerce product addons, woocommerce product options, woocommerce product fields, woocommerce product, woocommerce product addon
Requires at least: 3.5
Tested up to: 6.1
Stable tag: 32.0.3
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 5.6

== Description ==

PPOM (Product Addons for WooCommerce) lets add extra custom fields and addons on your product pages. Adding extra options like sizes, colors with PPOM is so simple with drag and drop form builder.

= How it works? =
* Create PPOM fields with drag & drag form builder from `WooCommerce->PPOM Fields`
* Go to product edit page and select PPOM fields group created in above step and click update.
* That's all

== Input Types in Free Version ==
* **Text** - [Demo](https://demo-ppom-lite.vertisite.cloud/product/basic-text-input/)
* **Textarea** - [Demo](https://demo-ppom-lite.vertisite.cloud/product/basic-textarea-input/)
* **Select Options (with price)** - [Demo](https://demo-ppom-lite.vertisite.cloud/product/basic-select-input/)
* **Radio Options (with price)** - [Demo](https://demo-ppom-lite.vertisite.cloud/product/basic-radio-input/)
* **Checkbox Options (with price)** - [Demo](https://demo-ppom-lite.vertisite.cloud/product/basic-checkbox-input/)
* **Date** - [Demo](https://demo-ppom-lite.vertisite.cloud/product/basic-date-input/)
* **Email** - [Demo](https://demo-ppom-lite.vertisite.cloud/product/basic-email-input/)
* **Number** - [Demo](https://demo-ppom-lite.vertisite.cloud/product/basic-number-input/)
* **Hidden** - (Hidden input with a default value) - [Demo](https://demo-ppom-lite.vertisite.cloud/product/hidden-input/)

== Features in Free Version  ==
* **Prices can be added with options**
* **Conditional logic** - *display fields based on conditions*
* **Fields classes** - *CSS classes can be added for each input*
* **Fields grid** - *Control field layout with simple grid options in columns*
* **Min/Max length** - *Set min/max text or number inputs*
* **Masking** - *Set input masking for text input*
* **Placeholder** - *Set placeholder input for `text, textarea, number etc`*
* **Fields validation** - *Mark fields as required*
* **Error message** - *Set custom error message for required fields*
* **Field description** - *Set fields description using HTML tags*
* **Price display** - *Flexible option to display extra prices e.g hide, only total or itemized prices*
* **Apply via category** - *Apply/attach PPOM to whole category instead single product*
* **Compatible with Advanced Order Export For WooCommerce**
* **Multi-language ready** - *WPML/Polylang supported*

== Security is Priority ==
All inputs are [sanitized and escaped](https://developer.wordpress.org/themes/theme-security/data-sanitization-escaping/,  "WordPress sanitized")

== PPOM PRO Inputs ==
* **[Measure Input](https://demo-ppom-lite.vertisite.cloud/product/demo-for-measure-input/)** - *Set prices for measure units like milk, cloths & frames, etc*
* **[Color Picker](https://demo-ppom-lite.vertisite.cloud/product/demo-for-color-picker/)** - *Allow customer to select any colors and save Hex value*
* **[Color Palette](https://demo-ppom-lite.vertisite.cloud/product/demo-for-color-palette/)** - *Allow customer to select color(s) from a pre defined set of colors by admin*
* **[Date Range](https://demo-ppom-lite.vertisite.cloud/product/demo-for-date-range-input/)** - *Select two dates between from and to*
* **[Images Options](https://demo-ppom-lite.vertisite.cloud/product/demo-for-images-options/)** - *Allow customer to select image(s) from a pre defined images by admin*
* **[Audio/Video](https://demo-ppom-lite.vertisite.cloud/product/demo-for-video-music/)** - *Allow customer to select audio/video from a pre defined audios/videos by admin*
* **[File Upload](https://demo-ppom-lite.vertisite.cloud/product/demo-for-file-upload-input/)** - *Allow customers to upload files. Admin can set filetypes, and filesize. Progressbar, thumb display, and responsive uploader*
* **[Image Cropper](https://demo-ppom-lite.vertisite.cloud/product/demo-for-basic-image-cropping-input/)** - *Allow users to upload and crop images*
* **[Variation Quantities](https://demo-ppom-lite.vertisite.cloud/product/demo-for-variation-quantities/)** - *Allow customers to order different quantities for different options like Sizes or colors*
* **[Price Matrix with Discount](https://demo-ppom-lite.vertisite.cloud/product/demo-for-price-matrix-discount/)** - *Set tiered or discount prices on bulk purchase*
* **[Timezone](https://demo-ppom-lite.vertisite.cloud/product-category/timezone-input/)** - *Select timezone from pre defined list of timezone. Exclude/include timezones*
* **[HTML Content](https://demo-ppom-lite.vertisite.cloud/product/demo-for-basic-html-with-content/)** - *Add HTML tags, like `p` or `h1` tags to add more details for your extra fields*
* **[Bulk Quantity](https://demo-ppom-lite.vertisite.cloud/product/basic-bulk-quantity-input/)** - *Bulk Quantity allows the store admin to set discount prices for each option.*
* **[Chained Input](https://demo-ppom-lite.vertisite.cloud/product/chained-input/)** - *PPOM renders chained input in the dropdown.*
* **[Collapse Input](https://demo-ppom-lite.vertisite.cloud/product/collapse-input/)** - *This is a special input that acts like a parent block...*
* **[Conditional Images Input](https://demo-ppom-lite.vertisite.cloud/product/conditional-images-input/?attach_id=325&ppom-meta=41,0)** - *This input allows you to display different info based on the chosen images.*
* **[Basic Date Range Input](https://demo-ppom-lite.vertisite.cloud/product/demo-for-date-range-input/)** - *Allows selecting date ranges.*
* **[Divider Input](https://demo-ppom-lite.vertisite.cloud/product/basic-divider-input/)**
* **[Domain Input](https://demo-ppom-lite.vertisite.cloud/product/basic-domain-input/)** *Web domain availability*
* **[Email Input](https://demo-ppom-lite.vertisite.cloud/product/basic-email-input/)**
* **[Emojis Input](https://demo-ppom-lite.vertisite.cloud/product/basic-emoji-input/)**
* **[Fixed Price Input](https://demo-ppom-lite.vertisite.cloud/product/fixed-price-input-with-add-option-first-option/)** *Fixed Price Input with Add Option / First Option*
* **[Fonts Picker](https://demo-ppom-lite.vertisite.cloud/product/basic-fonts-picker/)**
* **[Image Dropdown Input](https://demo-ppom-lite.vertisite.cloud/product/image-dropdown-input/)**
* **[Images Options Input](https://demo-ppom-lite.vertisite.cloud/product/demo-for-images-options/)**
* **[Phone Input](https://demo-ppom-lite.vertisite.cloud/product/basic-phone-input/)**
* **[Quantities Pack Input](https://demo-ppom-lite.vertisite.cloud/product/quantities-pack-input/)**
* **[Quantity Option Input](https://demo-ppom-lite.vertisite.cloud/product/quantity-option-input/)**
* **[Radio Switcher Input](https://demo-ppom-lite.vertisite.cloud/product/radio-switcher-input/)**
* **[Select Option Quantity Input](https://demo-ppom-lite.vertisite.cloud/product/select-quantity-option-input/)**
* **[Superlist Input](https://demo-ppom-lite.vertisite.cloud/product/superlist-input/)**
* **[Text Counter](https://demo-ppom-lite.vertisite.cloud/product/basic-text-counter/)**
* **[Texter Input](https://demo-ppom-lite.vertisite.cloud/product/basic-texter-input/)**
* **[Variation Matrix Input](https://demo-ppom-lite.vertisite.cloud/product/basic-variation-matrix-input/)**

== PPOM PRO Features ==
* **Tooltip** *Tooltip feature to show description*
* **Fields privacy** - *Set fields visibility options by roles, member id guest etc*
* **Weight options** - *Weight can be assgined for options*
* **Multiple Meta** - *Assign multiple metas groups to single product*
* **Options prices taxable**
* **[Client-side validation](https://www.youtube.com/watch?v=1IoABjkQ--I)** - *No page refresh on error.*
* **Compatible with WooCommerce Currency Switcher**
* **Compatible with WPML Currency Switcher**
* **Compatible with WholeSale Plugin**
* **Compatible with all WooCommerce themes.**


[See All PRO Features](https://themeisle.com/plugins/ppom-pro/upgrade/?utm_source=plugin-readme&utm_medium=ppomfree&utm_campaign=seeprofeatures) - [Demos](https://demo-ppom-lite.vertisite.cloud/)

== Video Guide ==
[youtube https://www.youtube.com/watch?v=wGQBOzyMF4U]

== PPOM Add-ons ==
If you feels that PPOM Free or PPOM PRO versions are not enough for your needs, please see our [30+ PPOM Add-ons](https://themeisle.com/plugins/ppom-pro/upgrade/?utm_source=plugin-readme&utm_medium=ppomfree&utm_campaign=30ppomaddons) and coming more.

== Installation ==
1. Upload plugin directory to the `/wp-content/plugins/` directory
2. Activate the plugin through the `Plugins` menu in WordPress
3. After activation, you can set options from `WooCommerce -> PPOM Settings` menu

== Screenshots ==
1. "Select" field sample settings
2. "Select" field on the product
3. "Text" field sample settings
4. "Text" field on the product
5. Inputs attached to the cart page
6. Inputs attached to the checkout page
7. Finally admin can see all attached inputs in orders panel
8. Managing PPOM Field Groups
9. PPOM General Settings

== Changelog ==

##### [Version 32.0.3](https://github.com/Codeinwp/woocommerce-product-addon/compare/v32.0.2...v32.0.3) (2023-02-23)

- [Fix] Translations on some strings have been fixed.
- [Fix] [PPOM Pro] Image Cropper field doesn't work if enabled with Popup in Safari browser on mobile
- [Fix] [PPOM Pro] Added shadow to color palette choices to better visibility
- [Tweak] Deselect Support for the ImageSelect Field
- [Fix] Fixes on the PPOM Settings page.
- [Fix] [Date Input] UI/UX improved to emphasize JQuery date picker is needed for some features (Min Date, Max Date, Date Formats, Default Value, First Day of Week, Year Range, Disable Weekends, Disable Past Dates) of PPOM Date Field.
- [Fix] [Date Input] Max Date fixes (from now on, can be worked independently from disable past dates mode)
- [Fix] [Date Input] Manual date entering by keyboard was disallowed for the JQuery date picker.
- [Fix] [Date Input] Default date issue of the JQuery date picker has been fixed. (It was not working with relative values such as +5d or +1m 3d .)
- [Fix] [Date Input] Fix on the Disable past dates feature (compatibility support with Min date feature)
- [Fix] [PPOM Pro] Broken date range layout was fixed.
- [Fix] Adding two fields with same name make them overwrite each other (data name validation was added for new fields)
- [Fix] [PPOM Pro] Cart Edit is not working when Pop Up Edit is enabled
- [Fix] [PPOM Pro] Empty Field Generation, which happens when PPOM Pro is activated, has been fixed.
- Themeisle-SDK version was updated.




##### [Version 32.0.2](https://github.com/Codeinwp/woocommerce-product-addon/compare/v32.0.1...v32.0.2) (2022-11-24)

- [Fix] Unnecessary spaces in Text Area Field
- WC 7.1 Compatibility Info updated.
- [Fix] Use the correct text-domain in the translated string.
- [Fix] Change on the Fixed Fee TAX Price Calculation: If WC prices include taxes; inconsistent TAX calculation was happening on the Fixed Fees between the product page/cart page, that's fixed. https://github.com/Codeinwp/ppom-pro/issues/41
- [Fix] Change on the Fixed Fee TAX Price Calculation: Use the tax class of the dependent product for the fixed fee instead of the standard tax https://github.com/Codeinwp/ppom-pro/issues/82
- [Fix] [PPOM Pro] If a Price Matrix field was shown according to the two or more conditional field dependencies; the price matrix price was passed to the cart as 0. That's fixed. https://github.com/Codeinwp/ppom-pro/issues/40
- [Promote] Conditional Field Repeater freemium/locked tab
- [PPOM Pro] Compatibility for PPOM PRO Bulk Quantity Field.
- [Feat] New WP Filter Hook (ppom_legacy_input_meta_classes) was added. https://github.com/Codeinwp/woocommerce-product-addon/pull/78
- [Fix] Some minor fixes on Frontend Input Classes https://github.com/Codeinwp/woocommerce-product-addon/pull/78
- [Feat] Changelog viewer admin screen was created.
- Compatibility support for PPOM Pro v25.1.0




##### [Version 32.0.1](https://github.com/Codeinwp/woocommerce-product-addon/compare/v32.0.0...v32.0.1) (2022-10-19)

- [Fix] PPOM Field prices are not passed into the cart issue (affects only non-pro users) has been fixed. (that was a regression occurred after the v32.0.0 release)
- [Fix] in the various areas (cart, checkout, admin order details etc.); PPOM Field Titles are shown as data-name instead of human-readable field title issue has been fixed. (that was a regression occurred after the v32.0.0 release)
- [Fix] A minor fix on the ppom_hooks_save_cropped_image global function.




#### [Version 32.0.0](https://github.com/Codeinwp/woocommerce-product-addon/compare/v31.0.1...v32.0.0) (2022-10-18)


- [Fix] Order Again PPOM compatibility support has been added. [#47](https://github.com/Codeinwp/woocommerce-product-addon/issues/47)
- [Fix] [Pro compatibility] Fix the conditional field issue of the PPOM Pro Image Dropdown field [#48](https://github.com/Codeinwp/woocommerce-product-addon/issues/48)
- [Fix] [Pro compatibility] Fix for PPOM Pro (Image Cropper doesn't work with some AJAX add to cart plugins)
- [Fix] Reload the PPOM Field Group Listing screen if a field is deleted.
- [Fix] [Pro compatibility] Conditional Field Support of the Image Dropdown field of the PPOM Pro has been fixed.
- [Fix] [Pro compatibility] Product featured image is replaced by the ImageSelect field without making a selection
- Promote locked fields




##### [Version 31.0.1](https://github.com/Codeinwp/woocommerce-product-addon/compare/v31.0.0...v31.0.1) (2022-09-16)

- Themeisle-SDK upgraded to latest version (v3.2.30)




#### [Version 31.0.0](https://github.com/Codeinwp/woocommerce-product-addon/compare/v30.1.4...v31.0.0) (2022-09-12)

- Improvement on PPOM Pro compatibility
- Readme.txt updated.




##### [Version 30.1.4](https://github.com/Codeinwp/woocommerce-product-addon/compare/v30.1.3...v30.1.4) (2022-09-02)

- [Fix] The fatal error related to the tsdk_utmify() function being missing has been fixed.




##### [Version 30.1.3](https://github.com/Codeinwp/woocommerce-product-addon/compare/v30.1.2...v30.1.3) (2022-09-02)

- [Fix] Browser console logs have been removed.
- [Fix] The bug that occurs when a group saving empty fields has been fixed.
- [Tweak] Do not allow removing of the Administrator role from PPOM Permissions




##### [Version 30.1.2](https://github.com/Codeinwp/woocommerce-product-addon/compare/v30.1.1...v30.1.2) (2022-08-15)

- [Fix] A PHP Notice fixed and a technical improvement has been made.
- Readme.txt updated
- Improvement on the themeisle-sdk compatibility.




##### [Version 30.1.1](https://github.com/Codeinwp/woocommerce-product-addon/compare/v30.1.0...v30.1.1) (2022-08-12)

- change plugin maintainer



= 30.1 August 5, 2022 =
* Bug fixed: PPOM shortcode rendering issue fixed.
* Bug fixed: Client side validatation issue fixed for Font picker addon
* Bug fixed: File upload issue fixed with PSD files.
= 30.0 July 7, 2022 =
* Bug fixed: [Warning removed due to some internalization](https://wordpress.org/support/topic/wordpress-database-error-caused-by-meta_id-none/)
* Bug fixed: Bulkquantity ppom_bulkquantity_includeprice filter is now active
* Bug fixed:[Conditional fields issue fixed with FixedPrice Addon
* Bug fixed: Warning removed in PHP version 8
= 24.9 May 31, 2022 =
* Feature: Uploaded image thumb now can be resized proportionally in PRO version.
* Bug fixed: wp_specialchars_decode function wrapped for all the options
* Bug fixed: Options and images saving issue fixed by reset array index when sorting apply.
* Bug fixed: Date picker paste date not working fixed now


== Frequently Asked Questions ==
= Where can I find documentation for WooCommerce Product Addon? =
[Installation & Overview](https://docs.themeisle.com/article/1700-personalized-product-meta-manager)
[Docs for Free Inputs](https://docs.themeisle.com/article/1701-ppom-free-input-types)
= I can add fields in Variable Products also? =
Yes
= Is there any fields limits? =
No - But sometime due to server limitation you cannot add more fields.
= Can we price with option? =
Yes, price can be added with Select,Radio,Checbox
= Can I see Demo, how fields are displayed and added to cart? =
Yes, [See here](https://demo-ppom-lite.vertisite.cloud/)

== Upgrade Notice ==
* Since version 10 we have major changes
* Free Version must be installed with PRO version
