WooCommerce Conditions
If you've got WooCommerce running on your site, Popup Maker adds a special set of WooCommerce conditions to your popup's Targeting settings. This help guide will go over each of these conditions.
Since there are so many WooCommerce items that Popup Maker can target, we've grouped them into the following categories:
- WooCommerce (specific pages or endpoints provided by the plugin) #
- Products #
- Product Categories #
- Product Tags #
- Product Shipping Classes #
To get started, edit your popup and head over to Popup Settings > Targeting under the popup editor.
WooCommerce #
- All WooCommerce
- This Condition loads the popup on all WooCommerce Pages.
- Shop Page
- Loads the popup on only the Shop Page.
- Cart Page
- Loads the popup on only the Cart Page.
- Checkout Page
- Loads the popup on only the Checkout Page.
- Account Page
- Loads the popup on only the Account Page.
- Is Endpoint Conditions - When a user hits a certain stage within a WooCommerce site, WC refers to that as an endpoint. The following Popup Conditions will load popups only on these endpoints within WooCommerce. Read more about WC Endpoints.
- order-pay
- order-received
- view-order
- edit-account
- edit-address
- lost-password
- customer-logout
- add-payment-method
[ Back to top ]
Products #
- Products Archive
- This Condition will load the popup on the Products Archive Page only.
- All Products
- Loads the popup on only the Products Pages.
- Products: Selected
- Loads the popup on only the Product Pages you select. Select Product Page(s) by typing and clicking what is available.
- Products: ID
- This works the same as Products: Selected, but uses Product IDs instead.
- Products: With Product Category
- Loads the popup on only Product Pages that have the Category(s) that you choose here.
- Products: With Tag
- This condition targets products tagged with the tags you select here.
- A popup with this condition can display on any page that has a product with the tag you select. E.g.: individual product pages, shop pages, archive pages, category pages, and tag pages.
- Not to be confused with the Product Tags: Selected condition further below.
- If you only want the popup to show on individual product pages, you'll need to add negative (!) or not conditions for all collection pages using AND operators. Here's an example.
- Products: With Shipping Class
- Loads the popup on only Product Pages that have the Shipping Class(s) that you choose here.
[ Back to top ]
Product Categories #
- Product Categories: All
- Loads the popup on all Product Pages that have a Category. Uncategorized Products will not load a popup.
- Product Categories: Selected
- Loads the popup on only Product Pages that have the Category(s) that you choose here.
- Product Categories: IDs
- This is the same as Categories: Selected, but uses IDs instead.
[ Back to top ]
Product Tags (not to be confused with Products: With Tag) #
These targeting rules isolate the actual product tag not products with a certain tag. To target products with certain tags, see the Products: With Tag condition.
- Product Tags: All
- Loads the popup on all product tag pages that have a tag. Untagged products will not load a popup.
- Product Tags: Selected
- This condition loads the popup on product tag archive pages for the tags you select.
- Good (popup will show): https://twenty-twentyone.local/product-tag/accessories/
- Bad (popup will not show): https://twenty-twentyone.local/product/violin/
- Product Tags: IDs
- This is the same as Product Tags: Selected, but uses IDs instead.
[ Back to top ]
Product Shipping Classes #
- Product Shipping Classes: All
- Loads the popup on all Product Pages that have a Shipping Class. Products without a Shipping Class will not load a popup.
- Product Shipping Classes: Selected
- Loads the popup on only Product Pages that have the Shipping Class(s) that you select here.
- Product Shipping Classes: IDs
- This is the same as Shipping Classes: Selected, but uses IDs instead.
[ Back to top ]