=== Envo Blocks – Store Templates, Blocks & Layouts for WooCommerce ===
Contributors: envothemes
Tags: woocommerce blocks, woocommerce templates, woocommerce, product filter, wishlist
Requires at least: 6.7
Tested up to: 7.2
Requires PHP: 7.4
Stable tag: 1.8.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

WooCommerce blocks and WooCommerce templates for the block editor: store setup wizard, product filters, wishlist, store layouts, PDF invoices.

== Description ==

Envo Blocks adds **WooCommerce blocks** and ready-made **WooCommerce templates** to the block editor (Gutenberg) – build a complete store in 5 minutes, no page builder needed.

* **41 WooCommerce blocks** – product filters, wishlist, product tabs, FAQ, tax switcher, sticky column and more.
* **12 free WooCommerce templates** with all their pages, plus 123 page sections and 140 block presets.
* **Store in 5 minutes** – a setup wizard builds the whole store in your brand colour.
* **Store layouts** – your own product page, shop, cart and checkout made of blocks.

= Store in 5 minutes =

A setup wizard (Envo Blocks › Store in 5 minutes) builds the whole store for you: pick the theme (our free Envo Blocks Store is recommended, any block theme works), one of the templates and your brand colour – with a live preview of every page – and the wizard creates the pages with your own products, sets the front page, the header and footer, your store name or logo and the colours of the whole site. An optional "Your store" step sets the country, currency, payment and shipping basics and the store pages, and can add a few sample products. "Undo everything" puts the site back as it was.

12 free templates are included; with Envo Blocks PRO all 118 PRO templates as well. New templates of the template library appear in the wizard without a plugin update.

= Templates, sections and presets =

* **Templates Import** in the editor: [12 free templates](https://demos.envoblocks.com/template-demos/) with their pages (home, About us, Help, Contact…), 123 page sections and 140 block presets.
* One-click import with or without the header and footer; required plugins and the recommended theme are shown with their status.
* Only the layout, texts and settings are imported – the blocks show the products of your own store.
* Our free [Envo Blocks Store](https://wordpress.org/themes/envo-blocks-store/) theme installs and activates from WordPress.org right in Templates Import, with one click.

= Store Layouts =

Give the product page, shop and categories, cart, checkout, order received page, My account and the side cart your own design, made of blocks – in block and classic themes. Start from 33 free designs in several colours (see the [layout demos](https://demos.envoblocks.com/layout-demos/)), change anything in the editor, and the theme header and footer stay. The checkout can be distraction-free: your logo, a secure checkout note and a link back to the cart instead of the menu. The side cart slides in after Add to cart with the cart items, the free shipping progress and the totals.

= Wishlist =

A heart button on product pages and in product lists saves products for later – for guests (in the browser) and for customers (in their account, on every device). The wishlist page lists them with price, stock and Add to cart. Choose the page in WooCommerce settings, and the look of the button and the list in the blocks.

= PDF invoices =

Invoices, credit notes and packing slips for WooCommerce orders, made on your site:

* presets for 18 countries with the right words, tax IDs and tax texts – and editable labels for any other country;
* numbers without gaps (yearly, monthly or one series), documents that never change once issued, credit notes for refunds and "Cancel and reissue";
* the PDF in the order e-mails, a download button in My account and the Invoice Download block, bulk issuing in the orders;
* the tax summary per rate, the total in words, a payment QR code on unpaid bank transfer invoices, right-to-left documents and font packs for Japanese, Chinese, Korean, Indian scripts, Arabic, Hebrew and Thai.

= Product filters =

The Product Filter and Active Filters blocks filter the shop, the categories and the search by price (slider), category, attribute (color, size…), rating and stock, with the number of products of every option. Chosen filters show as chips with "Clear all". Filtered lists have their own address, so they can be shared.

= More store features =

* **Lowest price (EU Omnibus)** – the price history of every product and variation and "Lowest price in the last 30 days" under discounted prices.
* **Prices with or without tax** – the Tax Switcher block lets visitors switch every price of the store between with and without VAT (when WooCommerce calculates taxes).
* **Checkout Fields** – show, hide, rename, reorder and make required the checkout fields and add your own text, select and checkbox fields, for the block and the classic checkout.
* **Product Tabs** – Description, Reviews, your own tabs and the tabs of other plugins in any order, as tabs or an accordion, plus own tabs for each product.
* **Product videos** – YouTube, Vimeo, Dailymotion or your own video in the product gallery; the player loads only after a click.
* **Product questions** – customers ask on the product page, you answer in the admin, the answer goes out by e-mail and shows for everyone.
* **Review photos** – customers add photos to their reviews (saved as small WebP without GPS data); the Customer Photos block shows them as a gallery.
* **Catalog mode** – hide prices and Add to cart for everyone, for visitors who are not signed in, or in chosen categories.
* **Product feed** – one XML feed for Google Merchant Center and the Meta catalog with prices, stock, images and variations, updated every hour.
* **FAQ** – questions that open and close, with FAQPage data for search engines.
* **Form Styler** – a form of Contact Form 7, WPForms, Fluent Forms, Ninja Forms, Formidable Forms, Forminator or Gravity Forms in the look of your site: field style, two columns, the button and your colors.
* **Payment QR Code** – a QR code for bank transfer orders (SPD for CZK, EPC / SEPA for EUR) on the thank-you page and in the e-mails.
* **Entrance animations** for any block, also the blocks of WordPress, WooCommerce and other plugins.

= Blocks =

Product Filter, Active Filters, Product Tabs, FAQ, Form Styler, Language Switcher, Product Questions, Customer Photos, Lowest Price, Tax Switcher, Wishlist, Free Shipping Progress, Stock Indicator, Delivery Estimate, Trust Badges, Features Bar, Coupon Code Box, Rating Summary, Recently Viewed Products, Order Tracking, Size Guide, Payment QR Code, Invoice Download, Pricing Table, Advanced Heading, Parallax Section, Sticky Column, Announcement Bar, Countdown, Opening Hours, Map, Video Popup and the blocks of the store layouts. They work with page caching and the styles of your theme.

* **Sticky Column** keeps any blocks in view while the page scrolls – a table of contents, an order summary or filters next to a long column, below a sticky header by itself. A column taller than the screen floats up and down with the scrolling; on phones it can stay in place.
* Every block has a **Documentation** button in its settings that opens its guide, in your language where there is one.

= Envo Blocks PRO =

**[Envo Blocks PRO](https://envoblocks.com/pricing/)** adds 118 store templates, 1289 sections, 51 blocks, 159 store layout designs and shop features such as product add-ons, discount rules, abandoned cart e-mails, gift cards and loyalty points – see the FAQ.

Made for the free [Envo Blocks Store](https://envoblocks.com/envo-blocks-store/) theme.

[Documentation](https://envoblocks.com/docs/envo-blocks/) · [Live demos](https://demos.envoblocks.com/) · [Support](https://envoblocks.com/contact/)

== Installation ==

1. Install the plugin from Plugins > Add New (or upload the `envo-blocks` folder to `/wp-content/plugins/`) and activate it.
2. Open a page in the block editor: use the **Templates Import** button in the header, or find the blocks in the **Envo Blocks** section of the inserter.
3. Or let **Envo Blocks > Store in 5 minutes** build the whole store from a template in your brand colour.
4. The store features are in **Envo Blocks > Settings**.

== Frequently Asked Questions ==

= What does Envo Blocks PRO add? =

[Envo Blocks PRO](https://envoblocks.com/pricing/) works on top of this free plugin and adds:

* **80 more store templates**, **915 page sections**, **286 block presets** and **96 store layout designs**.
* **Shop features:** Product Add-Ons (engraving, gift wrap, file upload with prices), Discount Rules (buy X get Y, free gift) with a Deals block, abandoned cart reminders, Request a Quote, review request and reward e-mails, sales notifications, gift cards, loyalty points, back-in-stock and price-drop alerts, price history chart.
* **Product blocks:** Products Carousel, Products Tabs, Product Mosaic, Product Deal, Product Showcase, Bestsellers, Shop the Look, Reviews Carousel, Load More, AJAX filters and a Filter Panel.
* **Header:** Mega Menu, AJAX Product Search, Sticky Cart, Sticky Account, Sticky Wishlist, Off-Canvas Panel.
* **Selling tools:** Quick View, Compare, Variation Swatches, Product Badges, Sticky Add to Cart, Checkout Steps, Popups, Sale Countdown Bar, Frequently Bought Together, Volume Pricing.
* **For any block:** Motion Effects and Display Conditions, plus Content Slider, Content Tabs and Before / After.

See the [PRO demos](https://demos.envoblocks.com/) and the [pricing](https://envoblocks.com/pricing/).

= Does the plugin need WooCommerce? =

The templates, sections, presets and the content blocks (FAQ, Form Styler, Pricing Table, Advanced Heading, Trust Badges, Map, Video Popup…) work without it. The store blocks and store features need WooCommerce.

= Does the plugin connect to external services? =

Only in the cases listed under "External services" below, and only when you or your visitors use them. Everything else works on your own site.

= Can the map load only after the visitor agrees? =

Yes. Turn on "Load the map only after a click" in the Privacy settings of the Map block. Until the visitor clicks, nothing is loaded from the map service.

= Are the payment icons official logos? =

No. They are simplified marks drawn for this plugin so that visitors recognise the payment methods. All trademarks belong to their owners.

= My theme has no canvas template. Can I still import the templates? =

Yes. Envo Blocks adds the page template **Envo Blocks Canvas (no header and footer)** when the theme has none. It keeps the styles of your theme.

= Does it work on multilingual sites? =

Yes, with WPML, Polylang and TranslatePress: the texts of the blocks and settings can be translated, store layouts and rules work in every language and search, quick view and other parts that load later come in the language of the page. The Language Switcher block shows their languages in your header or footer. See the guide "Multilingual sites".

= Can I translate the plugin? =

Yes. Translations are managed on translate.wordpress.org; a POT file is in the `languages` folder.

== External services ==

The plugin connects to these services only in the cases below. Each request carries only what is listed, plus what any web request sends (IP address, user agent).

* **Google Maps** (Google LLC) or **OpenStreetMap** (OpenStreetMap Foundation) – the Map block loads the map in the visitor's browser when the page is shown, or after a click if you choose so. Sent: the place, zoom and language set in the block. Google: [Terms](https://policies.google.com/terms), [Maps terms](https://maps.google.com/help/terms_maps/), [Privacy](https://policies.google.com/privacy). OpenStreetMap: [Terms](https://wiki.osmfoundation.org/wiki/Terms_of_Use), [Tile policy](https://operations.osmfoundation.org/policies/tiles/), [Privacy](https://osmfoundation.org/wiki/Privacy_Policy).
* **YouTube** (Google LLC, youtube-nocookie.com), **Vimeo** (Vimeo.com, Inc.) or **Dailymotion** (Dailymotion SA) – the Video Popup block and product videos load the player only after the visitor clicks play. Sent: the video ID and start time. YouTube: [Terms](https://www.youtube.com/t/terms), [Privacy](https://policies.google.com/privacy). Vimeo: [Terms](https://vimeo.com/terms), [Privacy](https://vimeo.com/privacy). Dailymotion: [Terms](https://legal.dailymotion.com/en/terms-of-use/), [Privacy](https://legal.dailymotion.com/en/privacy-policy/).
* **assets.envoblocks.com** (Envo Blocks, by EnvoThemes) – preview images in the template window (only those you scroll to, saved on your site after the first view) and the PDF invoice font packs (only when you click "Download" in Envo Blocks > Invoices > Fonts; checked against a checksum and stored on your site). Sent: only the file address. [Terms](https://envoblocks.com/terms/), [Privacy](https://envoblocks.com/privacy-policy/).
* **Template library** – assets.envoblocks.com/library/ (backup: envo-demos.com/library/) and the preview list assets.envoblocks.com/previews/manifest.json (Envo Blocks, by EnvoThemes): twice a day, only in the admin and in WP-Cron, the plugin loads the public list of the library, so new free templates, sections, presets and store layouts appear without a plugin update (and a notice tells you about new templates); the file of such a design is downloaded only when you import or insert it, and checked against a checksum. Sent: the plugin version in the user agent and the file address. Turn it off with the filter `envo_blocks_remote_library`. [Terms](https://envoblocks.com/terms/), [Privacy](https://envoblocks.com/privacy-policy/).
* **demos.envoblocks.com** (Envo Blocks, by EnvoThemes) – the images of a template, section or preset you import or insert, or of the template you choose in Store in 5 minutes, are downloaded once into your Media Library. Sent: only the image address. [Terms](https://envoblocks.com/terms/), [Privacy](https://envoblocks.com/privacy-policy/).
* **WordPress.org** – when you click "Install & activate" for a plugin or theme a template needs (or for the Envo Blocks Store theme), WordPress installs it like Plugins > Add New. In the admin only, while that theme is not installed, Templates Import and the setup notice ask the WordPress.org themes API whether it is available (at most once a day) and show its screenshot from ts.w.org. Sent: the plugin or theme slug and the usual data of a WordPress update request. [Terms](https://wordpress.org/about/terms-of-service/), [Privacy](https://wordpress.org/about/privacy/).

== Third-party libraries and fonts ==

PDF invoices bundle [mPDF](https://github.com/mpdf/mpdf) 8 (GPL-2.0-only), [FPDI](https://github.com/Setasign/FPDI), [DeepCopy](https://github.com/myclabs/DeepCopy) and [PSR](https://github.com/php-fig) Log / HTTP Message (MIT) in vendor-prefixed/ (namespace EnvoBlocks\Vendor\), and [Noto Sans](https://fonts.google.com/noto) (SIL OFL 1.1) in assets/fonts/. The downloadable font packs contain Noto Sans JP, SC, TC and KR, Lohit Kannada and XB Riyaz (SIL OFL 1.1) and FreeSerif, Pothana2000, Taamey David CLM and Garuda (GPL).

== Screenshots ==

1. Build better WooCommerce stores: the Store in 5 minutes wizard, store templates, page sections, block presets, store layouts and 41 store blocks for the block editor.
2. Store in 5 minutes: pick a template and your brand colour – the wizard builds the whole store, with a live preview and "Undo everything".
3. Import complete store pages in one click from the Templates Import library in the editor.
4. Preview every page of a template with the plugins it needs, then import it.
5. Drop ready-made page sections – headers, heroes, products, footers – right where you edit.
6. Start from styled block presets of the Envo Blocks blocks.
7. Store Layouts: your own product page, checkout and side cart made of blocks, in 33 free designs.
8. Free demo stores made with the free blocks, live on demos.envoblocks.com.
9. WooCommerce blocks that help you sell: coupon box, delivery estimate, rating summary, trust badges.
10. Product filters by price, category, attributes, rating and stock, with active filters as chips.
11. Wishlist, Free Shipping Progress, Stock Indicator and Order Tracking.
12. Product Tabs: the tabs of the product page in your order and design, own tabs and tabs of each product.
13. Lowest price (EU Omnibus), the Tax Switcher, catalog mode and the product feed for Google and Meta.
14. Product questions, review photos and the FAQ block.
15. PDF invoices, credit notes and packing slips for any country, attached to the order e-mails.
16. Checkout Fields, product videos in the gallery and the Payment QR Code for bank transfers.
17. Sticky Column, Form Styler for the forms of other plugins and the Parallax Section.
18. Pricing tables and headings with animated words.
19. Maps, video pop-ups and size guides.
20. Entrance animations for any block on scroll.
21. Everything in one dashboard: all blocks with their guides, template import and help.
22. Create a new page or post from any template in Envo Blocks › Templates Import.

== Changelog ==

= 1.8.2 =
* Tweak: tested with WordPress 7.2.
* Fix: in WordPress 7.2 a Product Tab with its own content started empty instead of with a paragraph to type in.

= 1.8.1 =
* New: 38 more PRO store templates in Store in 5 minutes (130 templates in all).
* Tweak: Store in 5 minutes reads its list of templates from the template library, so new templates appear without a plugin update (the list in the plugin is used when the library cannot be reached).
* Fix: on database servers that allow only 1 MB per query the list of the template library (and its previews) was not saved and an old copy stayed in use; the previews now have their own option and the list is loaded again until it is saved.

= 1.8.0 =
* New: Store in 5 minutes – a setup wizard that builds the whole store from a template in your brand colour: theme, pages with your products, front page, header and footer, store name or logo, colours of the whole site, and the basic store settings; everything can be undone. 12 free templates, all PRO templates with Envo Blocks PRO.
* New: Sticky Column block – blocks that stay in view while the page scrolls, inside their column or group (a table of contents, an order summary, filters); below a sticky header by itself, a tall one floats up and down.
* New: a Documentation button in the settings of every Envo Blocks and Envo Blocks PRO block opens its guide (in your language where there is one).
* New: Wholesale Prices on the Blocks page of Envo Blocks.
* New: Templates Import offers our free Envo Blocks Store theme – "Install & activate" straight from WordPress.org (or "Activate" when it is installed); the template details do the same instead of only linking the theme.
* New: after activation, a closable notice offers "Store in 5 minutes"; once it is closed, a small notice with a preview of the Envo Blocks Store theme and "Install & activate" takes its place (also closable, never while the theme is active).
* New: Tax Switcher block – visitors see the prices with or without tax (VAT): two buttons, a switch or a dropdown for the header, the shop or the product page. Every price follows – product lists, the product page, the mini cart, the cart and the checkout (also the WooCommerce blocks); shows only when WooCommerce calculates taxes. Settings in Envo Blocks › Settings › Tax Switcher, shortcode [envo_tax_switcher].
* Tweak: links from the plugin to envoblocks.com carry utm_source=envo-blocks (no data is collected or sent).
* Tweak: after activation the plugin opens "Store in 5 minutes" once – not after a bulk activation, WP-CLI, AJAX or REST.

= 1.7.0 =
* New: new free templates, sections, presets and store layouts come from our template library as soon as they are published – no plugin update needed; the plugin keeps its own copy for sites without a connection. A small notice shows new templates.
* New: "What's new" – after an update, a short dismissible notice with the new features and fixes.
* New: Parallax Section block – an image or video background that moves slower than the page (or zooms) while scrolling, with any blocks on top; smooth on phones, still with "reduce motion".
* New: Language Switcher block – the languages of WPML, Polylang or TranslatePress as a dropdown or a row of links, with flags, names or codes and your colors.
* New: Multilingual sites – WPML, Polylang and TranslatePress: wpml-config.xml for the texts of blocks and settings, store layouts per language (or the default one), product and category IDs of blocks and rules in every language, REST answers in the language of the page.
* New: Form Styler block – a form of Contact Form 7, WPForms, Fluent Forms, Ninja Forms, Formidable Forms, Forminator or Gravity Forms (or any form shortcode) with your field style, layout in two columns, button and colors; the button follows the theme buttons.
* Fixed: classic themes without theme.json (Twenty Twenty, Twenty Twenty-One …) – templates, sections and store layouts keep their content width instead of the theme's narrow text column.
* Fixed: classic themes – the − / + quantity buttons of the theme in the Add to Cart Form of a product layout.
* Fixed: Twenty Twenty-One – its inline image sizes no longer blow up small block images (category thumbnails of the Category Showcase, mega menu images).

= 1.6.0 =
* New: Review photos – customers add up to 3 photos to their review (saved as small WebP files without GPS data); the Customer Photos block shows them as a gallery.
* New: Catalog mode – hide prices and Add to cart for everyone, for visitors or in chosen categories, with "Price on request" and a button of your choice.
* New: Product feed for Google Merchant Center and the Meta catalog – prices, stock, images, brand, GTIN and variations, rebuilt every hour.
* New: Product questions – customers ask on the product page, you answer in Envo Blocks > Settings, the customer gets the answer by e-mail; a Questions tab or the Product Questions block.
* New: FAQ block – questions that open and close, four styles, FAQPage data for search engines; works without JavaScript.
* Improved: settings pages with a PRO part show what Envo Blocks PRO adds there.
* Fixed: WordPress 7.x – critical error in the editor of pages with the "Envo Blocks Canvas" template.

= 1.5.0 =
* New: Lowest Price block and price history – "Lowest price in the last 30 days" for discounts (EU Omnibus).
* New: Product Filter and Active Filters blocks – price, category, attribute, rating and stock, with counts.
* New: Checkout layouts, also distraction-free, with the Checkout Form and Checkout Header blocks.
* New: business templates Northbound, Daybreak and Linea, which also work without WooCommerce.

= 1.4.0 =
* New: PDF invoices, credit notes and packing slips for any country, and the Invoice Download block.
* New: Store Layouts – own product, shop, cart, order received, My account and side cart designs, in any theme.
* New: Product Tabs block and own tabs per product; product videos in the gallery.
* New: Wishlist, Free Shipping Progress and Payment QR Code blocks; Checkout Fields; translations into 31 languages.

= 1.3.0 – 1.3.4 =
* New: Announcement Bar, Countdown, Opening Hours, Stock Indicator and Order Tracking blocks.
* New: entrance animations for every block; 9 free demo stores as templates.
* New: "Envo Blocks Canvas" page template for themes without one; the template window got a better search and a Sections tab.

= 1.2.0 =
* New: Map and Video Popup blocks; templates with several pages; section and preset libraries; Templates Import page; import and export as JSON or ZIP; images copied into the Media Library.

= 1.1.0 =
* New: Pricing Table, Advanced Heading, Trust Badges, Features Bar, Coupon Code Box, Delivery Estimate, Rating Summary, Recently Viewed Products and Size Guide blocks.

= 1.0.0 =
* First release: Templates Import button and Export as JSON.
