Magento Developer Certification Preparation Study Group

Session Seven

Andreas Mautz || @mautz_et_tong

webvisum GmbH

NACH RECHTS

Was?

Catalog

NACH UNTEN
Catalog

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

Locationcation

brandung

NACH RECHTS

Ablauf

Was machen wir denn heute Schönes?

  • Hausaufgaben besprechen
  • Adminhtml
  • neue Aufgaben
  • Pizza
  • Catalog
  • neue Aufgaben II
  • Sonstiges
NACH RECHTS
  • Catalog
  • neue Aufgaben II
  • Sonstiges
Reminder: Mailingliste

ODER

NACH UNTEN

Ablauf

  • Catalog
  • neue Aufgaben II
  • Sonstiges
  • Pizza
  • Hausaufgaben besprechen
NACH RECHTS
  • Catalog
  • neue Aufgaben II
  • Sonstiges
  • Pizza
  • Hausaufgaben besprechen

Catalog | Overview

  • Product types
  • Price generation
  • Catalog structure
  • Price Rules
  • Other skills
NACH UNTEN

Catalog | Product types

  • Simple
  • Grouped
  • Configurable
  • Virtual
  • Bundle
NACH UNTEN
http://www.magentocommerce.com/wiki/modules_reference/english/mage_adminhtml/catalog_product/producttype#dokuwiki__top Simple The Simple Products type should be used for that generally have a single configuration (one-size-fits-all). This might include items such as: A Box of Crayons, Small (24 Colors) A Box of Crayons, Large (64 Colors) SuperHighTech 26” HD Computer Monitor Barrack Obama Action Figure (6”) Grouped Grouped products allow you to create a new product using one or more existing products in your store. For instance, let’s assume you have a “Barrack Obama Action Figure” and a “George W Bush Action Figure” already in your store and you wanted to sell them as a bundle. You would simply create a new Grouped Product (let’s call it “Obama + Bush (Get Both and Spend Twice as Much!)”, then add both action figures to the group via the “Associated Products” tab. Note: Unfortunately, you are not able to set a special “group” price directly from the product page. To offer a discount for buying items together, you will need to create a new Shopping Cart Price Rule. Configurable Configurable Product : This product enables your customers to select the variant that they want by choosing options. For example, you can sell T-shirts in two colors and three sizes. You would create six simple products as individual products (each with its own SKUs) and then add these six to a configurable product where customers can choose the size and color, and then add it to their cart. Very similar functionality is possible by using Custom Options for Simple products. The difference between a configurable product and a product including custom options is that inventory is not checked or updated for individual options during the purchase of the custom options. Virtual Virtual Products are those that do not have a physical or digital counterpart. They do not ship, nor do they have a download link. This product type might be used for services like: House Cleaning 1-Year Newsletter Subscription Note: If using Virtual Products for “subscriptions”, it is important to note that there is no built-in way to manage auto-renewing subscriptions. All purchases made in Magento, regardless of Product Type, are one-time purchases. Bundle This product type is also known as a “kit” in other eCommerce software. This product type is ideal for circumstances where the user have to select a number of configurable options, but at least one option. This might includes products like: Customizable Computer Systems Customizable Tuxedos/Suits Click here for a video tutorial on using bundles Downloadable Downloadable products are similar to virtual products, except that they include the ability to add one or more digital files for download. Files can either be uploaded via the Admin interface, or by uploading directly to the server via FTP and then added by URL. When a customer buys a Downloadable product, Magento will generate a secure, encrypted link (so that the customers can’t see the file’s real location) for that customer to download their file. This category might include products such as: Music/MP3s Computer Software Note: If you have SSL enabled for your site, downloads may fail under all versions of IE as IE contains a bug that prevents downloading over secure connections if the no-cache header is set. This can be easily fixed in an htaccess file by removing the no-cache and no-store headers, or by forcing download links to to be non-secure.

Catalog | Price generation

  • Basics
  • $finalPrice = $product->getPrice();
    $finalPrice = $this->_applyTierPrice($product, $qty, $finalPrice);
    $finalPrice = $this->_applySpecialPrice($product, $finalPrice);
    $product->setFinalPrice($finalPrice);
  • Modify and adjust (Price Model)
NACH UNTEN
http://blog.magestore.com/2012/05/30/magento-blog-price-generation/

Catalog | Catalog structure

  • Category Tree
  • Attributes
NACH UNTEN
layered, default, active

Catalog | Price Rules

  • Conditions
  • Modifications
  • Customers
NACH UNTEN
http://www.solvingmagento.com/magento-catalog-price-rules/

Catalog | Other Skills

  • Flat vs. EAV
  • Tax rules
  • Filter navigation
  • Indexes
  • Product Options
NACH UNTEN
http://blog.magestore.com/2012/06/29/magento-certificate-layered-navigation/

neue Hausaufgaben!

für Session 8:

Rewrite the catalog search full-text indexer to include product tags.

Create a custom indexer with a custom index for comment to category associations. This index contains references to all the comments associated with a specific category detail page. You might want to add a category_id attribute to the comment entities for this.

Integrate the comment indexer into the adminhtml indexer interface.

Make the comment indexer process individual entity updates immediately (if not set to manual).

Set the indexer status to “requires reindex” whenever a comment on the frontend is edited, and update automatically whenever a category is edited in the admin area.

Create an action controller action method that adds a configurable product to the cart using a default set of options (single click add-to-cart for configurable products).

Create a product type that lets the customer specify the price he wants pay when adding such a product to the cart, and use that price during checkout. Use the standard product price attribute as a suggested price for the product

NACH UNTEN
Jemand vorstellen? Probleme? Fragen? Straight: 15 Minuten CUT!

Sonstiges

NACH UNTEN

Quellen && nützliche Links

Magento

  • How to create a new product type in Magento
  • Karteikarten
  • Magento for Developers: Product Configuration and “Composite Products” Functionality
NACH RECHTS

Danke!

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