Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
ceedf49
Sync branch [skip ci]
pirate-bot Dec 19, 2025
201841d
Sync branch [skip ci]
pirate-bot Dec 19, 2025
9bbcf6f
Sync branch [skip ci]
pirate-bot Jan 27, 2026
8cf0812
dev: add AGENTS.md (#519)
Soare-Robert-Daniel Feb 25, 2026
aa9663f
Sync branch [skip ci]
pirate-bot Mar 16, 2026
b1825e1
chore(deps): bump codeinwp/themeisle-sdk from 3.3.50 to 3.3.51
dependabot[bot] Mar 30, 2026
422dfa6
Merge pull request #540 from Codeinwp/dependabot/composer/development…
Soare-Robert-Daniel Mar 31, 2026
ab470b3
fix: PHP 8.x deprecated semicolon syntax in case statements (#533)
Copilot Apr 3, 2026
a7d8d59
fix: option price not detected on back navigation (#526)
girishpanchal30 Apr 3, 2026
dcbb4fd
fix: check min max value of the fields & error message (#525)
girishpanchal30 Apr 3, 2026
9a31ff5
fix: preserve user roles option (#521)
girishpanchal30 Apr 3, 2026
b50f70b
fix: apply price on initial load in pricing table (#538)
girishpanchal30 Apr 3, 2026
8fcde84
fix: handle quantity field in horizontal layout (#537)
girishpanchal30 Apr 3, 2026
1637711
fix: required field with conditional repeater (#536)
girishpanchal30 Apr 3, 2026
c29df53
fix: show zero values in cart summary (#535)
girishpanchal30 Apr 3, 2026
3057a61
fix: detaching group from product tag (#527)
girishpanchal30 Apr 3, 2026
35d5f19
fix: escape value when rendering selected condition (#520)
girishpanchal30 Apr 3, 2026
3adc4db
fix: clone field conditions (#513)
girishpanchal30 Apr 3, 2026
1fe41cf
fix: display stock option on saved image dropdown (#516)
girishpanchal30 Apr 3, 2026
e7d2260
fix: replace image in image cropper field (#512)
girishpanchal30 Apr 3, 2026
d4c09b5
fix: fatal error (#511)
girishpanchal30 Apr 3, 2026
a021ec8
fix: show image-based fields in cart block (#530)
girishpanchal30 Apr 3, 2026
b9c976c
dev: update dev packages & format file (#534)
Soare-Robert-Daniel Apr 7, 2026
b6dc92e
fix: harden demo meta installation to avoid SQL syntax errors on acti…
Codex Apr 8, 2026
879c8da
chore(deps-dev): bump phpstan/phpstan from 2.1.43 to 2.1.46 (#573)
dependabot[bot] Apr 14, 2026
4190c50
chore(deps-dev): bump php-stubs/woocommerce-stubs from 10.1.1 to 10.6…
dependabot[bot] Apr 14, 2026
ae8ce17
refactor: update Black Friday labels (#524)
Soare-Robert-Daniel Apr 14, 2026
c0e4d39
fix: make compatible with multi-currency plugins (#522)
girishpanchal30 Apr 14, 2026
b812576
fix: make image cropper container responsive (#556)
girishpanchal30 Apr 14, 2026
5639e36
fix: improved handling of posted field values for clones (#564)
girishpanchal30 Apr 14, 2026
b102ac7
fix: fees format on cart and checkout (#558)
girishpanchal30 Apr 14, 2026
93a291b
fix: tooltip on checkbox (#559)
girishpanchal30 Apr 14, 2026
14e459d
fix: prevent stripe slash from input mask field (#561)
girishpanchal30 Apr 14, 2026
a8f17ea
dev: refactor code (#565)
Soare-Robert-Daniel Apr 15, 2026
ebfb9b6
Merge branch 'master' into development
Apr 15, 2026
8b56993
fix: quantity range in pricing matrix (#560)
girishpanchal30 Apr 20, 2026
b587d52
feat: enhance file upload error handling (#578)
girishpanchal30 Apr 21, 2026
b1b84c8
fix: correct plugin description to “Personalized Product Option Manag…
Codex Apr 23, 2026
dc11fbb
dev: add playground preview
Soare-Robert-Daniel Apr 23, 2026
b3316c4
fix: enhance confirmation dialog for deleting product groups (#581)
girishpanchal30 Apr 28, 2026
8263025
fix: data name validation (#585)
girishpanchal30 Apr 28, 2026
5b2efa7
chore(deps-dev): bump phpstan/phpstan from 2.1.46 to 2.1.51 (#591)
dependabot[bot] Apr 28, 2026
4f6bfe0
fix: handle legacy price validation (#586)
girishpanchal30 Apr 30, 2026
e393df7
feat: enhance integrations settings tab (#588)
girishpanchal30 Apr 30, 2026
95b44bd
fix: prevent unauthenticated users to access endpoint (#589)
girishpanchal30 Apr 30, 2026
b6493f2
feat: add preset modal (#594)
Soare-Robert-Daniel Apr 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ phpstan-baseline.neon
**/*.css.map
.DS_Store
.gitkeep
.wordpress-org
.wordpress-org
AGENTS.md
phpcs.baseline.xml
.eslintrc.json
.prettierignore
11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": ["plugin:@wordpress/eslint-plugin/recommended"],
"globals": {
"jQuery": "readonly",
"$": "readonly"
},
"rules": {
"camelcase": "off"
},
"ignorePatterns": ["**/*.min.js", "**/*.bundle.js", "js/inputmask/**", "js/sweetalert/**", "tests/e2e/**", "backend/assets/**"]
}
31 changes: 22 additions & 9 deletions .github/workflows/create-build-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ jobs:
git-sha-8: ${{ steps.retrieve-git-sha-8.outputs.sha8 }}
steps:
- name: Check out source files
uses: actions/checkout@v4
- uses: actions/setup-node@v4
uses: actions/checkout@master
- uses: actions/setup-node@v6
with:
node-version: "18"
cache: "yarn"
node-version: "20"
cache: "npm"
- name: Install composer deps
run: composer install --no-dev --prefer-dist --no-progress --no-suggest
- name: Install yarn deps
run: yarn install --frozen-lockfile
- name: Install npm deps
run: npm ci
- name: Build files
run: yarn run build
run: npm run build
- name: Bump the plugin version
run: |
CURRENT_VERSION=$(node -p -e "require('./package.json').version")
COMMIT_HASH=$(git rev-parse --short HEAD)
DEV_VERSION="${CURRENT_VERSION}-dev.${COMMIT_HASH}"
npm run grunt version::${DEV_VERSION}
- name: Create zip
run: yarn run dist
run: npm run dist
- name: Retrieve branch name
id: retrieve-branch-name
run: echo "::set-output name=branch_name::$(REF=${GITHUB_HEAD_REF:-$GITHUB_REF} && echo ${REF#refs/heads/} | sed 's/\//-/g')"
Expand Down Expand Up @@ -66,6 +66,8 @@ jobs:
pr_number: ${{ steps.get-pr-number.outputs.num }}
comment_body: ${{ steps.get-comment-body.outputs.body }}
steps:
- name: Check out source files
uses: actions/checkout@v6
- name: Get PR number
id: get-pr-number
run: echo "::set-output name=num::$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')"
Expand All @@ -80,8 +82,19 @@ jobs:

- name: Get comment body
id: get-comment-body
env:
GITHUB_REPO_NAME: ${{ github.event.pull_request.base.repo.name }}
DEV_ZIP_BRANCH_NAME: ${{ needs.dev-zip.outputs.branch-name }}
DEV_ZIP_GIT_SHA_8: ${{ needs.dev-zip.outputs.git-sha-8 }}
GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: |
body="Plugin build for ${{ github.event.pull_request.head.sha }} is ready :bellhop_bell:!
previewLink=$(node ./bin/generatePlaygroundPreviewLink.js)

body="
> [!TIP]
> You can preview the changes in the <a href=\"$previewLink\" target=\"_blank\">Playground</a>

Plugin build for ${{ github.event.pull_request.head.sha }} is ready :bellhop_bell:!
- Download PPOM - [build 🔗](https://verti-artifacts.s3.amazonaws.com/${{ github.event.pull_request.base.repo.name }}-${{ needs.dev-zip.outputs.branch-name }}-${{ needs.dev-zip.outputs.git-sha-8 }}/woocommerce-product-addon.zip)"
body="${body//$'\n'/'%0A'}"
echo "::set-output name=body::$body"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/create-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ jobs:
if: "! contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- uses: actions/checkout@master
with:
persist-credentials: false
- name: Build files using ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache: "npm"
- name: Release new version
id: release
run: |
yarn install --frozen-lockfile
npm ci
composer install --prefer-dist --no-progress --no-suggest
yarn run build
yarn run release
npm run build
npm run release
env:
CI: true
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/deploy-s3-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup node 18
uses: actions/setup-node@v4
- name: Setup node 20
uses: actions/setup-node@v6
with:
node-version: 18.x
cache: "yarn"
node-version: 20.x
cache: "npm"
- name: Build & create dist/artifact
run: |
yarn install --frozen-lockfile
npm ci
composer install --no-dev --prefer-dist --no-progress --no-suggest
yarn run build
yarn run dist
npm run build
npm run dist
- name: Upload Latest Version to S3
uses: jakejarvis/s3-sync-action@master
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-svn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
- uses: actions/checkout@master
- name: Build
run: |
yarn install --frozen-lockfile
yarn run build
npm ci
npm run build
composer install --no-dev --prefer-dist --no-progress --no-suggest
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
env:
SVN_PASSWORD: ${{ secrets.SVN_THEMEISLE_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_THEMEISLE_USERNAME }}
SVN_USERNAME: ${{ secrets.SVN_THEMEISLE_USERNAME }}
12 changes: 5 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,21 @@ jobs:
fail-fast: false
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@master
- uses: actions/setup-node@v6
with:
node-version: "18"
cache: "yarn"
node-version: "20"
cache: "npm"
- name: Install NPM deps
run: |
yarn install --frozen-lockfile
npm ci
npm install -g playwright-cli
npx playwright install --with-deps chromium
- name: Install composer deps
run: composer install --no-dev
- name: Install environment
run: |
npm run wp-env start
- name: Prepare Database
run: bash ./bin/e2e-after-setup.sh
- name: Run the tests
run: |
npm run test:e2e
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Sync branches
on:
push:
branches:
- 'master'
- "master"
jobs:
sync-branch:
runs-on: ubuntu-latest
Expand All @@ -19,4 +19,4 @@ jobs:
type: now
from_branch: master
target_branch: development
github_token: ${{ secrets.BOT_TOKEN }}
github_token: ${{ secrets.BOT_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/sync-wporg-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches:
- master
paths:
- 'readme.txt'
- '.wordpress-org/**'
- "readme.txt"
- ".wordpress-org/**"
jobs:
run:
runs-on: ubuntu-22.04
Expand Down
30 changes: 22 additions & 8 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@
name: Phpunit
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@master
- uses: actions/setup-node@v6
with:
node-version: "18"
cache: "yarn"
node-version: "20"
cache: "npm"
- name: Install NPM deps
run: |
yarn install --frozen-lockfile
npm ci
- name: Install composer deps
run: composer install
- name: Install environment
run: |
npm run wp-env start
- name: Prepare Database
run: bash ./bin/e2e-after-setup.sh
- name: Run the tests
run: |
npm run test:unit:php
Expand All @@ -40,9 +38,25 @@
php-version: "7.4"
extensions: simplexml
- name: Checkout source code
uses: actions/checkout@v4
uses: actions/checkout@master
- name: Install composer
run: |
composer install --no-progress
- name: Run phpstan
run: composer run phpstan
phpcs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- name: Setup PHP version
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
extensions: simplexml
- name: Checkout source code
uses: actions/checkout@master
- name: Install composer
run: |
composer install --no-progress
- name: Run linter for PHP
run: composer run lint

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium test

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +48 to +62
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ vendor
languages/woocommerce-product-addon.pot
*.log
artifacts
.phpunit.result.cache
.phpunit.result.cache
tests/e2e/fixtures/generated/
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/*.min.js
**/*.bundle.js
js/inputmask/**
js/select2.js
js/sweetalert/**
backend/assets/**
22 changes: 16 additions & 6 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
{
"plugins": [
"https://downloads.wordpress.org/plugin/woocommerce.9.3.3.zip",
"."
],
"phpVersion": "8.1"
}
"$schema": "https://schemas.wp.org/trunk/wp-env.json",
"plugins": [
"https://downloads.wordpress.org/plugin/woocommerce.zip",
"."
],
"config": {
"WP_DEBUG": true,
"WP_DEBUG_LOG": true,
"WP_DEBUG_DISPLAY": false,
"SCRIPT_DEBUG": true
},
"mappings": {
"wp-content/mu-plugins": "./bin/wp-env/mu-plugins"
},
"phpVersion": "8.1"
}
Loading
Loading