Viola Farma: a new WooCommerce store with 1C import and a faster mobile version

Viola Farma in Riga sells herbal teas, food supplements, natural cosmetics and essential oils. The online store has about 525 products in 56 categories, with buyers in Latvia, the Baltics and elsewhere in the EU.

The old store was built several years ago and was no longer updated. In the new version we rebuilt both how the store looks and how products get to it from 1C. The short project description is in the Viola Farma portfolio; here we explain the main decisions and the numbers.

What the old store was like

The page code is kept in the Web Archive, and the photos, styles and scripts are still on the old hosting. We used both to restore how the old store looked for the screenshots and video.

The store ran on WooCommerce 7.2 from 2022. The homepage HTML weighed 459 KB, the page loaded 85 scripts and 54 stylesheets, and 184 of 185 images had no alt text. The menu, search and cart only started working after the visitor’s first action, because the scripts were delayed.

The old hosting had 85 plugins, 52 of them active. Many duplicated each other: three menu plugins, two caching plugins plus another optimiser, two WebP converters, three cookie-notice plugins and eight separate delivery plugins. Two translation systems ran at the same time, Polylang and the older qTranslate – for 738 of 741 products the texts were stored in qTranslate tags in a single field. Products came from 1C through a separate plugin and a hand-written script in the site root. The database had 125 tables, many left over from plugins removed long ago.

Homepage Old store New store
HTML size 459 KB 180 KB
Scripts / stylesheets 85 / 54 49 / 13
Images without alt text 184 of 185 21 of 113
Active plugins 52 32
WooCommerce 7.2 (2022) 11.2
Old store (2025)
Old store (2025)
New store (2026)
New store (2026)

Products from 1C, no manual entry

Viola Farma keeps products, prices and stock in 1C, which exports an XML file and product photos. Our script turns the XML into two CSV files – categories and products in Latvian, Russian and English – and WP All Import loads them into WooCommerce.

WPML links the language versions, so one product is one record in three languages with a shared price and stock. Prices and stock are updated by the next import, not by staff.

Promotions that calculate themselves

Health products have a best-before date. In the 1C export every product has batches with dates. When a batch gets within a set number of months of expiry, those units automatically move to the “Sale” section at a discount, while the rest of the same product stays in the catalogue at the regular price.

The team sets bulk discounts for the whole catalogue, categories or chosen products in the admin. If several discounts apply, the largest wins, and manually entered sale prices are never overwritten.

Cart, delivery and VAT

Checkout is a single page. Delivery options are Omniva, Latvijas Pasts, Venipak and Smartpost parcel lockers, courier, in-store pickup and UPS to other EU countries. Delivery is set up in 14 zones, and zones and rates can be changed without a developer.

VAT is charged by the buyer’s country, with rates set for 28 countries. Payment is via Paysera (banks and cards), PayPal and bank transfer, with PDF invoices in Latvian.

Speed after launch

The new server responds fast and steadily: the first byte arrives in ~65 ms on every run. But on a phone with slow internet, the big homepage banner appeared only after 8.8 seconds at launch. The browser learned about it late and loaded it alongside a hundred other files.

We fixed this on the server side without changing the design:

  • the first banner starts loading together with the page;
  • the homepage shows the image sizes WordPress already generated, not the originals;
  • the contact form and reCAPTCHA load only on “Contacts”, delivery scripts only in the cart and checkout;
  • images and fonts are cached in the browser for a year.
Mobile Slow 4G At launch After optimisation
Homepage LCP 8.8 s 3.5 s
Full load 13.4 s 6.2 s
PageSpeed, homepage 58 72
PageSpeed, category 52 79

Measured 20.11.2026: Slow 4G (1.6 Mbit/s) and a 4× slower CPU, median of 3 runs, homepage of 10. Desktop homepage LCP 1.4 s → 0.8 s.

That is the worst case. On a fast connection (50–100 Mbit/s, 22.11.2026) the homepage is visible in ~0.3 s and fully loaded in ~0.5 s on both desktop and phone.

The new store on a phone: loading on a fast connection, catalogue, product, cart and checkout (no order is sent).

Before and after

The old and the new store: the same path from the homepage to the cart.
Old store (2025)
Old store (2025)
New store (2026)
New store (2026)

What Viola Farma got

The store now takes products from 1C, calculates promotions and VAT on its own, runs in three languages and loads faster on phones. The team changes banners, promo tiles and pages itself.

See violafarma.lv and the project in our portfolio. If you need a similar store with import from an accounting system, have a look at our e-commerce development on WooCommerce, Shopify and Node.js.

Tell us about your project

We reply within one business day with a quote or a few questions. The consultation is free.

Or get in touch right away:

Get a quote within 24 hours

We reply on business days. The consultation is free.

5.0★★★★★26 Google reviews