PrintAura for WooCommerce

Description

PrintAura is a print-on-demand service. A PrintAura product often comes in many colors and many sizes, so it can have more than 30 variations.

WooCommerce treats a product with more than 30 variations differently on its product page. Up to 30, the dropdowns offer only the combinations that exist: pick a color and the size list shows only that color’s sizes. Above 30, the dropdowns list every color and every size, and a shopper who picks a combination that does not exist is told so only after picking it.

Until now the fix was a line of code added to the shop by hand. With this plugin active, every product’s dropdowns offer only the combinations that exist, however many variations it has. There is nothing to set up.

What the plugin does:

  • It raises WooCommerce’s variation limit (the woocommerce_ajax_variation_threshold filter) for each product to that product’s own number of variations.
  • It never lowers a limit your shop already sets higher.
  • It stores nothing. Deactivate it and your shop behaves exactly as it did before.

The plugin works for every variable product on the shop, not only PrintAura’s.

Connecting your shop to PrintAura

While your shop is not connected, the Plugins screen shows a “Connect to PrintAura” button. It opens PrintAura, where you sign in, check the shop and the PrintAura store named on the page, and click Connect. You then approve PrintAura on your shop, as you would when connecting from PrintAura.

If the connection breaks (PrintAura’s order notifications are turned off or missing, or PrintAura has not been able to sign in to your shop for over a day), your shop’s admin shows a notice with a Reconnect button. Reconnecting takes you through the same steps. PrintAura never connects or reconnects your shop by itself.

The plugin’s row on the Plugins screen has a link to PrintAura: “Connect to PrintAura”, “Reconnect”, or, while the shop looks connected, “Check PrintAura connection”. (While PrintAura waits for the one-time code, there is none: finish with the code instead.) If you removed the shop in PrintAura, your shop still holds PrintAura’s webhooks and key, so for up to a day it cannot tell; that link opens PrintAura, which says whether the shop is connected and lets you connect it again.

The plugin works out the connection’s state from your shop’s own database: the webhooks WooCommerce holds for PrintAura and the API keys you approved for it. It stores nothing.

Health checks

When PrintAura checks your connected shop, it also reads a short health report from the plugin, using the API key you approved for PrintAura. The report says only how PrintAura’s webhooks on your shop are doing: for each one, the PrintAura connection it belongs to, its topic (for example “order.created”), whether WooCommerce has it on, and how many deliveries to PrintAura have failed in a row. It holds no order, product, customer or settings data. If your shop’s deliveries to PrintAura keep failing (a security or caching plugin, or your host’s firewall, can block them), your shop’s admin tells you, and PrintAura shows it on the shop’s page.

External services

The plugin itself sends nothing to PrintAura or to any other site, and loads nothing from another site. PrintAura reads the health report described above (wp-json/wc-printaura/v1/health) when it checks your shop, with the API key you approved for it; the route answers only a user who can manage WooCommerce.

The “Connect to PrintAura”, “Reconnect” and “Check PrintAura connection” buttons and links are links to PrintAura (https://app.printaura.com), the print-on-demand service this plugin is for. Only when you click one does your browser open PrintAura’s connect page, with your shop’s address in the link, so PrintAura can show you which shop you are connecting. What happens after that is between you and PrintAura, under its terms of service (https://printaura.com/terms-of-service/) and privacy policy (https://printaura.com/privacy-policy/).

Installation

  1. In your shop’s admin, go to Plugins, then Add New Plugin, and search for “PrintAura for WooCommerce”.
  2. Click Install Now, then Activate.

WooCommerce must be installed and active.

FAQ

Do I need this plugin to connect my shop to PrintAura?

No. You can connect your shop from PrintAura without it. With the plugin, you can also connect from your shop’s admin, and you are told there if the connection breaks.

I already added the code snippet from PrintAura’s guide. Should I remove it?

You can keep it or remove it. The plugin uses whichever limit is larger.

Does a product with many variations make the page slower?

The product page includes the data for every variation, so a page for a very large product is larger than before. This is the same trade WooCommerce makes for every product with 30 or fewer variations.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“PrintAura for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.2.2

  • The Plugins screen shows a link to PrintAura beside Deactivate whenever the shop looks connected too (not while PrintAura waits for the one-time code), so you can connect again after removing your shop in PrintAura (for up to a day your shop cannot tell that it was removed).

1.2.1

  • While PrintAura waits for the one-time code after you approve it, the notice says how to finish connecting (and where the code is) instead of calling the connection broken.

1.2.0

  • A health report PrintAura reads when it checks your shop (only the state of PrintAura’s webhooks), and a notice in your shop’s admin when your shop cannot reach PrintAura.

1.1.0

  • Connect to PrintAura from your shop’s admin, and a Reconnect notice when the connection breaks. Both are links: the plugin still sends nothing by itself.

1.0.0

  • First release: raises WooCommerce’s variation limit for each product to its own number of variations.