Posts

news icon

The new Aelia website is live, and we have great news!

We launched our new website, with a new look and new features

At the beginning of October 2021, we went live with a new website, completely redesigned. The work took significantly longer than we expected, but the important thing is that we finally made it. The new website has a more modern look, a colour scheme that’s easier on the eyes, and it’s also significantly faster. Our tests indicate that it’s up to 30% faster than the previous one, but we will still work to optimise it, to offer you the best experience.

In addition to the look, we made an important change to how we distribute our products. We partnered with our friends at Freemius, and moved all our solutions to their platform. From now on, the Freemius service will take care of handling sales, licensing and distribution for all the Aelia plugins, giving us more time to focus on improving the solution that our customers grew up to know and trust over the years.

The advantages for our visitors and customers

The series of improvements we applied to our site will bring significant advantages. It would take time to list every single change, therefore we prepared a short summary, for your convenience.

New design

We improved the look of the website, using softer colours. This will make it easier to navigate the content and find the information you need. The new layout also includes better support for mobile devices. Mobile browsing is a key aspect of the Internet and, although most of our visitors and customers reach our site via a desktop, we wanted to cater to our “mobile friends” as well. As a further cosmetic touch, we replaced the old, ugly icons with much better ones.

Freemius integration

We moved all our products to an external service, called Freemius, to offer you a better user experience, right from the moment you choose to purchase one of our solutions. To explain the reason behind this decision, we would like to share a bit of “background story”.

As soon as we launched our first premium product, the Aelia Currency Switcher for WooCommerce, we faced a challenge that turned out to be harder than we thought. It was 2013, and neither WordPress, nor WooCommerce offered a reliable, scalable solution to manage software licences and distribute updates for our products. We tested some of the available plugins, but none of them worked too well for us. In some cases, we even received a disgruntled response from the author of a plugin, when we asked about the feature set, so that was a clear roadblock.

Our first solution – The Aelia Licensing System

Due to the lack of a suitable solution, we opted to implement our own licensing system, starting from scratch. For the last couple of years, our Aelia Licensing System has been handling licences and serving automatic updates to thousands of our customers. This worked fine for us, until we had to face some important challenges:

  1. When we first designed our licensing system, we deliberately left renewals as a manual operation, because that was what our customers asked. That request changed fairly quickly, and nowadays most of our customers would like to have licences that renew automatically.
  2. Our customer base grew faster than we expected. Our in-house licensing system, which was still working fine, risked not to be able to handle all the traffic it received.
  3. An increasing number of our customers asked us to provide trial versions of our products. We are not fans of the idea of offering limited versions of plugins, that don’t reflect the true capabilities of the paid product, therefore we had to find a way to implement some sort of “time limited trial”.
  4. In 2021, Brexit finally became effective, introducing new rules to sell to UK consumers (i.e. customers who are not registered for VAT). Merchants are required to charge VAT to all UK customers who don’t have a valid UK VAT number. At the same time, the same merchants can’t charge VAT unless they have a UK VAT number, which we don’t have. Registering for VAT in the UK would have introduced a significant amount administrative costs, that we could not sustain. Due to that, the only viable option left to us was to block sales to UK consumers. Needless to say, this caused us to be unable to offer our products to such customers.

Our new choice – Freemius

With so many different aspects to handle, we realised that we could not longer rely on our own resources. Due to that, we tested the Freemius platform, and found that it allowed us to address all the above, automatically. Their service handles automatic renewals, is fast, and it can serve customers from the EU, the UK and abroad. This allows us to reach a broader audience, remain fully compliant with VAT regulations and save a significant amount of paperwork.

The Freemius platform offers our customers a modern, responsive and performing user interface. Thanks to that, our clients can find what they need, quickly and easily. On top of that, the work we did for the integration can also benefit our fellow developers!

If you’re a plugin developer interested in Freemius, we have something for you

The Freemius platform offers a simple integration guide. We could have just followed the instructions anded add a purchase link on our website, manually, on each product page. However, as Engineers, we like to automate these aspects, so we came up with a solution. We prepared a Freemius Integration plugin , which allows to link a WooCommerce shop to the Freemius service. Some of the key features:

  1. Manage product prices, from WooCommerce, and update them in Freemius automatically. This feature also works with WooCommerce’s variations to allow you to configure as many prices as you like, in any combination. For example, you can create monthly, annual, lifetime payment options, for one site, or multiple sites, and link each one to a variation.
  2. Manage and synchronise product prices in multiple currencies. The Freemius Integration is also fully compatible with our Aelia Currency Switcher. This feature allows you to synchronise, and keep up to date, the product prices all the currencies supported by Freemius. You can enter the prices manually, directly in WooCommerce. or let them be updated automatically whenever exchange rates change.
  3. Display a smart widget to allow your customers to purchase your products. You can use the shortcode provided by the Freemius Integration and let it take care of showing the available options, with each price, to your prospective customers. Simp
  4. ly drop the shortcode anywhere you like, and it will display a user friendly purchase interface to your customers.

If you wish to see the Freemius Integration in action, you can simply visit one of our product pages. You can find the purchase widget towards the bottom of the page, or simply click on the “buy plugin” button to scroll right down to it.

Interested in the Freemius Integration for WooCommerce?

If you would like to know more about the Freemius Integration for WooCommerce, please feel free to contact us. We will be happy to share more details about it, and collect your feedback and feature requests, in preparation for its release to the public.

 

news icon

WooCommerce and cache – Part 2: new Cache Handler plugin

Read Part 1: WooCommerce Currency Switcher and cache – Making them work together

Some months ago, we wrote about one of the most common issues faced by merchants who run highly dynamic websites, which include multi-currency, multi-pricing, geolocation features: stale content served by rigid caching systems.

In brief, there are quite a few caching systems designed with the assumption that the content of a site is the same for anyone. No matter who is opening a page, they serve the same information. This is correct for relatively static sites, such as blogs, which show the same articles to every member of the audience, or simple e-shops, where the prices are set, and are the same for every customer.

In a few words, many caching systems assume that, given a page on a site, the content of such page will always be the same, without exception. As we explained, this is incorrect when a site is highly dynamic. A shop that handles multiple currencies may be showing different prices to different visitors, or it might need to show a different tax rate (this is actually a requirement in many countries), on the exact same page.

With a static caching system, the result is that users may end up seeing the wrong content. This makes for a worse user experience, and can have an impact on conversion.

After an in-depth analysis, and several experiments, we came to a conclusion: issues caused by the caching system must be solved by the caching system. Based on this approach, we prepared an algorithm for dynamic caching that handles the needs of a multi-currency, multi-pricing, multi-language shop as it should, without compromising on the performance. This, in our opinion, is the correct way to address the issue.

The status of Dynamic Caching today

We keep contacting as many hosting providers as possible, explaining them how they should update their caching systems to bring them up to speed. Our objective is to make it clear that handling highly dynamic caching is a must, not just a “frill”.

Quite a few providers agreed with our approach, and allow their customers to customise the caching logic as required. Others, like the WP Engine team, showed interest in our solution, and are currently reviewing it, for future implementation. There are some who are still “lagging behind”, and there are a few, such as CloudFlare, who only offer dynamic caching on their most expensive plans.

Due to these limitations, imposed by an obsolete architecture, merchants have make a difficult decision:

  • Change hosting/service provider and move to one that handles caching as it should. This would make sense, but it’s not always possible. Besides, merchants might have invested a significant sum in current service.
  • Disable the caching system they are using, and for which they might have been paying a service fee.
  • Abandon the idea of a multi-currency, multi-language site, potentially risking to drive away audience.

While we still maintain that caching issues must be addressed on the caching layer, we wanted to find a solution that would help merchants, at least temporarily, while the service providers update their system.

Welcome our new plugin: WooCommerce Cache Handler

Thanks to our customers’ support, we are happy to announce the release of the WooCommerce Cache Handler plugin (currently in Beta stage). This new plugin can be used as a workaround with rigid caching systems, such as CloudFlare, SiteGround “Dynamic” Cache (which is actually static), as well as plugins that don’t support dynamic caching, such as W3 Total Cache.

Please note that our recommendation is still to consider switching to a more flexible solution, but this plugin will cover you until you are ready for that change.

How it works

The WooCommerce Cache Handler is simple to use. All you have to do after installing the plugin is go to WooCommerce Settings > Cache Handler and choose the handler you prefer.

WooCommerce Cache Handler - Configuration page

Configuring WooCommerce Cache Handler is extremely easy. Simply choose your favourite handler, clear the cache, and you are ready to go!

After that simple selection, the Cache Handler will support our Currency Switcher, Prices by Country, Tax Display by Country, and all our other WooCommerce plugins.

Currently, there are three options available.

1. Disabled

As the name implies, this disable all the features of the plugin. It can be useful for testing.

2. Redirect

This option is an almost exact equivalent of the “caching support” feature implemented by WooCommerce, which is enabled when the Default Customer Address is set to Geolocate (with page caching support).

The major difference from the standard feature is that our handler takes into account details such as the currency, customer’s country, customer’s state, customer’s tax exemption, and so on, ensuring that the correct content is served to customers based on these parameters. Like the original workaround from which it was derived, this handler appends a random string to URLs.

Benefits and drawbacks

+ The Redirect handler is based on the original workaround implemented by WooCommerce.
+ This solution works on a page level, thus it can produce the correct content with any configuration, or 3rd party plugins.
– The URLs look “ugly”, due to the string appended to them to work around the limitations of caching.

3. Ajax Loader

The Ajax Loader is an alternative to the Redirect, and it’s more elegant, as it doesn’t alter page URLs with ugly, random text. This handler loads all pricing elements via Ajax, when the page load is completed. The result is the following:

  1. A visitor connects to your site from the US. He would like to see USD.
  2. The rigid caching system has the page cached in EUR, and serves it to the customer.
  3. The Ajax Loader kicks in as soon as the page is loaded, requesting the updated prices from the server. After a brief moment, all elements that were displayed in EUR are changed to USD, as the visitor would expect.This update is very quick, and, at the moment, it processes the following standard elements :
    – Product prices
    – Currency selectors
    – Price filter widget
    – Custom prices displayed with the Currency Switcher shortcodes.

Benefits and drawbacks

+ The Ajax Loader is a more elegant solution than reloading the page after appending a random string to the URL.
+ Page load is faster, as there is no redirect.
+ URLs are not altered. There is no random text appended to them.
– The Ajax Loader can only process standard elements on the page. If 3rd party plugins add their own pricing elements, such addon prices, custom totals, etc, those won’t be updated. It will be up to the 3rd party plugins’ authors to “hook” into the Ajax Loader and refresh their elements via Ajax.

How to get the WooCommerce Cache Handler

The WooCommerce Cache Handler is available free of charge. Please feel free to download and try it, and see how it works for you. Whether you are using CloudFlare, SiteGround, WP Engine, Flywheel, or any other service with static caching, the Cache Handler got you covered!

Questions? Feedback?

The Cache Handler is still in Beta stage and that, as any free plugin, it’s not covered our free support. We would recommend to try it on a staging copy of your site, so that the live site won’t not affected by bugs that we eventually have to address.

We also would like to encourage you to share your feedback by contacting us. If you wish to contribute to the development of this plugin, you are more than welcome to do so!

Thanks for reading, and see you soon on aelia.co!

The Aelia Team

news icon

WooCommerce Currency Switcher and cache – Making them work together

This article continues in WooCommerce and cache – Part 2: new Cache Handler plugin

One of the most common questions we receive from our customers is how to make a highly dynamic, multi-currency, multi-pricing, geolocation-enabled sites work properly with caching enabled. This is not always an easy task, because caching systems are designed with the assumption that the content served by a site doesn’t change depending on the visitor. Such assumption holds true in many cases, as a large number of sites does indeed serve the same content to whoever views a page. In such case, the standard behaviour of caching systems, which is storing one copy of each page in the cache, is acceptable.

As soon as multi-currency features are added, the same behaviour proves itself too limited, because the assumption behind it becomes incorrect. A multi-currency shop serves different content to different visitors, depending on the currency and other criteria (applicable taxes, regional pricing, etc). Quite simply, having one cached copy of each page just doesn’t cut it anymore.

Until recently, the only way to prevent caching from interfering with the multi-currency features was to disable it on catalogue pages. Doing so ensures that the shop can produce content dynamically, showing the correct information to each visitor. In some cases, when the caching system in use is too rigid, this is still the only solution.

How WooCommerce handles the issue

WooCommerce itself has to deal with caching since its team introduced geolocation features in it. The WC team added a workaround to “trick” caching systems into letting WooCommerce serve the correct data. Such workaround works by reloading the shop pages in a way that cache is ignored. This ensures that the page shows the correct content but, in our opinion, it’s not an ideal approach. We certainly appreciate the effort put into it, and the fact that there isn’t much more that a plugin can do to correct the behaviour of the caching system. However, we decided to find an alternative, more robust solution.

Our solution

Our opinion is that caching systems should adapt to your site, not the other way round. Issues caused by caching should be solved by fixing the caching. With this in mind, instead of implementing a workaround, we tackled the issue at its root, and wrote an algorithm for dynamic caching that takes into account the needs of a multi-currency website.

The algorithm is straightforward, and solves the issue by addressing its cause: instead of one copy of each page, it allows caching systems and plugins to store multiple copies of each page (such as one for each currency). With that in place, visitors from all over the world will see the content that applies to them, with the correct currency and taxes applied. If visitors choose another currency, or country, then our plugins track their choice, and the dynamic caching logic uses it to serve them the correct content.

Our solution grants top performance, with maximum flexibility.

Supported Systems

Dynamic caching is a great solution for highly dynamic, multi-currency sites. However, it can only work if the caching system in use supports it. As of October 2015, the following plugins and systems support, or are planning to support, dynamic caching.

WordPress Plugins

Caching Systems

For caching plugins and systems that do not support dynamic caching, disabling cache on catalogue pages is still necessary to allow the multi-currency features to work correctly.

How to add dynamic caching to your site

Adding it to your site can be as simple as copying one file, or changing one configuration file. In order to allow you to get started quickly, we wrote an implementation of dynamic caching for the following systems:

  • ZenCache/Comet Cache
  • Nginx

You can find detailed instructions to install and configure each of our solutions, as well as indications for other systems, in our knowledge base: How to add dynamic caching to your site.

We also discussed the implementation extensively with the WP Rocket Team, and provided them with code examples for integration. They confirmed that they are going to add support for dynamic caching and multi-currency sites directly in their plugin.

With dynamic caching and our Currency Switcher, your WooCommerce site will be faster and more flexible than ever!

What about systems that don’t support dynamic caching?

Plugins and caching systems that don’t support dynamic caching still have to be disabled on the catalogue, at least until they are updated. We believe that caching systems should be flexible, and support for dynamic caching is not particularly difficult to implement.

If you are using a plugin, or a caching system that doesn’t support dynamic caching, we recommend thar you get in touch with its authors and express your interest in such feature. You can also suggest them to contact us directly, if they have any questions. We will be happy to provide them with all the information they need to improve their solution.

Questions? Feedback?

We hope that you enjoyed this great news. A faster e-commerce means more customers, and that is always good! If you have any questions about our solutions, or if you would like to send us your feedback, please feel free to contact us. We will get back to you in no time.

Thank for your time and continued support.

The Aelia Team