E-commerce

Error message

The specified file temporary://fileIlbhgp could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
Drupal commerce checkout pages templates

Once upon a time one developer was very upset, because he coudn't find appropriate templates name for drupal commerce checkout pages. And he began his research. Here is the result of his research.

Checkout page template: page--checkout--%.tpl.php

Checkout review page template: commerce-checkout-review.tpl.php

Page checkout complete: page--checkout--complete.tpl.php

Also will be usefull to know about user order (! one order page!!!!!) page template: page--user--orders--%.tpl.php

Drupal commerce checkout pages templates

Once upon a time one developer was very upset, because he coudn't find appropriate templates name for drupal commerce checkout pages. And he began his research. Here is the result of his research.

Checkout page template: page--checkout--%.tpl.php

Checkout review page template: commerce-checkout-review.tpl.php

Page checkout complete: page--checkout--complete.tpl.php

Also will be usefull to know about user order (! one order page!!!!!) page template: page--user--orders--%.tpl.php

Automatic product display creation while creating product type in drupal commerce

This post is just a repost of drupal.org information. The link to this post was lost unfortunately but information is very helpfull, so let's begin. In drupal commerce creating product display is separated from creating product type. it means that one product type can have multiple product displays. But in most cases we don't need such functionality, then we should implement one rule using the module with the same name - Rules.