Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Demystified 
Magento Product Types 
Fabrizio Branca (@fbrnc) - San Francisco Magento Meetup – December, 2014 
or: “How to ...
Types 
Product
Simple 
Configurable 
Grouped 
Virtual 
Bundle 
Downloadable
Simple 
Configurable 
Grouped 
Virtual 
Bundle 
Downloadable 
Mage_Catalog 
Mage_Bundle 
Mage_Downloadable 
Giftcard 
Ente...
Simple 
Configurable 
Grouped 
Virtual 
Bundle 
Downloadable 
isComposite
Simple 
Configurable* 
Grouped 
Virtual 
Bundle* 
Downloadable 
isVirtual 
* if child products are virtual
Simple 
Configurable 
Grouped 
Virtual 
Bundle 
Downloadable* 
canConfigure 
* if product has links that can be purchased ...
Mage_Catalog_Model_Product_Type_* 
Mage_Catalog_Model_Product 
Product vs. Type 
getTypeInstance() 
isComposite() 
canConf...
Mage_Catalog_Model_Product_Type_Abstract 
Mage_Catalog_Model_Product_Type_Simple 
Mage_Catalog_Model_Product_Type_Grouped ...
Attributes 
SKU: 
Description: 
Color: 
Size: 
Brand: 
Weight: 
+ 
General 
Prices 
Taxes 
Images 
Inventory 
Product Link...
Attribute Types
“Visible on Product View Page on Front-end”
“Use in Layered Navigation”
Attribute Sets
Attribute Groups
Status 
ENABLED 
class Mage_Catalog_Model_Product_Status extends Mage_Core_Model_Abstract 
{ 
const STATUS_ENABLED = 1; 
c...
Visibility 
Not Visible 
Individually 
Catalog 
only 
Search 
only 
+ 
Catalog and 
Search
Scopes 
Global 
Website 
Store
Scopes 
Global 
Website 
Store
Scopes 
Global 
Website 
Store
Scopes 
http://fbrnc.net/blog/2012/02/magento-website-store-groups-store-views 
Global 
Website 
Website 
Store Group 
Sto...
Websites 
☐ Website A 
☒ Website B 
☐ Website C 
☒ Website D 
☐ Website E 
Store 1 
Store 2 
Store 3 
Store 4 
Store 5
Categories 
attached to a “store group” 
Controls on which websites it shows up 
Root category
http://www.aschroder.com/2010/07/why-are-my-magento-products-not-showing-up/ 
Why are my products 
not showing up?! 
☑ Are...
Lifecycle 
Catalog 
Cart (=Quote) 
Order 
Archive 
add to cart 
checkout 
archive 
Magento EE 
workflow 
(status, state) 
...
Products 
Simple
http://demo.magentocommerce.com/home-decor/electronics/madison-earbuds.html
Options 
Custom
Mage_Catalog_Model_Product_Option 
Mage_Catalog_Model_Product 
Product Options 
getOptionInstance() 
getProductOptionsColl...
Links 
Product
Mage_Catalog_Model_Product_Link 
Mage_Catalog_Model_Product 
Product Links 
getLinkInstance() 
getRelatedProducts() 
getUp...
up-sells 
Magento EE allows setting these up with dynamic rules…
Products 
Configurable
same 
attribute set 
“super- attributes” 
simple, virtual or downloadable (= non composite)
red 
color 
green 
blue 
white 
yellow 
Super-Attributes
color 
size 
S 
M 
L 
XL 
red 
green 
blue 
white 
yellow 
Super-Attributes
color 
size 
men 
women 
S 
M 
L 
XL 
red 
green 
blue 
white 
yellow 
Super-Attributes 
gender
color 
size 
gender 
Super-Attributes
color 
size 
gender 
red, XL, woman 
Super-Attributes
http://demo.magentocommerce.com/women/tops-blouses/nolita-cami-496.html
Products 
Grouped
+ 
+ 
show up as separate line items
http://demo.magentocommerce.com/luggage-set.html
Products 
Bundle
options 
selections
http://demo.magentocommerce.com/home-decor/bed-bath/pillow-and-throw-set.html
Products 
Downloadable
http://demo.magentocommerce.com/home-decor/books-music/around-the-world-in-80-days.html
http://www.solvingmagento.com
Thank you! 
Any questions? 
{firstname}.{lastname}@aoe.com 
http://www.aoe.com 
http://fbrnc.net 
@fbrnc 
Follow me on twi...
Magento Product Types Demystified
Magento Product Types Demystified
Magento Product Types Demystified
Magento Product Types Demystified
Magento Product Types Demystified
Magento Product Types Demystified
Upcoming SlideShare
Loading in …5
×

Magento Product Types Demystified

10,924 views

Published on

Magento Product Types Demystified - or: "How to design a product catalog"

Published in: Software
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Magento Product Types Demystified

  1. 1. Demystified Magento Product Types Fabrizio Branca (@fbrnc) - San Francisco Magento Meetup – December, 2014 or: “How to design a product catalog”
  2. 2. Types Product
  3. 3. Simple Configurable Grouped Virtual Bundle Downloadable
  4. 4. Simple Configurable Grouped Virtual Bundle Downloadable Mage_Catalog Mage_Bundle Mage_Downloadable Giftcard Enterprise_GiftCard + Modules
  5. 5. Simple Configurable Grouped Virtual Bundle Downloadable isComposite
  6. 6. Simple Configurable* Grouped Virtual Bundle* Downloadable isVirtual * if child products are virtual
  7. 7. Simple Configurable Grouped Virtual Bundle Downloadable* canConfigure * if product has links that can be purchased seperately
  8. 8. Mage_Catalog_Model_Product_Type_* Mage_Catalog_Model_Product Product vs. Type getTypeInstance() isComposite() canConfigure() getIsVirtual() … facade/proxy
  9. 9. Mage_Catalog_Model_Product_Type_Abstract Mage_Catalog_Model_Product_Type_Simple Mage_Catalog_Model_Product_Type_Grouped Mage_Catalog_Model_Product_Type_Configurable Mage_Catalog_Model_Product_Type_Virtual Mage_Downloadable_Model_Product_Type Mage_Bundle_Model_Product_Type Enterprise_GiftCard_Model_Catalog_Product_Type_Giftcard
  10. 10. Attributes SKU: Description: Color: Size: Brand: Weight: + General Prices Taxes Images Inventory Product Links +
  11. 11. Attribute Types
  12. 12. “Visible on Product View Page on Front-end”
  13. 13. “Use in Layered Navigation”
  14. 14. Attribute Sets
  15. 15. Attribute Groups
  16. 16. Status ENABLED class Mage_Catalog_Model_Product_Status extends Mage_Core_Model_Abstract { const STATUS_ENABLED = 1; const STATUS_DISABLED = 2; weird, huh?
  17. 17. Visibility Not Visible Individually Catalog only Search only + Catalog and Search
  18. 18. Scopes Global Website Store
  19. 19. Scopes Global Website Store
  20. 20. Scopes Global Website Store
  21. 21. Scopes http://fbrnc.net/blog/2012/02/magento-website-store-groups-store-views Global Website Website Store Group Store Group Store View Store View
  22. 22. Websites ☐ Website A ☒ Website B ☐ Website C ☒ Website D ☐ Website E Store 1 Store 2 Store 3 Store 4 Store 5
  23. 23. Categories attached to a “store group” Controls on which websites it shows up Root category
  24. 24. http://www.aschroder.com/2010/07/why-are-my-magento-products-not-showing-up/ Why are my products not showing up?! ☑ Are they in stock? ☑ Are they enabled? ☑ Are they visible? ☑ Are any child products in stock? ☑ Are they in the expected category? ☑ Did you clear the cache? ☑ Did you reindex?
  25. 25. Lifecycle Catalog Cart (=Quote) Order Archive add to cart checkout archive Magento EE workflow (status, state) Catalog Price Rules Shopping Cart Price Rules blueprint -> instance (copy)
  26. 26. Products Simple
  27. 27. http://demo.magentocommerce.com/home-decor/electronics/madison-earbuds.html
  28. 28. Options Custom
  29. 29. Mage_Catalog_Model_Product_Option Mage_Catalog_Model_Product Product Options getOptionInstance() getProductOptionsCollection() … facade/proxy getType() getValue() …
  30. 30. Links Product
  31. 31. Mage_Catalog_Model_Product_Link Mage_Catalog_Model_Product Product Links getLinkInstance() getRelatedProducts() getUpSellProducts() getCrossSellProducts() … facade/proxy const LINK_TYPE_RELATED = 1; const LINK_TYPE_GROUPED = 3; const LINK_TYPE_UPSELL = 4; const LINK_TYPE_CROSSSELL = 5;
  32. 32. up-sells Magento EE allows setting these up with dynamic rules…
  33. 33. Products Configurable
  34. 34. same attribute set “super- attributes” simple, virtual or downloadable (= non composite)
  35. 35. red color green blue white yellow Super-Attributes
  36. 36. color size S M L XL red green blue white yellow Super-Attributes
  37. 37. color size men women S M L XL red green blue white yellow Super-Attributes gender
  38. 38. color size gender Super-Attributes
  39. 39. color size gender red, XL, woman Super-Attributes
  40. 40. http://demo.magentocommerce.com/women/tops-blouses/nolita-cami-496.html
  41. 41. Products Grouped
  42. 42. + + show up as separate line items
  43. 43. http://demo.magentocommerce.com/luggage-set.html
  44. 44. Products Bundle
  45. 45. options selections
  46. 46. http://demo.magentocommerce.com/home-decor/bed-bath/pillow-and-throw-set.html
  47. 47. Products Downloadable
  48. 48. http://demo.magentocommerce.com/home-decor/books-music/around-the-world-in-80-days.html
  49. 49. http://www.solvingmagento.com
  50. 50. Thank you! Any questions? {firstname}.{lastname}@aoe.com http://www.aoe.com http://fbrnc.net @fbrnc Follow me on twitter! My blog

×