40
Створення інтернет- магазину на базі Drupal

DrupalTour. Zhytomyr — Створення інтернет-магазину на базі Drupal (Sergiy Skripchuk, InternetDevels)

Embed Size (px)

Citation preview

Створення інтернет-магазину на базі Drupal

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

Структура Drupal Commerce

До Після

Головна сторінка керування магазином

Форма адміністрування товарів

Форма адміністрування замовлень

Сторінка функціональних блоків сайту

Сторінка кошику

Сторінка підтвердження замовлення

commerce_product

product_id

owner

SKU

Title

PriceType: Price

Сторінка налаштувань параметрів полів матеріалу

Форма редагування товару

Форма редагування матеріалу

Сторінка налаштувань параметрів полів матеріалу

Стандартні віджети для полів типу Reference

Форма додавання матеріалу типу Product + віджет Inline Entity Form

Сторінка налаштувань відображення полів матеріалу

Сторінка матеріалу

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

Налаштування правила для надсилання електронного листа по завершенню замовлення

Налаштування типів товарів