=== NoviDeck ===
Contributors: novissium
Tags: elementor, freemius, pricing, checkout, sales
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sell your Freemius products with Elementor: purchase buttons and customer portal links that use your real Freemius plans.

== Description ==

NoviDeck connects the products you sell with Freemius to Elementor. Connect a
product once, then place purchase buttons and customer portal links anywhere on
your pages. Plans, prices and checkout come straight from Freemius, so your site
always shows what customers can actually buy.

= Free features =

* **Purchase Button** – opens the Freemius checkout for the product, plan,
  billing cycle, number of websites and currency you choose.
* **Customer Portal** – a link or box that takes existing customers to their
  Freemius customer portal.
* Connect any number of Freemius products with their product ID and API token.
  The token is stored encrypted and is never sent to the browser.
* Products, plans and prices synchronize in the background, so normal page
  views make no extra API requests.
* Works with Elementor. Elementor Pro is not required.

= Paid editions =

NoviDeck Standard, Pro and Business add more widgets and tools:

* **Standard** – pricing cards and tables, plan comparison, product information,
  product grid, and billing, license and currency selectors.
* **Pro** – trial button, coupon offer, upgrade button, checkout action, feature
  details, reusable checkout profiles and customer portal settings.
* **Business** – bundle and cross-sell offers, portfolio catalog, campaigns,
  verified reviews, design presets, blueprints and conversion insights.

Details: https://www.novissium.com/products/novideck/

= Documentation =

* Help Center: https://www.novissium.com/help/novideck/
* User Guide: https://www.novissium.com/help/novideck/user-guide/
* FAQ: https://www.novissium.com/help/novideck/faq/

== Installation ==

1. Install and activate Elementor.
2. Install NoviDeck from the plugin directory and activate it.
3. Open **Settings > NoviDeck** in the WordPress admin.
4. Under **Add product**, enter a display name, the Freemius product ID and the
   API bearer token from your Freemius Developer Dashboard
   (Settings → API & Keys), then save.
5. In Elementor, add the **Purchase Button** or **Customer Portal** widget and
   select your product.

Keep WordPress cron running so product data stays up to date.

== Frequently Asked Questions ==

= Do I need Elementor Pro? =

No. Elementor is required, Elementor Pro is not.

= Is my API token visible to visitors? =

No. It is stored encrypted on your server, used only for server-side read
requests and never sent to the browser.

= Does NoviDeck process payments? =

No. Checkout, payment, taxes, invoices and licenses are handled by Freemius.

= How do I upgrade to a paid edition? =

Install the NoviDeck Premium plugin from your Freemius account and activate it.
It replaces the free plugin automatically and keeps your settings, products and
pages. Then activate your license.

== External services ==

This plugin connects to Freemius (https://freemius.com), the platform you use
to sell your products.

The included official Freemius WordPress SDK manages this plugin's account,
consent, license and updates through wp.freemius.com and api.freemius.com.
Account connection and optional data collection follow the SDK consent screen.
With consent, Freemius receives account name and email, site URL,
WordPress/PHP/plugin versions and installation information; optional plugin and
theme details follow the permissions selected in that screen.

After an administrator connects a product:

* api.freemius.com receives server-side product and plan IDs, currency and
  pagination filters to read product, plan, feature and price records. The
  bearer token is sent only in the HTTPS Authorization header.
* checkout.freemius.com receives public product and plan IDs, quantity,
  currency, billing cycle and related checkout parameters when a visitor follows
  a purchase link. Freemius collects and processes checkout and payment details
  directly.
* customers.freemius.com receives the store ID when a visitor opens the
  customer portal. Customer sign-in happens at Freemius.

These browser requests disclose normal request data such as the visitor's IP
address and browser information to Freemius.

Freemius terms: https://freemius.com/terms/
Freemius privacy policy: https://freemius.com/privacy/

== Screenshots ==

1. NoviDeck overview in the WordPress admin (dark mode).
2. A connected Freemius product with its plans.
3. Connect a Freemius product with its product ID and API token.
4. Purchase Button widget on an Elementor page.
5. Customer Portal widget on an Elementor page.
6. NoviDeck overview in light mode.

== Changelog ==

= 1.0.1 =
* Improved: The paid editions now live in the shared Novissium menu: Novissium > NoviDeck, next to an overview of all your installed Novissium products.
* Improved: All NoviDeck screens (Overview, Products, Design, Commerce and the Business tools) are reached through one row of tabs at the top of every NoviDeck page instead of separate sidebar entries.
* Improved: The free plugin lives under Settings > NoviDeck.
* New: Pro and Business widgets: position (left, center, right, full width) and width of the button, per device.
* New: Pro and Business widgets: space between the elements of a widget or item, per device.
* Fixed: The alignment of headings, titles, prices and other elements in Pro and Business widgets now moves the element itself, so centering works.
* Fixed: The countdown of the Campaign Banner keeps its width while it runs and no longer jumps into the next line; new setting to arrange countdown, coupon code and button in the banner.

= 1.0.0 =
* First release.
