Magento Developer Certification Preparation Study Group

Session Nine

Andreas Mautz || @mautz_et_tong

webvisum GmbH

NACH RECHTS

Was?

Checkout

NACH UNTEN
Checkout

Wer?

  • Andreas Mautz
  • programmiert seit 16 Jahren
  • macht magento seit 2008
  • beschäftigt sich mit Deployment-Prozessen, Entwicklungsinfrastrukturen und Wissensmanagement seit 2011
  • Vorbereitung Zertifizierung
  • Lehren und Lernen Stoff zusammenzufassen
NACH UNTEN

Location

brandung

NACH RECHTS

Ablauf

Was machen wir denn heute Schönes?

  • Checkout
  • neue Aufgaben II
  • Sonstiges
NACH RECHTS
  • Checkout
  • neue Aufgaben II
  • Sonstiges
Reminder: Mailingliste

Checkout | Overview

  • Komponenten
  • Multishipping

Checkout | Komponenten

  • Quote Object
  • Quote Item Object
  • Address Object
  • What is the quote model used for in Magento?
  • What is the shopping cart model used for in Magento?
  • How does Magento store information about the shopping cart?
  • How are different product types processed when added to the cart?
  • What is the difference between shipping and billing address objects in Magento? How is each used in the quote object?
  • What is the difference in processing quote items for onepage and multishipping checkout in Magento?
  • How does Magento process additional information about products being added to the shopping cart (custom options, components of configurable products, etc.)?
  • How do products in the shopping cart affect the checkout process?
  • How can the billing and shipping addresses affect the checkout process?
  • When exactly does inventory decrementing occur?
  • When exactly does card authorization and capturing occur?

Checkout | Komponenten

  • Total Model
  • What are total models responsible for in Magento?
  • How you can customize total models?
  • How can the individual total models be identified for a given checkout process?
  • How can the priority of total model execution be customized?
  • To which objects do total models have access in Magento, and which objects do they usually manipulate?
  • Which class runs total models processing?
  • What is the flow of total model execution?
  • At which moment(s) are total models executed

Checkout | Multishipping

  • Erweiterung des Multishippings
  • Grenzen des Multishippings

Hausaufgaben zum nächsten Mal I

  • Modify the Onepage-Checkout to skip the shipping step, if only one shipping option is available.
  • Implement a module to do total adjustments based on the selected payment option (for example, +4% for credit card payments). Base the adjustment on the quote subtotal. Display the adjustment amount for each payment method beside each method on the select payment step. Implement a complete set of total models to display and add the surcharge. Make sure the additional cost is displayed during checkout, in the frontend order history, in the admin order view, in the admin invoice view, and in the admin printable PDFs.
NACH UNTEN

Hausaufgaben zum nächsten Mal II

  • Add additional custom product options as labels to quote items on the fly when specific products are added to the cart. Make them work with reorders.

Hausaufgaben zum nächsten Mal III

  • Create gift functionality: A merchant can mark a product to be added as a gift if some condition is satisfied. For example a condition can be purchasing some other product, or a certain amount of other products. Even though the marked product is added as a free gift, the same product should still be available on the frontend for regular purchase. The tasks are:
    1. Automatically add the gift with a price of zero to the cart.
    2. Check for consistency (you can’t have the gift if the condition isn’t satisfied, no more than one gift, and so on).
    3. Process the scenario where, in addition to the gift, there is also another item of the gift product added to the cart.

Hausaufgaben zum nächsten Mal IV

  • Add a new attribute to a product; for example, supplier_sku. Pass this attribute to the order. Make sure the attribute is copied to the quote items and to order items. Customize the review step of the checkout and display the new attribute there.
  • Implement a custom restriction for certain products during checkout. For example, customers whose billing or shipping address is on a blacklist (or whose country is not supported) won’t be able to order this item.
  • Implement the possibility of a discount on the order total when shipping to a specific region. Implement this by registering your own total model. Check that the discount also works in case of an admin order.

Sonstiges

NACH UNTEN

Quellen && nützliche Links

NACH RECHTS

Danke!

ENDE
Andreas Mautz || andreas.mautz@webvisum.de || webvisum.de