Guide · Shopware
43 Use Hashentic with Shopware
Install the Hashentic Connect plugin in Shopware 6, connect your shop, protect products, get a code for every item of every paid order and show a “Verify authenticity” block and the product passport on your product pages.
The Hashentic Connect plugin connects a Shopware 6 shop to a Hashentic account. Products you protect, their codes, orders and passports are kept in Hashentic, so everything also appears in your Hashentic admin panel, which stays available for the advanced features (page templates, fraud alerts, workflows). The plugin is free; Hashentic plans are billed by Hashentic. It runs on self-hosted Shopware 6.7 and Shopware PaaS.
Connect the shop#
- Install the plugin: upload the zip under Extensions My extensions (or let your agency add it with Composer), then install and activate it.
- In the Hashentic admin panel, open System Applications. Users who can change settings see the Shopware store card. If the card is missing, the Shopware connection is not available on your Hashentic server yet: ask Hashentic support.
- Enter the shop address and click Create connection key. Copy the key: it is shown only once.
- In the Shopware Administration, open Settings Extensions Hashentic, paste the key under Connection key and click Connect.
One Shopware shop can be connected to an account at a time. The plugin needs the Shopware message queue and
scheduled tasks to run (the default in Shopware; on servers with the admin worker turned off, run
bin/console messenger:consume and bin/console scheduled-task:run).
Protect products#
- Open a product and its Hashentic tab.
- Choose Codes for orders: QR code or NFC tag (written at packing), and click Protect product. A product line is created in Hashentic; the product's variants become its variants.
- Stop protecting stops new codes for the product. Codes already issued keep working.
Variants are protected together with their main product. Name, image, manufacturer and variants stay in sync when you edit the product.
Codes for orders#
When an order with protected products reaches the point chosen under Assign codes to an order when in the plugin options (the payment is paid by default, or the order is completed), every item gets its own code. Failed payment attempts do not count; the latest payment of the order decides.
Open the order and its Hashentic codes tab to see one card per item with its QR code and status. Click Print packing slip with codes to print them.
- Edited orders. Changing quantities or lines updates the codes: extra items get new codes, removed items release theirs.
- Cancellations and refunds. A cancelled order, or an order whose payment is refunded in full, releases its codes. A partial refund changes nothing, because Shopware does not record which items it covers; edit the order lines if items came back. Codes already printed and delivered stay valid for the products.
- Large orders. A line with more than 1,000 protected items or an order with more than 250 protected lines is not coded automatically; issue a batch on the product instead.
NFC tags at packing#
For products set to NFC tag (written at packing), the order tab shows a packing code. Scan it with the Hashentic mobile app (Pack order), or type the order number, and write a blank tag for each item. See Write NFC tags.
Code batches#
To label stock before it is sold, open the product's Hashentic tab, enter a quantity under Code batches and click Issue codes. When the batch is Ready, click CSV: one row per code with its verification address. You can also print the batch as labels in the admin panel.
On the storefront#
Protected products show a Verify authenticity block under the buy button and, when the product has a published passport, a Digital product passport block with the responsible business and safety information. Turn the blocks on or off and set the accent colour in the plugin options (Open options on the Hashentic settings page); options can differ per sales channel.
Product passport#
On the product's Hashentic tab, click Edit passport.
- Choose the product category: the passport shows the fields that category requires.
- Fill in the fields. Fields marked
*are required to publish. Enter a GTIN per variant under Variant GTINs. - If your plan includes AI, Fill empty fields with AI suggests values for empty fields from the product description. Check them before publishing.
- Click Save and publish when nothing blocks publishing. Withdraw takes the passport offline.
A published passport has a public page at your Hashentic address under /v/01/ followed by the GTIN.
Keep the connection healthy#
- Needs attention. Orders and products that could not be updated are listed on the Hashentic settings page. The plugin retries on its own for several hours; click Retry now to try at once, or Sync now on the order.
- Sync is paused. The plugin pauses when the shop address (
APP_URL) or Shopware's shop id differs from the one it was connected on, afterbin/console system:setup:staging, and whenAPP_ENVis notprod, so a copy of the shop never changes your live data. On a staging copy that keeps the live address, setHASHENTIC_DISABLED=1in its environment. If the live shop really moved, click This is the live shop – resume sync. - Key cannot be read. The key is encrypted with the shop's
APP_SECRET. If that secret changes, paste a new connection key. - Replace the key. In Hashentic, click New key on the Shopware card, then paste it under Replace the connection key in Shopware. Pending updates continue with the new key.
- Pause or disconnect. Pause on the Shopware card stops the shop's access at once; Enable with a new key resumes it. Disconnect erases the shop's product links and order references in Hashentic; products, codes and verification history stay.
Personal data#
Hashentic receives product names, product numbers, images, manufacturer names, order numbers and quantities of protected products, never customer names, addresses or e-mail addresses. Deleting an order in Shopware removes its references from Hashentic; the codes stay valid for the products.