Download - DrupalTour. Zhytomyr — Створення інтернет-магазину на базі Drupal (Sergiy Skripchuk, InternetDevels)
eCommerce-розширення відомих відкритих CMS
WordPress + WooCommerce Joomla + VirtueMart Drupal + Drupal Commerce
Drupal 6
Node(fieldable)
Basic page
Article
Custom content type
Comment
Taxonomy
User
Custom DB table
Drupal 7
Entity (fieldable)
Node
Basic page
Article
Custom content type
Comment
Taxonomy
User
Custom entity type
Custom DB table
commerce_product
Product line itemEntity type: commerce_line_item
Line item type: Product
line_item_id
order_id
line_item_label
uid (owner user id)
. . .
Product
Type: Product reference
Commerce Unit PriceType: Price
Commerce TotalType: Price
. . .
OrderEntity type: commerce_order
order_id
line_item_label
uid (owner user id)
. . .
Commerce Line ItemsType: Line item reference
Commerce Order TotalType: Price
. . .
Shipping line itemEntity type: commerce_line_item
Line item type: Shipping
Coupon line itemEntity type: commerce_line_item
Line item type: Coupon
commerce_product
Product line itemEntity type: commerce_line_item
Line item type: Product
line_item_id
order_id
line_item_label
uid (owner user id)
. . .
Product
Type: Product reference
Commerce Unit PriceType: Price
Commerce TotalType: Price
. . .
OrderEntity type: commerce_order
order_id
line_item_label
uid (owner user id)
. . .
Commerce Line ItemsType: Line item reference
Commerce Order TotalType: Price
. . .
Shipping line itemEntity type: commerce_line_item
Line item type: Shipping
Coupon line itemEntity type: commerce_line_item
Line item type: Coupon
commerce_product
Product line itemEntity type: commerce_line_item
Line item type: Product
line_item_id
order_id
line_item_label
uid (owner user id)
. . .
Product
Type: Product reference
Commerce Unit PriceType: Price
Commerce TotalType: Price
. . .
OrderEntity type: commerce_order
order_id
line_item_label
uid (owner user id)
. . .
Commerce Line ItemsType: Line item reference
Commerce Order TotalType: Price
. . .
Shipping line itemEntity type: commerce_line_item
Line item type: Shipping
Coupon line itemEntity type: commerce_line_item
Line item type: Coupon
commerce_product
Product line itemEntity type: commerce_line_item
Line item type: Product
line_item_id
order_id
line_item_label
uid (owner user id)
. . .
Product
Type: Product reference
Commerce Unit PriceType: Price
Commerce TotalType: Price
. . .
OrderEntity type: commerce_order
order_id
line_item_label
uid (owner user id)
. . .
Commerce Line ItemsType: Line item reference
Commerce Order TotalType: Price
. . .
Shipping line itemEntity type: commerce_line_item
Line item type: Shipping
Coupon line itemEntity type: commerce_line_item
Line item type: Coupon
commerce_product
Product line itemEntity type: commerce_line_item
Line item type: Product
line_item_id
order_id
line_item_label
uid (owner user id)
. . .
Product
Type: Product reference
Commerce Unit PriceType: Price
Commerce TotalType: Price
. . .
OrderEntity type: commerce_order
order_id
line_item_label
uid (owner user id)
. . .
Commerce Line ItemsType: Line item reference
Commerce Order TotalType: Price
. . .
Shipping line itemEntity type: commerce_line_item
Line item type: Shipping
Coupon line itemEntity type: commerce_line_item
Line item type: Coupon
commerce_product
Product line itemEntity type: commerce_line_item
Line item type: Product
line_item_id
order_id
line_item_label
uid (owner user id)
. . .
Product
Type: Product reference
Commerce Unit PriceType: Price
Commerce TotalType: Price
. . .
OrderEntity type: commerce_order
order_id
line_item_label
uid (owner user id)
. . .
Commerce Line ItemsType: Line item reference
Commerce Order TotalType: Price
. . .
Shipping line itemEntity type: commerce_line_item
Line item type: Shipping
Coupon line itemEntity type: commerce_line_item
Line item type: Coupon
commerce_product
Product line itemEntity type: commerce_line_item
Line item type: Product
line_item_id
order_id
line_item_label
uid (owner user id)
. . .
Product
Type: Product reference
Commerce Unit PriceType: Price
Commerce TotalType: Price
. . .
OrderEntity type: commerce_order
order_id
line_item_label
uid (owner user id)
. . .
Commerce Line ItemsType: Line item reference
Commerce Order TotalType: Price
. . .
Shipping line itemEntity type: commerce_line_item
Line item type: Shipping
Coupon line itemEntity type: commerce_line_item
Line item type: Coupon
Commerce Cart• After adding a product to the cart• After removing a product from the cart• Before adding a product to the cart
Commerce Checkout• Completing the checkout process
Commerce Customer profile• After deleting a commerce customer profile• After saving a new commerce customer profile• After updating an existing commerce customer profile• Before saving a commerce customer profile• Commerce Customer profile is viewed
Commerce Line item• After deleting a commerce line item• After saving a new commerce line item• After updating an existing commerce line item• Before saving a commerce line item• Commerce Line item is viewed
Commerce Order • After deleting a commerce order • After saving a new commerce order • After updating an existing commerce order • Before saving a commerce order • Commerce Order is viewed Commerce Payment • Select available payment methods for an order • When an order is first paid in full Commerce Payment transaction • After deleting a commerce payment transaction • After saving a new commerce payment transaction • After updating an existing commerce payment transaction • Before saving a commerce payment transaction • Commerce Payment transaction is viewed Commerce Product • After deleting a commerce product • After saving a new commerce product • After updating an existing commerce product • Before saving a commerce product • Calculating the sell price of a product • Commerce Product is viewed
Стандартні події, які оброблюються модулем Rules