Artikel-Schlagworte: „prestashop“

Mein neuer Netzladen: Handgefärbte Stoffe für Quilts und Patchworks

Samstag, 7. August 2010

Liebe Leute.

Soeben habe ich meinen ersten Online-Shop eröffnet, welcher ab sofort eine Vielzahl einzigartiger, handgefärbter Stoffe bietet! Besonders für KünstlerInnen, welche Quilts und Patchworks arbeiten, werden sich dafür interessieren. Die Adresse ist unikatstoff.de !

(weiterlesen …)

(English) Sort products by colour in web shops

Mittwoch, 4. August 2010

Many on-line shop systems, like Magento, Prestashop or xt-commerce, lack the ability to automatically sort products by colour.

In order to solve this, I wrote a little python script that transforms the average colour of a product image into a scalar, then generates a CSV file including the colour value in some property, allowing it to be sorted easily by the web shop system of your choice. Images with many different colours are not sorted very well, but it worked for most of the products in my case.

You can see the script in action at shop.paramentextil.de. It generates a CVS file which can be imported by most e-commerce systems. You will certainly have to change the script to your needs, but this should be easy to do even with little programming experience. Changing the sorting mechanism may also be appropriate in some cases. Enjoy. (weiterlesen …)