Lefteris Saroukos

programmer

oleawoodart.com

Technologies

  • WordPress Plugins
  • Woocommerce Hooks
  • python
  • css
  • javascript
  • html
  • php

Description

A WordPress website that acts as an online product catalogue.

An existing template has been modified and a custom pluginwas built that allows only to logged-in user to buy products or see the product prices.

This is a multilingual website.

Challenges

The biggest challenge was importing a list of products from an excel file as Woocommerce products. To avoid the time consuming process of registering each individual product, a python script was built that read each entry from the initial excel file and created a proper csv file to massively import Woocommerce products.

In order to disallow anyone but the logged-in users to buy producst, a subscribers creation system was implemented as well as easy to use front-end log in system from which the administrator can activate or deactivate at any time.

Finally, the plugin that was built to disallow not logged-in users to buy products, uses Woocommerce hooks.