Showing with 85 additions and 26 deletions.
  1. +0 −9 .github/workflows/create-tag.yml
  2. +42 −0 .github/workflows/new-issues.yml
  3. +5 −0 CHANGELOG.md
  4. +6 −6 composer.lock
  5. +1 −1 package.json
  6. +19 −8 readme.txt
  7. +12 −2 woocommerce-product-addon.php
9 changes: 0 additions & 9 deletions .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,3 @@ jobs:
GIT_COMMITTER_EMAIL: ${{ secrets.PIRATE_BOT_EMAIL }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_ANNOUNCEMENTS }}
SEMANTIC_RELEASE_PACKAGE: PPOM(free)
empty-job:
# if no jobs run, github action considers it a test failure -- which seems like a bug
# this makes it so the top-level if statement for the job does not give status failure.
runs-on: ubuntu-latest
if: success()
steps:
- name: Meep
run: |
echo "Nothing to do"
42 changes: 42 additions & 0 deletions .github/workflows/new-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Add to project

on:
issues:
types: [opened,transferred]

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
id: add_project
with:
project-url: ${{ secrets.PROJECT_PLANNING }}
github-token: ${{ secrets.BOT_TOKEN_PROJECT }}
- name: Set Team
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN_PROJECT }}
run: |
gh api graphql -f query='
mutation(
$project: ID!
$item: ID!
$status_field: ID!
$status_value: String!
) {
updateProjectV2ItemFieldValue(
input: {
projectId: $project
itemId: $item
fieldId: $status_field
value: {
singleSelectOptionId: $status_value
}
}
) {
projectV2Item {
id
}
}
}' -f project=${{ secrets.PROJECT_PLANNING_ID }} -f item=${{ steps.add_project.outputs.itemId }} -f status_field=${{ secrets.PLANNING_TEAM_FIELD_ID }} -f status_value=f0658f06 --silent
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#### [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.
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "woocommerce-product-addon",
"version": "30.1.4",
"version": "31.0.0",
"description": "PPOM for WooCommerce",
"main": "index.js",
"repository": "https://github.com/Codeinwp/woocommerce-product-addon",
Expand Down
27 changes: 19 additions & 8 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
=== PPOM for WooCommerce ===
Contributors: nmedia,themeisle
Contributors: themeisle
Tags: woocommerce custom fields, woocommerce extra fields, woocommerce extra options, woocommerce personalized product, woocommerce product fields, woocommerce addons
Requires at least: 3.5
Tested up to: 6.0
Stable tag: 30.1.4
Stable tag: 31.0.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 5.6

== Description ==

PPOM (Personalized Product Option Manager) is a WooCommerce plugin to add extra fields on your site product page. Adding extra options like sizes, colors with PPOM is so simple with drag and drop form builder.
PPOM is a WooCommerce plugin to add extra 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`
Expand Down Expand Up @@ -63,10 +63,10 @@ PPOM (Personalized Product Option Manager) is a WooCommerce plugin to add extra


== PPOM PRO Features ==
* **Tooltip - *Tooltip feature to show description*
* **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
* **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**
Expand All @@ -78,7 +78,7 @@ PPOM (Personalized Product Option Manager) is a WooCommerce plugin to add extra
[See All PRO Features](https://themeisle.com/plugins/ppom-pro/upgrade/?utm_source=themeisle&utm_medium=product&utm_campaign) - [Demos](https://demo-ppom-lite.s.themeisle.com/)

== Video Guide ==
[vimeo https://vimeo.com/85584591]
[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.
Expand All @@ -101,6 +101,14 @@ If you feels that PPOM Free or PPOM PRO versions are not enough for your needs,

== Changelog ==

#### [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.
Expand Down Expand Up @@ -149,6 +157,9 @@ If you feels that PPOM Free or PPOM PRO versions are not enough for your needs,


== 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 =
Expand All @@ -160,4 +171,4 @@ Yes, [See here](https://demo-ppom-lite.s.themeisle.com/)

== Upgrade Notice ==
* Since version 10 we have major changes
* Free Version must be installed with PRO version
* Free Version must be installed with PRO version
14 changes: 12 additions & 2 deletions woocommerce-product-addon.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: PPOM for WooCommerce
* Plugin URI: https://themeisle.com/plugins/ppom-pro/
* Description: PPOM (Personalized Product Meta Manager) plugin allow WooCommerce Store Admin to create unlimited input fields and files to attach with Product Pages.
* Version: 30.1.4
* Version: 31.0.0
* Author: Themeisle
* Text Domain: woocommerce-product-addon
* Domain Path: /languages
Expand All @@ -24,7 +24,8 @@
define( 'PPOM_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
define( 'PPOM_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
define( 'PPOM_WP_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __DIR__ ) ) );
define( 'PPOM_VERSION', '30.1.4' );
define( 'PPOM_BASENAME', basename( PPOM_WP_PLUGIN_DIR ) );
define( 'PPOM_VERSION', '31.0.0' );
define( 'PPOM_DB_VERSION', '30.1.0' );
define( "PPOM_PRODUCT_META_KEY", '_product_meta_id' );
define( 'PPOM_TABLE_META', 'nm_personalized' );
Expand Down Expand Up @@ -95,6 +96,15 @@ function PPOM() {
return NM_PersonalizedProduct::get_instance();
}

add_filter( 'themeisle_sdk_compatibilities/' . PPOM_BASENAME, function ( $compatibilities ) {
$compatibilities['ppompro'] = [
'basefile' => defined( 'PPOM_PRO_PATH' ) ? PPOM_PRO_PATH . '/ppom.php' : '',
'required' => '23.0',
'tested_up' => '25.0',
];

return $compatibilities;
} );
add_action( 'woocommerce_init', 'PPOM' );

register_activation_hook( __FILE__, array( 'NM_PersonalizedProduct', 'activate_plugin' ) );
Expand Down