Wróć do Shoplexv1.7.2 (25 wydań)

Historia zmian Shoplex

Historia zmian dostępnej wtyczki Shoplex: aktualizacje, poprawki i rozwój funkcji dla WooCommerce.

v1.7.2
  • Security (medium): stored cross-site scripting in the cookie consent content blocker. A post author or contributor could write blocker markup that, once a visitor unblocked it, loaded a javascript: address or an iframe with srcdoc or event handlers. The restore script now accepts only http and https addresses and a fixed list of iframe attributes.
v1.7.1
  • Changed: The legal guarantee module points to Durabix, which adds the harmonised notice on the legal guarantee and the GARAN label (Implementing Regulation (EU) 2025/1960).
v1.7.0
  • Added: Energy label module. An arrow in the colour of the energy efficiency class next to the price, linking to the label, and a link to the product information sheet (Regulation (EU) 2017/1369 art. 5(1)(a)).
v1.6.5
  • Fixed: the withdrawal form link emailed to customers could contain a stray backslash when the page address had a quote in it.
  • Security (low): request data read by the withdrawal form, the security.txt route and checkout conditions is now unslashed and sanitized before use.
v1.6.4
  • Feature: Local Google and Bunny Fonts self-hosting module for GDPR compliance and Core Web Vitals optimization (LG München, Az. 3 O 17493/20). Automatically downloads external webfonts to local wp-content/uploads/shoplex-fonts/, rewrites @font-face rules with font-display: swap, and strips third-party preconnect and dns-prefetch resource hints.
  • Feature: Early WOFF2 font preloading in <head> for primary latin font faces, eliminating layout shifts (CLS) and speeding up Largest Contentful Paint (LCP).
  • Feature: Integrated Withdraw sister plugin recommendation card in country compliance settings.
  • Performance: Isolate cookie consent stylesheet so non-shop pages skip storefront CSS asset loading.
v1.6.3
  • Performance: batch-prime option caches on boot using wp_prime_option_caches, eliminating 10 individual option database queries on every page request.
v1.6.2
  • Fixed: when data removal is turned on, deleting the plugin now also removes the delivery time terms and the product and order data it saved (unit price, GPSR, deposit and food fields, VIES results, withdrawal declarations and checkout consent records). Order data is the shop's own record, so it is removed only because the shop chose data removal.
v1.6.1
  • Fixed: deleting the plugin on a multisite network now stops its daily job on every site and removes its data from every site that turned on data removal, not only the main one. Data removal now also deletes the country compliance, VIES, security.txt, deposit, food information and cookie consent settings, which it used to leave behind.
v1.6.0
  • Changed: the deposit (Pfand) is now taxed at the VAT rate of the product it belongs to, one cart fee per rate, and the customer still pays the full deposit amount (a VAT-exempt customer pays the net amount, as for product prices). German VAT law counts a deposit charged with each delivery as part of the price (UStG section 10(1), UStAE 10.1(8)). The shoplex_deposit_taxable filter switches it back to an untaxed fee. Existing orders are not changed.
v1.5.3
  • Security (low): the DSA notice form now accepts five submissions per visitor address every 15 minutes. Anyone could send it in a loop and flood the shop's admin inbox.
v1.5.2
  • Changed: source strings are now English; Polish moves to the translation. The BDO, LUCID and REP labels and two admin headings no longer use Polish, German or French as the source text.
v1.5.1
  • Readme only: removed a sentence about German rules on delivery estimates that no cited source supports.
v1.5.0
  • Fix: a sale scheduled for a later date was recorded in the price history as soon as the product was saved, so it could become the "lowest price of the last 30 days" before it ever applied. Only a running sale is recorded now; the sale is recorded when WooCommerce starts it.
  • Settings warn when the lowest-price window is shorter than 30 days, and the options "Show the current price as the lowest" and "Today" are labelled as not compliant with art. 6a(2) Directive 98/6/EC. Nothing changes for existing settings.
  • The My Account "Withdraw" link now opens the page that holds the [shoplex_withdrawal_form] shortcode.
  • Withdrawal messages now say the 14 days are counted from the date the order was completed.
  • Default order button labels for Italy, Sweden, Denmark, Finland, Czechia, Hungary, Romania, Croatia, Estonia, Lithuania and Malta now use the art. 8(2) Directive 2011/83/EU wording in that language. Labels you saved yourself stay as they are.
  • Legal texts in the admin screens and this readme corrected to match the acts: withdrawal (art. 9, a declaration form, not the art. 11a function), deposit (§ 46 VerpackDG, at least 0.25 EUR incl. VAT; no statutory Mehrweg amount), LUCID (§ 6 VerpackDG), dispute notice (Directive 2013/11/EU as amended by Directive (EU) 2025/2647), DSA, security.txt, food information, privacy checkbox, PAngV, durability guarantee, GPSR contact and the VIES order note.
v1.4.2
  • Fix: with "Show the delivery time in the catalogue too" on, the delivery time now also appears in block product grids that do not follow the shop query, such as a Product Collection on the homepage. It sits under the price and is never printed twice on shop and category pages.
  • Fix: price notices (unit price, VAT, shipping, lowest price) on product prices outside the shop pages, for example a homepage product grid, now get their styling when the Consent Manager module is off. The stylesheet loads wherever a notice prints and is no longer loaded twice.
v1.4.1
  • Feature: Real-time GS1 modulo-10 check-digit validation (GTIN-8, GTIN-12, GTIN-13, GTIN-14) on the native WooCommerce barcode field (#_global_unique_id) in the product editor, warning merchants of invalid barcodes without blocking saves.
v1.4.0
  • Feature: Packaging deposit (Pfand), with a cart fee and product page deposit refund notices.
  • Feature: Food Information module under Regulation (EU) No 1169/2011 (LMIV), including Annex XV nutrition facts table, 14 EU statutory allergens, Nutri-Score grade, alcohol content, and food business operator disclosures.
  • Feature: Consent Management and Cookie Notice with Google Consent Mode v2 and third-party media embed blocking (ePrivacy Directive and TDDDG).
  • Feature: Adds a withdrawal reminder to customer emails; not on its own the art. 8(7) contract confirmation.
  • Feature: Swiss UID (CHE) VAT number format validation and SOAP integration for cross-border DACH trade.
  • Enhancement: Dedicated product data panels and settings groups for packaging deposits and food regulations.
  • Verified: Full compatibility with WooCommerce 11.1 and WordPress 7.1.
v1.3.1
  • Feature: Default Button-Lösung checkout button labels for all 27 EU member states (Directive 2011/83/EU art. 8(2)).
  • Feature: Added dedicated administrative order review panel for statutory 14-day withdrawal declarations in wp-admin order screen (HPOS and classic).
  • Enhancement: Expanded FAQ on WordPress.org detailing national consumer rights, PAngV rules, VIES B2B verification, and environmental registries.
  • Verified: Full compatibility with WooCommerce 11.1 and WordPress 7.1.
v1.3.0
  • Feature: Country-specific compliance module implementing the Button-Lösung checkout button rules (§ 312j BGB for DE/AT: "Zahlungspflichtig bestellen", France: "Commande avec obligation de paiement", Italy: "ordine con obbligo di pagare", Spain: "Pedido con obligación de pago", Poland: "Zamówienie z obowiązkiem zapłaty").
  • Feature: Spanish 3-year statutory guarantee compliance under Real Decreto-ley 7/2021 (automatically serves 36-month conformity notice to Spanish buyers).
  • Feature: Packaging and environmental register number support for German LUCID (VerpackDG, formerly VerpackG), French REP / EPR Identifiant Unique (AGEC), and Polish BDO.
  • Feature: Statutory 14-day consumer right of withdrawal module with public shortcode [shoplex_withdrawal_form], guest order lookup via magic links, anti-enumeration protections, HPOS order meta logging, and automated notification emails.
  • Feature: Intra-EU B2B VAT number validation via official European Commission VIES REST API with audit-proof consultation number (requestIdentifier) storage in order meta (Directive 2006/112/EC).
  • Feature: Statutory consumer warranty complaint form template ([shoplex_complaint_template]) with printable HTML export for non-conforming goods (Directive EU 2019/771).
  • Feature: Cyber Resilience Act security disclosure policy endpoint at /.well-known/security.txt (RFC 9116 / Regulation EU 2024/2847).
  • Feature: Digital Services Act notice & action mechanism ([shoplex_dsa_report]) for illegal content reporting (Article 16 of Regulation EU 2022/2065).
  • Feature: Comprehensive multilingual support with native `wpml-config.xml` for WPML and Polylang, plus runtime translation fallbacks.
  • Enhancement: PAngV compliant shipping page link settings for German and Austrian store requirements.
  • Verified: Full compatibility with WooCommerce 11.1 and WordPress 7.1.
v1.2.4
  • Fixed: the lowest price of the last 30 days could state the sale price itself. A sale without a start date compared against its own price, and only the first price change of a day was recorded, so a later change that day was missing from the history. Every change is now recorded, an unscheduled sale is measured from the moment it was first recorded, and the price already in force when the window opens counts.
  • Fixed: price history was never pruned, because nothing scheduled the daily cleanup. It now runs daily, never deletes inside the comparison window, and keeps the record of the price still in force. Variation prices changed through the REST API, WP-CLI or an import are recorded too.
  • Fixed: saving a settings tab flattened multi-line fields and stripped the links from the checkout consent wording, so the terms link disappeared after any save of the Checkout consent tab.
  • Fixed: the shipping cost notice, the dispute resolution notice and the small business VAT notice rendered nothing until their settings tab had been saved once. Unsaved settings now use their packaged defaults.
  • Fixed: "Displayed prices: net" changed nothing, so the VAT notice kept saying the price included VAT. It now uses its own "excl." wording.
  • Fixed: on the classic checkout the consent note was written before the order existed and was lost. The block checkout already had it.
  • Fixed: the terms and withdrawal links in the consent wording pointed at "#". They now use the WooCommerce terms page and the refund and returns page.
  • Fixed: the Trader identity block could not be inserted in the editor. It now can on WordPress 7.0 and newer.
  • Addresses, warnings and repair information keep their line breaks on the product page and in the trader details.
v1.2.3
  • The Plugin URI pointed at the site root rather than this plugin page, because the page did not exist yet. It does now.
v1.2.2
  • Fixed: the unit price stated the unit but not the reference amount, so a product priced per 1000 g read "EUR 67.50 / g" while costing EUR 13.50. The product panel invites a reference amount other than 1, and price indication is the one thing this module exists for, so the amount is now part of the line: "EUR 67.50 / 1000 g".
v1.2.1
  • Fixed: the consent fields for the block checkout are registered on init, and building them read the cart, which WooCommerce only has from wp_loaded. Every front-end load logged "get_cart was called incorrectly" with debugging on. The cart is read only once it exists.
  • Changed: a consent box limited to certain products, countries or payment methods is shown on the classic checkout only. A block checkout field is registered once for the whole shop, so the digital-content waiver would otherwise appear for someone buying a chair.
v1.2.0
  • The checkout consent module now reaches the checkout. Both checkouts are wired, the classic one and the block one, which share no hooks, and the order stores what was agreed in the wording that was shown plus the time it was given. The order screen shows that record.
  • Renamed to Shoplex.
v1.1.0
  • Product fields. Unit price, delivery time, guarantee of durability, update period, repair information and the twelve GPSR fields are now filled in on an Shoplex tab of the product.
  • Settings screen. Trader details and every notice wording are now editable under WooCommerce, Shoplex settings.
  • Delivery times are a real taxonomy, edited under Products, so a shop states the same wording across its catalogue.
  • Prices displayed net can be chosen again.
  • The VAT rate follows the site language.
v1.0.0
  • First release: unit price, lowest price in the last 30 days, VAT and shipping notices, from-price, delivery time, legal guarantee and durability, product safety information, checkout consent, trader identity and dispute resolution notice.