Skip to content

Commit

Permalink
Issue #1783556 by vasike: Fixed 'Add to cart' formatter in 'Confirm m…
Browse files Browse the repository at this point in the history
…essage product display' view leads to a loop.
  • Loading branch information
vasike authored and bojanz committed Sep 16, 2012
1 parent 75b3cd3 commit bf84051
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 83 deletions.
4 changes: 2 additions & 2 deletions commerce_add_to_cart_confirmation.module
Expand Up @@ -13,8 +13,8 @@ function commerce_add_to_cart_confirmation_views_api() {
* Create new view mode for product display, commerce product.
*/
function commerce_add_to_cart_confirmation_entity_info_alter(&$entity_info) {
$entity_info['commerce_product']['view modes']['product_in_cart'] = array(
'label' => t('Product in cart'),
$entity_info['commerce_product']['view modes']['add_to_cart_confirmation_view'] = array(
'label' => t('Add to cart confirmation view'),
'custom settings' => TRUE,
);
}
81 changes: 0 additions & 81 deletions commerce_add_to_cart_confirmation.views.inc

This file was deleted.

0 comments on commit bf84051

Please sign in to comment.