Online-Shops vs. deutsche Rechtsprechung

Warum das Gericht Registrierungs-Mails in Online-Shops verbietet und mit Abmahnungen droht

 Session Digital hat Fakten, Lösungsoptionen und Tipps für Sie zusammengefasst. (Quelle: www.e-recht24.com)

Wer kennt es nicht: man registriert sich mit seiner E-Mail-Adresse in einem Online-Shop und bekommt eine automatisierte Begrüßungsmail über die Registrierung und Eröffnung des Kontos. Eigentlich ein standardisierter und kundenfreundlicher Service. Doch was passiert, wenn der Kunde behauptet, sich gar nicht in diesem Shop angemeldet zu haben?
Das Amtsgericht Weißensee stuft die Anmeldebestätigung, die Kunden nach der Registrierung in einem Shop erhalten, als Spam ein. Somit können Shops, die derartige Bestätigungsmails versenden, abgemahnt werden (Urteil veröffentlicht am 11. Februar 2015).

Read More

Magento: Shell script for cleaning associated product attribute options

During the last 2 months I have been trying different strategies for product imports. Also there are very often change requests about what options we should present for the product attributes. It’s  constant fun, because we have 2 data sources – PIM and ERP, but of course the client  has the final word.

From technical point of view it’s important to mention that we are using custom source tables for almost every product attribute. And we have a highly customized Magento store.

I ended up in a situation that I had to delete all the associated product attribute options. As those might lead to some problems in the future. This is because of the specific Magento setup and the custom source tables that we have. In our project if I truncate any of the custom source tables, the options ids in in any of catalog_product_entity_* tables will not be deleted automatically. But I had to rebuild the data of some of the custom tables with completely different values than what we had previously.

Basically I wrote a simple shell script. By given product attribute code deletes it’s all associated options / values from catalog_product_entity_* tables.

Read More

Check if order items are owned by the current customer

It’s constant fun working at Jarlssen. I can say that I’ve never worked on projects with the complexity of those that we have here.

In my current project I have to deal with the task to allow the current customer to edit some fields of his order items. Basically I pass the order item ids and some extra information by html form and later in the backend code I update the order items.

Read More

Flag new products

Recently a frontend colleague asked me if I can prepare something, that gives him an easy way to figure out, inside the template files, which products are new.
Basically he just wanted to add some visual ribbons for the new products in many different places.
In our project the administrators mark products as new by setting some time in date fields new from date and new to date in the admin panel:

Read More

Timeout saving attribute options (for types “multiple select” and “dropdown”)

During my daily work, I have noticed that the admins of some Magento stores are experiencing problems when they have to work with attributes of type “Multiple Select” and “Dropdown”, which have many options (for example more than one thousand options). When they pressed the save button in the admin area, after they edited an attribute, their browser crashed.

Read More

MySQL tune up guide

As you may know, one of the nice things about MySQL is that you install it and just works; no custom setting, no special tuning. Anyway, as there is no solution to make happy everybody, the same is here: there are cases when having a properly working MySQL can give you really big headaches.

Read More

Loud and Soft

Just the other day, I was reflecting upon the addition of the single-line comments into LESS and SASS, and how it made my life more tolerable. I mean, there are lots of comments that I like to put into my files when writing them that only apply to the code when being written, but not to the final product. They are merely hints about what I personally need to watch out for, but they don’t help when looking at the final product. There, I only need to know what the code does and where it is meant to be applied.

So yeah, I like the idea of “silent” comments. I like it a lot.

Read More