AEGIS Pinterest for WooCommerce Conditions
Add-on for Pinterest for WooCommerce. Set a product's Pinterest condition to New, Used, or Refurbished from the classic product editor, or apply one condition to every variation. Compatible with PHP 8.0 through 8.5.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/gambitmutant/aegis-pinterest-for-woocommerce-conditions/releases/download/v1.3.4/aegis-pinterest-for-woocommerce-conditions.zipCredit and terms
The AEGIS Alliance is the original author, creator, and developer of this repository.
- Original repository: https://github.com/GambitMutant/aegis-pinterest-for-woocommerce-conditions
- Forks, copies, derivative works, and any other reuse must credit The AEGIS Alliance, link to that original repository in the README and the repository description, and keep the donation information in this repository intact and unmodified.
- Use is subject to the AEGIS Source-Available License (also in TERMS.md). This project is source-available, not open source under the Open Source Initiative definition. Unauthorized use that violates the license is not allowed.
Add-on for Pinterest for WooCommerce that sets a product's Pinterest condition from the classic product editor.
- Simple products: set New, Used, or Refurbished on that product.
- Variable products: apply one condition to every variation of that product.
- Do not change: leave existing values alone.
Author: Gambit Mutant
Version 1.3.4 · AEGIS Source-Available License. Earlier releases stay under GPL-2.0-or-later.
Donations
Donations support The AEGIS Alliance's project funding. A secondary purpose of donations is business operations funding.
| AEGIS News | theaegisalliance.com |
| AEGIS Shop | shop.theaegisalliance.com |
| PayPal | username aegisalliance |
| Venmo | username aegisalliance |
| Zelle | username aegisalliance |
| Cash App | $aegisalliance |
| Crypto accepted at Coinbase | |
| USDC | 0x39C7e115C4184f2E646D44E3681A87a22a93341B |
| BTC | 3PCJwFfVytUCW2mfgUgKbjWmqsYvTzgCH1 |
| ETH | 0xcD8B620962e9ff4a098c4134f1C82fDf96236F87 |
| DOGE | DAo22guf8pmNcF1V7FvuqrXTgy2khuPysB |
| USDT | 0x4aF2eE05A313c8a8dd53EdA87DDA69F3E375c3B5 |
Requirements
| Software | This plugin | Notes |
|---|---|---|
| WordPress | 6.2 or newer, tested up to 7.1.3 | Pinterest for WooCommerce 1.5.4 itself requires WordPress 7.0. |
| PHP | 7.4 or newer, compatible with 8.0 through 8.5 | No PHP 8-only syntax. PHP 8 string checks guard stored meta. The October 21, 2026 flaws (CVE-2026-109618, CVE-2026-109619) are in PHP itself. Safe releases are 8.2.35, 8.3.36, 8.4.27, and 8.5.12 or newer. PHP 8.4.26 is not safe. This plugin cannot patch PHP. |
| WooCommerce | 7.1 or newer, tested up to 11.2 | Current patch of that line is 11.2.1. Pinterest for WooCommerce 1.5.4 requires WooCommerce 11.1. |
| Pinterest for WooCommerce | Tested with 1.5.4 | Any release that stores _wc_pinterest_condition works the same way. |
WordPress 6.5 and newer also reads the plugin header Requires Plugins: woocommerce, pinterest-for-woocommerce and will ask for both before activation.
Install
- Install and activate WordPress, WooCommerce, and Pinterest for WooCommerce.
- If WooCommerce Pinterest Condition Bulk Updater is still installed, deactivate and delete it first. Do not run both.
- On the Releases page, download
aegis-pinterest-for-woocommerce-conditions.zip. Do not install the "Source code" zip. - In wp-admin open Plugins → Add New Plugin → Upload Plugin, choose the zip, install, and activate.
To install by hand, unzip the package so this path exists, then activate the plugin:
wp-content/plugins/aegis-pinterest-for-woocommerce-conditions/aegis-pinterest-for-woocommerce-conditions.php
Use it
- Go to Products → All Products and edit a product in the classic product editor.
- Open the General tab (price and tax live here).
- Find Update Pinterest Condition. On a variable product the heading is Bulk Update Variation Pinterest Condition.
- The line under the heading shows the current condition when the product, or all of its variations, already share one. The dropdown still starts on Do not change.
- Choose New, Used, or Refurbished only when you want to write a condition.
- Click Update (or Publish).
- A success notice tells you the product was updated, or how many variations were updated.
- Optional: confirm it on the product's Pinterest tab (simple products) or on each variation (variable products). Pinterest picks the value up on its next catalog sync.
How it works
Pinterest for WooCommerce stores condition in post meta:
| Meta key | _wc_pinterest_condition |
| Allowed values | new, used, refurbished |
| Simple product | meta is stored on that product |
| Variable product | meta is stored on each variation, not on the parent |
That key is what Pinterest for WooCommerce 1.5.4 builds in AttributeManager: the attribute id condition is prefixed with _wc_pinterest_. The official plugin applies condition to the simple and variation product types. This add-on writes the same key and does not change feed generation, the Pinterest tag, API calls, prices, or the Google product category.
On save, WooCommerce fires woocommerce_update_product. This plugin then:
- Ignores autosaves and requests that did not include its field.
- Verifies the
pinterest_condition_updatenonce. - Requires the
edit_productcapability for that product. - Accepts only
new,used, orrefurbished. Anything else, including Do not change, is ignored. - Writes the meta with
update_post_meta. - Stores a plain-text success notice for the current user for 30 seconds.
Uninstall does not delete condition meta. Those values belong to the catalog.
Themes and plugins
Nothing from this plugin loads on the public site. It does not add CSS, JavaScript, template overrides, rewrite rules, or custom tables, and it does not touch orders, cart, or checkout. Theme layout, page cache, and frontend optimization plugins have nothing of ours to conflict with.
It is built to sit beside common stores:
- Themes: Storefront, Astra, Kadence, GeneratePress, OceanWP, Blocksy, Flatsome, Hello Elementor, Divi, Bricks, and the default WordPress themes.
- Other product fields: the control is a normal General-tab
options_group. It does not remove fields other extensions add. - SEO: Yoast, Rank Math, SEOPress.
- Cache: WP Rocket, LiteSpeed Cache, W3 Total Cache, Autoptimize, FlyingPress. No cache purge is required for this plugin. Pinterest's feed job reads the meta later.
- Security plugins: Wordfence, Solid Security, Sucuri, Patchstack. Saves are gated by a nonce, a capability check, and an allowlist. If a firewall blocks admin form posts, allow normal product updates on
post.php. - Multisite: network-activated WooCommerce and Pinterest for WooCommerce are detected, not only plugins turned on for one site.
- WooCommerce features: compatible with HPOS (custom order tables) and Cart and Checkout Blocks, because this plugin never reads or writes them.
A product screen that never fires woocommerce_product_options_general_product_data will not show the dropdown. Use the classic product editor, or set _wc_pinterest_condition yourself to new, used, or refurbished.
Product types other than variable are saved on the product itself, the same as a simple product. Pinterest may still skip types it does not put in the catalog. This plugin does not change that.
Privacy
No phone-home, no tracking pixels, and no catalog data leaves the site because of this plugin. Condition values stay in the WordPress database.
Security
See SECURITY.md. Report a vulnerability to gambit@theaegisalliance.com.
Changelog
1.3.4
- Confirmed compatibility with PHP 8.0 through 8.5.
- wp-admin warns when PHP is older than 8.2.35, 8.3.36, 8.4.27, or 8.5.12. Those releases fix CVE-2026-109618 and CVE-2026-109619. The flaws are in PHP, not in this plugin.
1.3.3
- Added the AEGIS Source-Available License as LICENSE. TERMS.md is the same license.
1.3.2
- Added TERMS.md. Forks must credit The AEGIS Alliance, link to the original repository, and keep the donation information intact.
- This release is source-available. Earlier releases remain under GPL-2.0-or-later.
1.3.1
- Updated the Coinbase donation addresses. Bitcoin is
3PCJwFfVytUCW2mfgUgKbjWmqsYvTzgCH1. Dogecoin isDAo22guf8pmNcF1V7FvuqrXTgy2khuPysB.
1.3.0
- Renamed to AEGIS Pinterest for WooCommerce Conditions.
- Author is Gambit Mutant. Plugin URI points at this repository.
- Added installation, usage, how-it-works, and donation documentation.
- Tested-up-to headers: WordPress 7.1.3, WooCommerce 11.2, alongside Pinterest for WooCommerce 1.5.4.
- PHP 7.4 through 8.5, without PHP 8-only syntax, plus guards around stored meta.
- Saves are limited to
new,used, andrefurbished. Nonce andedit_productchecks stay in place. - Dependency detection covers Multisite network activation and loaders that change the active-plugin list.
- Declares WooCommerce HPOS and Cart and Checkout Blocks compatibility.
- Notice when WooCommerce or Pinterest for WooCommerce is inactive.
- Uninstall still leaves condition meta untouched.
1.2.3
Earlier release, distributed as WooCommerce Pinterest Condition Bulk Updater by The AEGIS Alliance.
License
AEGIS Source-Available License, starting with version 1.3.2. TERMS.md is the same license. Earlier releases stay under GPL-2.0-or-later. Copyright 2025–2026 Gambit Mutant and The AEGIS Alliance.
Releases
5 releases. Each count is every asset in that release; expand a row for the breakdown.