WordPress Website Improvements. WooCommerce Store Improvements 

We have been working on a website for an American manufacturer and seller of b2c nail polishes. Our team has been involved in the development, optimization, and existing functionality improvement. Let’s see what we have improved and how.

Reward points rounding

Another problem that was on the site was the rounding of points that were awarded to users. If the figure is round, there should not be zeros after the decimal point. The site used the plugin SUMO Reward Points – WooCommerce Reward System by FantasticPlugins. It was customized and did not allow you to get rid of zeros after the decimal point if the number is round.

We’ve done a detailed audit of what’s going on. And found out that earlier there was a mu-plugin that does more or less the right thing, but on the wrong hook and a little bit wrong. To achieve correct work from the plugin, we removed the extra code. Next, our WordPress website developers added some code that covered several narrow cases of displaying these points in custom places. Using the filters built into the plugin, we have achieved the correct work.

AJAX Filtering Improvements

Custom product filtering did not work correctly. This could lead to customers leaving the site. The problem with filters was discovered during optimization and writing tests. To fix the filtering issue, we’ve carefully tweaked the MySQL query used for all filtering options. We made sure that these cases were correctly cached at the data level (to avoid slowing down).

Problems of this kind are not critical, however, our team believes that there is nothing unimportant in web development. We always pay attention to details when we make functionality from scratch. And when we take on the support of existing stores, we definitely pay attention to such trifles.

Wishlist Improvements

The client site was using an outdated version of the wishlist. Because of this, the wishlist was rendered on every page load. Because of this, the wishlist was rendered on every page load. Also, if the user added at least 1 product to the wishlist, the cached page was no longer displayed to him, and for each product, it was checked whether it was added to the favorites of this client or not.

We usually offer clients a ready-made solution – a frontend-first wishlist, which works on the same principle as the WooCommerce cart – based on AJAX fragments. All “hearts” on the page are also placed using JS. Accordingly, after literally 1 request to the server when rendering the page, we already know the current wish list and cache it on the client side. If something changes, we update. It’s all synced between tabs.

However… After a closer look, we found that the plugin developers are planning the same thing in the next major version, which is planned just about.

Of course, we did not sell extra development hours to the client and just waited for the update to be released. Having carefully tested it on a test server and with real data, it immediately went into production.

In Conclusion

After improving the existing functionality in the online store, there were no bugs left that reduced the user experience or did not work at all. Our WordPress development company has a comprehensive approach to each project, taking into account its features. We offer effective solutions for the fast loading speed of your sites and serviceable functions. If you want to improve your online store, just write to us and get a free web page audit!