Plugin Directory

Changeset 3831571


Ignore:
Timestamp:
11/28/2026 02:06:23 PM (less than one hour ago)
Author:
motylanogha
Message:

shoplex 1.9.2

Location:
shoplex/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shoplex/trunk/readme.txt

    r3826687 r3831571  
    55Tested up to: 7.2
    66Requires PHP: 8.1
    7 Stable tag: 1.9.1
     7Stable tag: 1.9.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    2323
    24242. **Lowest Price in the Last 30 Days (Omnibus Directive)**
    25 Directive 2019/2161 (the Enforcement and Modernisation Directive, commonly called Omnibus) dictates that any price reduction announcement must state the lowest price applied during a period of at least 30 days prior to the reduction. Shoplex maintains a local database log of every price update across regular, sale, and variation prices. Unscheduled sales calculate against historical records, and daily scheduled cleanup retains the window without deleting the active base price.
     25Directive 2019/2161 (Omnibus) dictates that any price reduction announcement must state the lowest price applied during a period of at least 30 days prior to the reduction. Shoplex maintains a local database log of every price update across regular, sale, and variation prices. Unscheduled sales calculate against historical records, and daily scheduled cleanup retains the window without deleting the active base price.
    2626
    27273. **VAT Notice (Tax Display Indication)**
    … …  
    5454- Secure single-use magic links sent directly to the customer's billing email with a 30-minute expiry.
    5555- Authenticated declaration form listing remaining withdrawable items with clamped quantities to prevent returning more units than ordered.
    56 - Direct High-Performance Order Storage (HPOS) metadata storage (`_shoplex_withdrawals`), audit trails in WooCommerce order notes, and automated confirmation emails to both customer and store administrator.
     56- HPOS order meta (`_shoplex_withdrawals`), order notes, and confirmation emails to both customer and store administrator.
    5757
    585810. **General Product Safety Regulation (GPSR) & Barcode Validation**
    59 Regulation (EU) 2023/988 (GPSR), in effect since December 13, 2024, requires online listings to publish manufacturer identity details, postal address, electronic address, the EU responsible person (for manufacturers outside the EU), and required safety warnings or instructions. Shoplex provides dedicated per-product and default fields for all required GPSR disclosures, plus real-time GS1 check-digit validation (GTIN-8, GTIN-12, GTIN-13, GTIN-14) on the native WooCommerce barcode field to prevent invalid identifiers.
     59Regulation (EU) 2023/988 (GPSR), in effect since December 13, 2024, requires online listings to publish manufacturer identity details, postal address, electronic address, the EU responsible person (for manufacturers outside the EU), and required safety warnings or instructions. Shoplex provides dedicated per-product and default fields for all required GPSR disclosures, plus real-time GS1 check-digit validation (GTIN-8, GTIN-12, GTIN-13, GTIN-14) on the native WooCommerce barcode field.
    6060
    616111. **Checkout Consents & Consent Recording**
    62 Directive 2011/83/EU art. 8 and GDPR art. 7 demand unambiguous, affirmative agreement for specific contractual conditions, particularly waiving withdrawal rights for immediate access to digital downloads. Shoplex renders terms, privacy policy, right of withdrawal acknowledgment, digital content waivers, the request to start a service before the withdrawal period ends (art. 8(8); without it a withdrawing consumer owes nothing for the service, art. 14(4)), newsletter consents, and carrier delivery updates. The two waivers appear only when the cart holds a download or a service (a virtual product without a download), on the classic and the block checkout. Each recorded consent captures the verbatim text displayed, the customer decision, and the exact timestamp stored in HPOS order meta. Compatible with classic and block checkouts.
     62Directive 2011/83/EU art. 8 and GDPR art. 7 demand unambiguous, affirmative agreement for specific contractual conditions, particularly waiving withdrawal rights for immediate access to digital downloads. Shoplex renders terms, privacy policy, right of withdrawal acknowledgment, digital content waivers, the request to start a service before the withdrawal period ends (art. 8(8); without it a withdrawing consumer owes nothing for the service, art. 14(4)), newsletter consents, and carrier delivery updates. The two waivers appear only when the cart holds a download or a service (a virtual product without a download), on the classic and the block checkout. Each recorded consent captures the verbatim text displayed, the customer decision, and the exact timestamp stored in HPOS order meta.
    6363
    646412. **Trader Identity (Impressum / Legal Notice)**
    … …  
    6969
    707014. **Intra-EU B2B VAT Validation (VIES REST API & Swiss UID)**
    71 Under Directive 2006/112/EC art. 138, exempting cross-border intra-EU B2B supplies at 0% VAT requires verifying that the customer is a taxable person with a valid VAT number in another member state. Shoplex queries the European Commission's official VIES REST endpoint in real time across all 27 member states and Northern Ireland (XI). When configured with your own VAT ID, it performs a qualified check and stores the official consultation number (requestIdentifier) directly in the order meta and order notes as audit-proof evidence for tax authorities. Also validates Swiss enterprise identification numbers (UID / CHE) for cross-border trade with Switzerland.
     71Under Directive 2006/112/EC art. 138, exempting cross-border intra-EU B2B supplies at 0% VAT requires verifying that the customer is a taxable person with a valid VAT number in another member state. Shoplex queries the European Commission's official VIES REST endpoint in real time across all 27 member states and Northern Ireland (XI). When configured with your own VAT ID, it performs a qualified check and stores the official consultation number (requestIdentifier) in the order meta and order notes as evidence for tax authorities. Also validates Swiss enterprise identification numbers (UID / CHE) for cross-border trade with Switzerland.
    7272
    737315. **Statutory Complaint Form Template (Formularz Reklamacyjny)**
    … …  
    7575
    767616. **Cyber Resilience Act Disclosure (CRA / RFC 9116 security.txt)**
    77 Shoplex serves an RFC 9116 security disclosure policy at `/.well-known/security.txt` (RFC 9116). Merchants can specify their security contact email, vulnerability disclosure policy URL, and expiration date. This is not a Cyber Resilience Act (Regulation EU 2024/2847) requirement for shops; the CRA binds manufacturers.
     77Shoplex serves an RFC 9116 security disclosure policy at `/.well-known/security.txt`. Merchants can specify their security contact email, vulnerability disclosure policy URL, and expiration date. This is not a Cyber Resilience Act (Regulation EU 2024/2847) requirement for shops; the CRA binds manufacturers.
    7878
    797917. **Digital Services Act Notice & Action Mechanism (DSA Reporting)**
    80 Article 16 of Regulation (EU) 2022/2065 (Digital Services Act) binds hosting providers, so it is relevant if your shop hosts third-party content (marketplace sellers, reviews). Shoplex provides the public notice form via `[shoplex_dsa_report]` with structured reason selection, validation, rate limiting, and instant email dispatch to store administrators.
     80Article 16 of Regulation (EU) 2022/2065 (Digital Services Act) binds hosting providers, so it is relevant if your shop hosts third-party content (marketplace sellers, reviews). Shoplex provides the public notice form via `[shoplex_dsa_report]` with reason selection, validation, rate limiting and an email to store administrators.
    8181
    828218. **Packaging Deposit (German Pfand)**
    … …  
    9090
    919121. **Local Google and Bunny Fonts (GDPR & Core Web Vitals)**
    92 Under GDPR Art. 6(1) and established EU case law (e.g. Landgericht München I, judgment of 20 January 2022, Az. 3 O 17493/20), loading fonts directly from third-party US-based servers transmits visitor IP addresses without prior consent. Shoplex intercepts external Google Fonts and Bunny Fonts stylesheets, downloads the WOFF2 font files directly into the local `wp-content/uploads/shoplex-fonts/` directory, rewrites the CSS to point exclusively to the local web server with `font-display: swap`, and strips external preconnect or dns-prefetch resource hints. In addition, key WOFF2 font files can be automatically preloaded in `<head>` to prevent flash of invisible text (FOIT) and eliminate cumulative layout shift (CLS).
     92Under GDPR Art. 6(1) and established EU case law (e.g. Landgericht München I, judgment of 20 January 2022, Az. 3 O 17493/20), loading fonts directly from third-party US-based servers transmits visitor IP addresses without prior consent. Shoplex intercepts external Google Fonts and Bunny Fonts stylesheets, downloads the WOFF2 files into `wp-content/uploads/shoplex-fonts/`, rewrites the CSS to point to the local server with `font-display: swap`, and strips external preconnect or dns-prefetch resource hints. Key WOFF2 files can also be preloaded in `<head>`.
    9393
    949422. **Energy Label (Regulation EU 2017/1369)**
    … …  
    100100= Multilingual and Translation Compatibility =
    101101
    102 Shoplex includes comprehensive multilingual support:
    103102* **WPML & Polylang:** Includes an official `wpml-config.xml` mapping configuration keys from `shoplex_*` options directly into string translation tables.
    104103* **TranslatePress & Loco Translate:** Built with standard gettext functions across all frontend templates, notices, and checkout buttons.
    … …  
    107106= Technical Architecture =
    108107
    109 * **HPOS Native:** Full support for WooCommerce High-Performance Order Storage (Custom Order Tables).
     108* **HPOS Native:** Supports WooCommerce High-Performance Order Storage.
    110109* **Block Checkout Compatible:** Integrates with WooCommerce Cart and Checkout Blocks via Store API and Blocks JavaScript filter registries.
    111110* **Zero External Dependencies:** Runs locally on your server. No external calls except the optional VIES / Swiss UID checks, no API keys, and no monthly service fees.
    112 * **Minimal Overhead:** Built without heavy JavaScript frameworks or unnecessary database tables.
    113111
    114112== Installation ==
    … …  
    196194
    197195== Changelog ==
     196
     197= 1.9.2 =
     198* Readme description shortened to stay within the WordPress.org length limit.
    198199
    199200= 1.9.1 =
  • shoplex/trunk/shoplex.php

    r3826687 r3831571  
    77 * Plugin URI:        https://plogins.com/shoplex/
    88 * Description:       Price indication, Omnibus price history, GPSR product safety, statutory withdrawal, EU destination rules (Button-Lösung, LUCID, EPR, BDO), delivery times and consent records.
    9  * Version:           1.9.1
     9 * Version:           1.9.2
    1010 * Requires at least: 6.5
    1111 * Requires PHP:      8.1
    … …  
    2929defined('ABSPATH') || exit;
    3030
    31 const VERSION = '1.9.1';
     31const VERSION = '1.9.2';
    3232const PLUGIN_FILE = __FILE__;
    3333const PLUGIN_DIR = __DIR__;
Note: See TracChangeset for help on using the changeset viewer.