=== Joyvo Product Designer ===
Contributors: joyvo
Tags: woocommerce, product designer, print on demand, printful, personalization
Requires at least: 6.0
Tested up to: 7.2
Requires PHP: 7.4
Stable tag: 1.17.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Customers design products on your WooCommerce store. With Pro, orders go to your own Printful, Printify or Gelato account to print and ship.

== Description ==

**Let every shopper design their own product on your store - and get each order made without retyping a thing.**

https://www.youtube.com/watch?v=PM0FAzwR_HY

Joyvo Product Designer puts a full product designer inside WooCommerce. Shoppers add text, art and photos, see every side and color live, approve a proof and buy. Every order arrives with the approved design and a print-ready file for every printed side.

= How it works =

1. **Connect in one click** - press Connect with Joyvo, sign in, done. No key to copy.
2. **Switch the designer on** - tick "Customers can design this" on any product. A Customize button appears.
3. **Shoppers design and approve** - text, art, photos, every side and color, then a proof they approve before buying.
4. **The order makes itself** - print it yourself from the files, have Joyvo print and ship it, or with Pro send it straight to your own Printful, Printify or Gelato account.

= Why store owners choose it =

* **Orders that make themselves** - the right size, color and a print file for every side, on every order.
* **Made for phones** - a touch toolbar and a sheet for every tool, so shoppers design as easily on a phone as on a computer.
* **Every side, every color** - front, back, sleeves and labels each keep their own design, with a live color preview and a 3D view.
* **Print-ready files** - each printed side at its real size, up to 300 DPI, with a print check that flags blurry photos.
* **Never breaks your theme** - the designer opens in place and loads no scripts into your store's pages.
* **Your brand, not ours** - your logo in the designer, or no brand at all with Pro.
* **Free to start** - the designer, customer proofs, saved designs and print files cost nothing.

= What your shoppers get =

* **A designer right on your product page** - they never leave your store.
* **Text that looks great** - 64 fonts, curved text in 9 shapes, outline, shadow, glow and neon effects.
* **Their own photos and art** - photos, SVG, PDF, AI, EPS and PSD uploads, with background removal and crop.
* **Ready-made starting points** - 24+ templates, clipart, icons, shapes and free stock photos.
* **AI help** - describe a design and AI creates it.
* **QR codes and barcodes** - sharp at any size, including trackable QR codes.
* **A live price and a proof** - the price follows the design, and they approve a proof before it goes on the order.
* **My designs** - every approved design kept in My Account, ready to edit and order again.

= What you get =

* **Your rules per product** - which print areas, techniques, tools and templates shoppers see.
* **Hundreds of products, or your own blanks** - apparel, hats, mugs, bags and more, or photograph the garments you stock and mark the print areas.
* **Printing, embroidery and direct-to-film** - with thread colors for embroidery.
* **Pricing that fits how you sell** - a price per print area, ink-color setup fees, quantity breaks, rush and turnaround options, and sizes priced by area.
* **Production made easy** - a production queue from New to Printing to Done, real-size PDFs with bleed and crop marks, CMYK files and a one-page production sheet.
* **Approve before it prints** - optionally hold each paid order until you have checked the design.
* **Quotes** - customers design and request a quote; you price it and they pay from a link.
* **A 3-step setup** - with ready sample products made for you as drafts: T-shirts, business cards, flyers, postcards, stickers and more.

= Print with Printful, Printify or Gelato =

With Designer Pro, connect your own print-on-demand account and every paid order is created there automatically:

* **Printful** - the right product, size and color, and a print file for every printed side.
* **Printify** and **Gelato** - connect the same way and set each product's print service product once.
* **Your account, your cost** - you set your prices and keep your margin.
* **You choose** - hold each order for you to confirm, or send it straight to production.
* **No account? No problem** - print orders yourself, or have Joyvo print and ship them for you.

= Free and Pro =

**Free**

* The designer on every product: text, art, uploads, AI, templates, every side
* Proof approval by the customer before they buy
* Saved designs in My Account, Edit again, designs kept through sign-in
* Print-ready files for every side on each order
* Send paid orders to Joyvo to print and ship, or print them yourself

**Pro - Designer Pro, All-in-one or Agency**

* Your own Printful, Printify or Gelato account - orders go there at your cost
* The Product Builder: options, sizes priced by area, minimum prices, turnaround, starter price sheets and a price tester
* Quotes: "Request a quote" products, priced by you, paid by a link
* Approve each design before it prints, a production queue, a "ready to produce" email and signed webhooks
* Print-ready PDF with crop marks, CMYK TIFF and a production sheet per order
* Your brand only - no Joyvo branding in the designer
* Reminders for designs customers kept but never ordered

= What it does =

**On your store**

* A Customize button on any product you choose - the designer opens in place
* A "Design yours" button anywhere on your site - shortcode, block or Elementor widget
* The color and size picked on the product page open the designer already set to them
* Sold-out colors and sizes of products Joyvo prints are marked, cannot be picked and are refused at the cart and checkout
* A setup checklist that shows what is done and what is left

**Products**

* Every side - front, back, sleeves, labels and more - each with its own design
* Every color previewed live, two-tone colors shown as split swatches
* Product info in the designer: price, every color and the price of every size
* Edit a blank once and every product using it changes
* A library of standard print sizes at real size with bleed: business cards, flyers, postcards, stickers, labels and posters

**Text**

* 64 fonts with color, size, spacing and alignment, edited right on the product
* Curved text: arc up, arc down, circle, wave, bridge, flag, inflate, S-curve and spiral
* Text effects: outline, shadow, glow, neon and retro
* Upload your own fonts (.ttf, .otf, .woff)

**Images and art**

* 8 photo filters and photo masks in 8 shapes
* Clipart and icons with every color changeable
* Freehand drawing with pencil, spray, circle brush and eraser
* QR codes for a website, phone, text, email or Wi-Fi, contact-card QR codes and trackable QR codes
* Barcodes: Code 128, EAN-13 and UPC-A
* Describe a picture and AI paints it

**Editing**

* Layers you can show, hide, lock, duplicate, reorder and delete
* Align, flip, bring forward and send back; move, scale and rotate several parts together
* A grid in inches or centimeters with snap, and the printed size of whatever is selected
* Undo and redo, with the design kept if the page reloads
* A print check before ordering: a photo too small to print sharp is flagged with its real DPI

**Ordering**

* Several sizes in one go, each with its own quantity
* A preview of the design on the product page, in the cart, at checkout and on the order
* Designs made before signing in move to the account on sign-in

**Production**

* Every order carries the approved proof and a print-ready file for every printed side
* Who prints it, per product - products you print yourself never go to the print service
* A signed webhook and a "ready to produce" email when an order is ready to print
* Sell this design: with Joyvo Marketplace, sellers put their artwork on your products at their own price
* A Design column in your orders list

= What it does not do =

* It does not change your prices. WooCommerce charges exactly what you set; the design is attached to the line item.
* It does not touch products you have not switched on.

= Requirements =

A free Joyvo account. The designer and the production side run on Joyvo; this plugin connects them to your WooCommerce store.

== External services ==
This plugin connects to Joyvo (https://www.joyvo.com), which provides the design tool and the printing and fulfillment behind it. The plugin does not function without it.

**When a product linked to a Joyvo blank is shown, added to the cart or checked out.** Your server asks www.joyvo.com/api/products/ for what that blank can still be sold in, sending only the blank's product ID and the country it ships to. No API key and no customer details are sent. Answers are kept for two minutes.

**When the designer is opened.** Your server asks www.joyvo.com/api/plugins/designer/embed-token for a
short-lived link (sending your API key, your site's address and, if set, the Joyvo product ID). Only that
link reaches the page - your API key never does. The design is created inside the frame and, once your
customer approves the proof, saved to your Joyvo account.

**When a design is added to the cart.** The plugin sends the design ID, your API key and your site's domain to www.joyvo.com/api/plugins/designer/verify, to confirm the design exists and belongs to your account. No customer details are sent.

**When an order is paid** (only if you chose to have orders printed for you). The plugin sends to www.joyvo.com/api/plugins/designer/orders: your API key, your site's domain, the WooCommerce order number, the design IDs and quantities on that order, and the shipping name, address, and the billing email address — the details required to produce and deliver the item. This is the only point at which personal data leaves your site, and it happens only for orders that contain a design.

**When you press Connect with Joyvo.** Your server sends www.joyvo.com/api/plugins/connect/start this site's address, the dashboard page to return to and a one-time secret it made, and receives a ten-minute link. You sign in on Joyvo and press Connect; back on your dashboard, your server sends the link's code and its secret to www.joyvo.com/api/plugins/connect/claim and receives your API key, which it keeps like a pasted one. The key never passes through your browser.

**When you save the settings page.** Your API key and your site's domain are sent to www.joyvo.com/api/plugins/init to check the key is valid.

No personal data about your visitors is sent unless they pay for an order.

Joyvo's terms of service: https://www.joyvo.com/terms
Joyvo's privacy policy: https://www.joyvo.com/privacy

== Installation ==

1. Install and activate the plugin.
2. Go to **WooCommerce → Product Designer** and press **Connect with Joyvo**. Sign in (or open a free account), press Connect, and you come straight back, connected - no key to copy. Prefer to paste an API key? That works too.
3. Edit any product, open **Product data → General**, and tick **Customers can design this**.
4. Optionally set a Joyvo product ID to fix which blank it prints on. Leave it empty to let the customer choose.

The product page now shows a Customize button.

== Frequently Asked Questions ==

= Does it work with Printful? =

Yes. With Designer Pro, connect your own Printful account under Who prints the orders in the plugin settings, using the API key from Printful's Settings > API. Each paid order is created in Printful with the right product, size and color and a print file for every printed side - held for you to confirm, or sent straight to production.

= Can I use Printify or Gelato instead? =

Yes, with Designer Pro. Connect your account the same way, then set each designable product's print service product once in Product data > Product Designer (Printify: blueprint id and print provider id; Gelato: the product code).

= Do I need a print-on-demand account at all? =

No. On the free plan you can print orders yourself from the files on each order, or send paid orders to Joyvo to print and ship.

= Will it work with my theme? =

Yes. The designer opens in place on your product page and loads no scripts into your store's pages, so it does not change your theme.

= Does it work on phones? =

Yes. On a phone the designer has a touch toolbar and opens each tool in its own sheet.

= What can my customers design? =

Hundreds of products - apparel, hats, mugs, bags, home goods and more - or your own blanks: photograph the garments you stock and mark each print area. Printing, embroidery (with thread colors) and direct-to-film are supported.

= What is free and what needs Pro? =

Free: the designer on every product, customer proofs, saved designs, print-ready files and sending orders to Joyvo or printing them yourself. Pro (Designer Pro, All-in-one or Agency) adds your own Printful, Printify or Gelato account, the Product Builder, quotes, design approval and a production queue, print PDFs with crop marks, white label and design reminders.

= Do I need a Joyvo account? =

Yes - a free one. The design tool and the printing behind it run on Joyvo. Press Connect with Joyvo in the plugin, sign in or open your account, and the plugin connects itself; nothing to copy.

= Does this change my prices? =

No. WooCommerce charges exactly what you set on the product. The design is attached to the line item; nothing in this plugin can alter what a customer is charged.

= What happens if the hand-off to production fails? =

It is written to the order as a note rather than silently dropped, so you can see it and retry. A production hand-off that fails quietly is how a paid order never ships.

= Will the same order be produced twice? =

No. WooCommerce fires both `processing` and `completed` for the same order, and merchants retry failed hand-offs, so the order is keyed on your store's order number and only ever produced once.

= Can a customer attach someone else's design to their order? =

No. The design reference arrives through the browser, so it is re-checked on the server against the account behind your API key before it is attached to anything.

== Screenshots ==

1. A Customize button on any WooCommerce product - shoppers start designing in one tap.
2. The full designer opens right on your store: text, art, uploads and every print area.
3. The approved design rides along on the cart line, so every order carries exactly what was made.
4. The settings page: your connection confirmed, and who prints your orders.

== Changelog ==

= 1.17.7 - 2026-11-29 =
* Readme: changelog entries now list plugin changes only.

= 1.17.6 - 2026-11-29 =
* Readme: changelog cleanup.

= 1.17.5 - 2026-11-28 =
* Upgrade button text updated.

= 1.17.4 - 2026-11-28 =
* Security hardening: all output is escaped, and every settings form checks its nonce and the user's permission.
* Readme: shorter description; outside services listed in plain text.

= 1.17.3 - 2026-11-25 =
* A clearer plugin page: how it works in four steps, and what shoppers and store owners each get.

= 1.17.2 - 2026-11-25 =
* A short video at the top of the plugin page shows the designer at work, start to finish.

= 1.17.1 - 2026-11-23 =
* The designer opens full screen on every device, with its own Close bar - nothing is cut off. Escape or the Back button closes it.

= 1.17.0 - 2026-11-19 =
* Connect with Joyvo: one click from the plugin's settings or Get started - sign in, press Connect, and you are back in WordPress, connected. No key to copy.
* Pasting an API key still works, for anyone who prefers it.

= 1.16.1 - 2026-11-16 =
* Every script and style now loads from its own file through WordPress (wp_enqueue_script / wp_enqueue_style), instead of being printed into the page.

= 1.16.0 - 2026-11-14 =
* The designer can open on its own page instead of a pop-up: the whole screen, at an address you choose (Settings > Product Designer > Open the designer). /design/product-name by default - any word you like.
* The approved design goes back to the product page and into the cart, exactly as from the pop-up.
* The designer page is kept out of search results and points search engines to the product page.

= 1.15.0 - 2026-11-08 =
* The color and size a shopper picks on the product page now open the designer already set to them.
* Colors and sizes sold out today on products Joyvo prints are marked on the product page, cannot be picked, and are refused at the cart and at checkout.
* US spelling on every screen.

= 1.14.1 - 2026-10-27 =
* The product picture and name in the designer open this store's own product page.

= 1.14.0 - 2026-10-13 =
* New setting, Product page buttons: Customize only (the default) hides Add to cart and the quantity box on products shoppers can design - the approved proof goes straight into the cart. Or keep both to also sell the blank.
* After Use this design the shopper sees "Adding it to your cart..."; a product whose options are not picked yet shows Add to cart again.
* The approved design's picture keeps its size on a phone.

= 1.13.3 - 2026-10-12 =
* The open designer sits above your live-chat button and any other floating button, so nothing covers it.

= 1.13.2 - 2026-10-12 =
* A product's custom-size settings fit a phone - every value has its own label.

= 1.13.1 - 2026-10-12 =
* On a phone the designer fills the whole screen - no strip of the product page around it.

= 1.13.0 - 2026-10-11 =
* Designer look: your brand and toolbar colors (your theme's by default), light or dark, and your own CSS.

= 1.12.1 - 2026-10-11 =
* The designer shows your square site icon at the top, like a native app.

= 1.12.0 - 2026-10-11 =
* The designer shows your logo: your site logo by default, or pick one from your Media Library.
* Design pictures show in your cart, checkout, orders and My designs on every host.

= 1.11.0 - 2026-10-11 =
* The cart and checkout show the shopper's own design as the item's picture.
* The Customize button matches your theme's buttons.

= 1.10.0 - 2026-10-11 =
* Save in the designer - kept in My Account > My designs, before or without buying.
* My designs and your store's cart (with its count) right inside the designer.
* The shopper's avatar in the designer - their Social Login photo - or Sign in, straight back to their design.
* Add to cart puts the approved design straight into the WooCommerce cart.
* Edit design on every cart and checkout line - the new design replaces that line.
* The designer's Close button no longer covers Add to cart.

= 1.9.0 - 2026-10-07 =
* Get started: a 3-step setup with ready sample products (drafts).
* Standard sizes: business cards, flyers, postcards, stickers, folded cards, labels and posters at real size with bleed.

= 1.8.0 - 2026-10-07 =
* Free and Pro: everything to sell designed products stays free; Pro adds the print-shop tools (list above).
* Your plan on the settings page, with Check again - Pro switches on straight after you buy.
* Get the whole suite: the other plugins and the Suite plugin, from this plugin's own page.
* The connect form for your own print account now shows whether it worked.

= 1.7.0 - 2026-10-07 =
* Product options: reusable groups of dropdowns, color swatches, text and number fields, each adding a fixed amount or a percentage, shown only when another choice is made if you like.
* Custom sizes priced by area, a turnaround table, starter price sheets and a price tester on every product.
* The setup checklist flags designable products with no price.
* Quotes, approval before printing, a production queue, who-prints per product, a signed webhook and a ready-to-produce email, abandoned-design reminders and a Design column in the orders list.

= 1.6.0 - 2026-10-07 =
* Every printed side gets its own print-ready file - front, back, sleeves - each sent to its own print area, and each one on the order screen.
* Price each print area on its own (front=0, back=5, sleeve_left=3), or keep one fee per extra area.
* The cart shows which sides are printed.
* Production files on every order: each printed side as a real-size PDF with crop marks or CMYK, and a one-page production sheet.
* A "Design yours" button for any page: [joyvo_design_button product="123"], a block or an Elementor widget.
* Connect your own Printful, Printify or Gelato account - set each product's print service product once, and paid orders go straight there.

= 1.5.0 - 2026-10-07 =
* Saved designs: every design a shopper approves is kept in My Account > My designs, with Edit again and Remove.
* Edit again opens the designer on that product with the design loaded - change it and order more.
* Designs made before signing in move to the account on sign-in; one-tap sign-in buttons show right where the design
  was saved (with Joyvo Social Login).

= 1.4.0 - 2026-10-04 =
* Connect your own print-on-demand account: every paid order is created there with the right variant, the
  print-ready file and the shipping address - as a draft to review, or straight to production.

= 1.3.0 - 2026-10-04 =
* My blanks: add the garments you stock - a photo per color per side, drag to mark each print area, set
  its real width - and create the WooCommerce product in one click.
* Your own artwork, your logo in the designer (or no branding at all), and a print-quality check before
  your customer approves.

= 1.2.0 - 2026-10-04 =
* A Designer tab on every product: choose the print areas, techniques, tools and template categories.
* Pricing for print shops: per extra print area, screen setup per ink color, quantity breaks, rush.
* Every paid order also lands in your CRM - customer and order - whoever prints it.

= 1.1.0 - 2026-10-04 =
* Customers approve a proof before the design goes on their order.
* Print it yourself: every order carries the approved proof and a print-ready file - or send paid
  orders to be printed and shipped for you.
* Your API key now stays on your server; the designer opens with a short-lived link.
* The approved design shows on the product page, in the cart and on the order.

= 1.0.0 =
* First release: customers design a product on your WooCommerce store - text, art, uploads and AI -
  and the design travels with the order.

== Upgrade Notice ==

= 1.16.1 =
Scripts and styles load the standard WordPress way. No settings change.

= 1.16.0 =
Optional: open the designer on its own full-screen page at your own address.

= 1.0.0 =
First release.
