=== AddOnn Shoppable Video for WooCommerce === Contributors: zain111 Tags: woocommerce, video, shoppable video, reels, whatsapp Requires at least: 5.8 Tested up to: 7.0 Requires PHP: 7.4 Stable tag: 1.5.14 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Turn your existing video content into a shoppable, TikTok-style feed for WooCommerce — with WhatsApp share-to-buy and combo/bundle support built in. == Description == AddOnn Shoppable Video for WooCommerce lets you upload video content (UGC, reels, product demos) and turn it into a tappable, shoppable feed on your store — customers tap a video, see the tagged product(s), and add to cart without leaving the player. **Free version features:** * Self-hosted video upload via the WordPress Media Library — no third-party CDN dependency * Tag one or more products per video (native combo/bundle video support) * Add to cart directly from the video, no page reload * **WhatsApp "Order on WhatsApp" share-to-buy button** — great for stores where customers prefer to finalize orders over WhatsApp * Two layouts: Carousel (horizontal scroll) and Inline (vertical TikTok-style feed) * Works via shortcode `[addoshvi_feed]`, a native **Elementor widget**, and a native **Gutenberg block** * Basic per-video analytics: views and add-to-cart counts, visible right in the video list * **Front-end "Add Video"** — store admins/shop managers can upload a video, tag products, and set a cover image without ever going into wp-admin, right from the feed itself (shortcode, Elementor, or Gutenberg). Never shown to regular shoppers. * **Build your video list right inside the Elementor editor** — the Elementor widget's "Add & manage videos right here" mode lets you upload videos, tag products, and set WhatsApp options directly in the Content panel, with a live preview, no trip to wp-admin needed. * **Carousel navigation dots, autoplay, and style controls** — swap the browser scrollbar for clickable dots, turn on auto-slide with adjustable speed and continuous looping, and (in Elementor) style the arrows and dots' colors and size from the widget's Style tab. == Installation == 1. Upload the plugin files to `/wp-content/plugins/addonn-shoppable-video`, or install directly through the WordPress Plugins screen. 2. Activate the plugin. Requires WooCommerce to be active. 3. Go to **Shoppable Videos → Settings** and set your default WhatsApp number (digits only, with country code, e.g. 919876543210). 4. Go to **Shoppable Videos → Add New**, upload a video, tag one or more products, and publish. 5. Display your feed: * Shortcode: `[addoshvi_feed layout="carousel"]` * Elementor: search for the "Shoppable Video" widget * Gutenberg: add the "Shoppable Video Feed" block == Frequently Asked Questions == = Does this require WooCommerce? = Yes, WooCommerce must be installed and active. = Does this require Elementor? = No — the Elementor widget only registers if Elementor is active. The shortcode and Gutenberg block work without it. = Will videos be hosted on your servers? = No. This is fully self-hosted — videos are stored in your own WordPress Media Library. = Can I tag more than one product on a single video? = Yes — this is built specifically to support combo/bundle-style selling. = Does this work with my theme? = Yes — every visual element the plugin renders (cards, arrows, dots, play/shop buttons, modal) carries its own styling independent of the active theme, so it looks the same on Astra, Storefront, OceanWP, WoodMart, and other popular themes. = Can shoppers check out without adding to cart? = Yes — turn on WhatsApp Share-to-Buy (globally in Settings, or per-video) and an "Order on WhatsApp" button appears next to Add to Cart, prefilled with the product name, price, and page link. == Screenshots == 1. The shoppable video feed as a horizontal carousel — price badges, a "COMBO" tag for multi-product videos, and navigation arrows, embedded right on a shop page. 2. Tap a video to open the product panel — tagged product with price, one-tap Add to Cart, and the "Order on WhatsApp" share-to-buy button. 3. wp-admin video editor — upload a video, tag one or more products (combo/bundle support), and optionally override the WhatsApp number for that video. 4. The Shoppable Videos list in wp-admin, with per-video view and add-to-cart counts. 5. Build your video feed without leaving the page — the Elementor widget's "Add & manage videos right here" mode with live preview. == Changelog == = 1.5.14 = * Fix (Plugin Check warning): the per-video `$video` loop variable used inside `templates/carousel.php`, `templates/inline.php`, and `templates/video-card.php` wasn't prefixed — WordPress's naming convention flags any variable defined in the global/template scope the same way it flags functions and constants. Renamed to `$addoshvi_video`. = 1.5.13 = * Fix (WP.org review, round 2): the reviewer flagged that the post type slug (`svp_video`) and the shortcode tag (`svp_feed`) still weren't prefixed with 4+ characters, since WordPress.org requires this even for CPT/shortcode identifiers (they're stored in a shared registry that other plugins could collide with). These are now `addoshvi_video` and `addoshvi_feed`. The Elementor widget name and the Gutenberg block name were renamed the same way for consistency (`addoshvi_shoppable_video`, `addoshvi/feed`). * Note: this is a breaking rename for any site already running an earlier version of this plugin with published content — existing `[svp_feed]` shortcodes, `svp_video` posts, and Elementor/Gutenberg blocks using the old names will need to be updated after upgrading. Not an issue for this WordPress.org listing (no installs yet), but worth knowing before deploying this version over an existing install elsewhere. = 1.5.12 = * Fix (WP.org review): addressed the 3 issues flagged in the plugin's first review round — removed a comparative claim from the description, moved a per-instance inline `