Reference · E-commerce
eTabletka: online pharmacy on Magento 2
- Client
- eTabletka
- Collaboration
- since 2025
- Website
- www.etabletka.sk
- 2,318,000+delivered orders (figure from etabletka.sk)
- 1,189,000+satisfied customers (figure from etabletka.sk)
- 5,500+pickup points (figure from etabletka.sk)
01Problem
eTabletka sells medicines, vitamins, drugstore goods and medical devices and also hands out orders in PLUS LEKÁREŇ pharmacies. The original store ran on WooCommerce. Moving to Magento 2 meant transferring the order history, connecting data to BI and the pharmacies and setting up operations that handle a large catalog and order peaks.
02What we built
On Magento 2 with a Hyvä frontend we delivered:
- migration of the order history from WooCommerce,
- a data integration into Oracle BI that splits discounts down to individual items,
- pharmacy pickup (Click & Collect) through a separate Laravel application between the store and the pharmacies,
- electronic withdrawal from the contract under EU Directive 2023/2673,
- a publishing bridge that deploys AI prepared content straight into Magento,
- Markdown versions of products for AI search engines (llms-products.txt),
- operations on Kubernetes with our own Helm chart and deployment through GitLab CI/CD.
03Technologies
- Magento 2
- Hyvä
- Laravel
- Kubernetes
- Oracle BI
At eTabletka we sometimes joke that he works miracles on demand. What we value most is that even with demanding requests he looks for solutions and we can rely on him.
Case study
About the project
eTabletka is an online pharmacy with more than 2.3 million delivered orders (figure from etabletka.sk). Since 2025 we have been building its data migration, BI and pharmacy integrations, infrastructure and automated deployment of AI content on Magento 2. This case study shows what an online store for a pharmacy needs and how we handled it.
AI integration
Automated deployment of AI content into Magento
Product descriptions and articles for eTabletka are prepared by an external supplier’s AI agent as structured Markdown in GitLab. Once a merge request is merged, a webhook starts publishing: the document is validated, rendered into Page Builder HTML and written into Magento.
The write is isolated. For a product it changes only the description and approved attributes, for an article only its content. A faulty document is not published and the report points to the exact line. A failed write is retried automatically and a scheduler regularly reconciles the state with GitLab.
Integrations
Online store data in BI
The Oracle BI module splits order discounts down to individual items: cart rules, loyalty points and legacy coupons. The data is prepared by our own ETL process run by cron, so BI works with the real price of every item, not just the order total.
Security in a regulated segment
Selling medicines online is regulated and the store handles sensitive customer data. These are the measures from our part of the project.
-
Encrypted secrets Credentials in Kubernetes are stored as Sealed Secrets, nothing readable sits in the repository.
-
Customer data kept out of cache Responses with customer data are not stored in Varnish, the cache holds only public content.
-
Isolated AI writes The publishing bridge may change only the product description and article content, and it strips raw HTML from Markdown.
-
Protected webhook Publishing starts only for a verified event from the right project and branch, duplicate events are dropped.
-
Online contract withdrawal A form under EU Directive 2023/2673 for registered and guest customers, protected by reCAPTCHA.
Frequently asked questions
Why Magento 2 for an online pharmacy?
An online pharmacy has tens of thousands of items, several warehouses, a loyalty program, several carriers and pickup in pharmacies. Magento 2 covers the catalog, warehouses and price rules in its core, and custom integrations are added as modules without touching the core. The Hyvä frontend keeps pages light even with a large catalog.
How does automated deployment of AI content into Magento work?
The AI prepares content as Markdown with a fixed set of blocks and stores it in GitLab. After a merge request is merged, a webhook queues the document, a validator checks its structure and a renderer turns it into Page Builder HTML. Only the product description or the article content is written into Magento, nothing else.
What to watch out for with an online store for a pharmacy?
Selling medicines must be registered with the Slovak State Institute for Drug Control (ŠÚKL) and prescription medicines cannot be ordered through the cart. Customers must be able to withdraw from the contract online and pages with their data must not be cached. Plan for connections to the warehouse, the pharmacies and several carriers as well.