You are here

README.txt in Commerce Cart Pane 7

Commerce Cart Pane
===============

This module allows to create and place the panes on cart page.

Features
--------
* Ability to organize and configure cart panes on Cart settings page like on Checkout settings page
* Module provides a hook that allows to create a custom panes. Note that panes are not related to checkout panes provided by Drupal Commerce.
* Module works with default cart view

Types of panes
--------------
Panes can be system and contrib. System panes is the form elements that has already presented on default cart view. Contrib panes defines own form elements that are added on the form of cart view.

System panes
------------
- Line items table: shows a list of products added to cart
- Summary: shows a short Total value (Subtotal) or extended Order total table. Also this
  pane is provided by Settings form where admin can switch between short and extended summary.
- Submit buttons: shows 2 buttons - Update cart and Checkout

Contrib panes
-------------
- Shipping pane (Shipping pane (commerce_cps) module needs to be activated)
- Coupon pane (Coupon pane (commerce_cpc) module needs to be activated)

How to create own panes
-----------------------
See commerce_cp.api.php file

Installation & Usage
----------------------------
- Install as usual.
- Install Shipping pane and Coupon pane modules from Commerce (Cart) package if needed
- Go to Store > Configuration > Cart settings (admin/commerce/config/cart)
- Activate and organize panes as you need.
  Node: If you use Shipping pane or Coupon pane it's good to see a changes in Summary table. But by default cart page shows only Subtotal value (sum of all product line items) as summary. In order to switch to full summary table as on checkout page go to Configure in front of Summary pane and check a box. It will update a footer of cart view (can be done manually)
- Go back to cart page to see the changes

File

README.txt
View source
  1. Commerce Cart Pane
  2. ===============
  3. This module allows to create and place the panes on cart page.
  4. Features
  5. --------
  6. * Ability to organize and configure cart panes on Cart settings page like on Checkout settings page
  7. * Module provides a hook that allows to create a custom panes. Note that panes are not related to checkout panes provided by Drupal Commerce.
  8. * Module works with default cart view
  9. Types of panes
  10. --------------
  11. Panes can be system and contrib. System panes is the form elements that has already presented on default cart view. Contrib panes defines own form elements that are added on the form of cart view.
  12. System panes
  13. ------------
  14. - Line items table: shows a list of products added to cart
  15. - Summary: shows a short Total value (Subtotal) or extended Order total table. Also this
  16. pane is provided by Settings form where admin can switch between short and extended summary.
  17. - Submit buttons: shows 2 buttons - Update cart and Checkout
  18. Contrib panes
  19. -------------
  20. - Shipping pane (Shipping pane (commerce_cps) module needs to be activated)
  21. - Coupon pane (Coupon pane (commerce_cpc) module needs to be activated)
  22. How to create own panes
  23. -----------------------
  24. See commerce_cp.api.php file
  25. Installation & Usage
  26. ----------------------------
  27. - Install as usual.
  28. - Install Shipping pane and Coupon pane modules from Commerce (Cart) package if needed
  29. - Go to Store > Configuration > Cart settings (admin/commerce/config/cart)
  30. - Activate and organize panes as you need.
  31. Node: If you use Shipping pane or Coupon pane it's good to see a changes in Summary table. But by default cart page shows only Subtotal value (sum of all product line items) as summary. In order to switch to full summary table as on checkout page go to Configure in front of Summary pane and check a box. It will update a footer of cart view (can be done manually)
  32. - Go back to cart page to see the changes