Drupal Commerce - How to setup Catalog ?

Events happening in the community are now at Drupal community events on www.drupal.org.
minyinleung's picture

How can I setup Product Catalog to my Drupal Commerce Web site ?
Drupal Ubercart is very easy to setup Product Catalog, but Commerce is not so straight forward.
I followed this one:
https://drupalcommerce.org/user-guide/setting-product-catalog
But it could not show my products in catalog.
Any web site you suggest ?

Comments

Hi minyinleung, The guide

kpyan8s's picture

Hi minyinleung,

The guide that you mentioned is enough for building a simple product catalog for default products in fresh installed Commerce Kickstart distribution.

For example: http://skincorner.com.hk/product-category/face-care

Meanwhile, you are welcome to join the next DrupalCamp event on 9th August and we could have some sharing during break time.

http://www.meetup.com/drupalhk/events/196350162/

Looking forward to seeing you!

Francis Yan
COO
PantaRei Design Limited



 

Thanks. But I am still very

minyinleung's picture

Thanks.
But I am still very confused about the relationship between Product display and Products.
If I have 2 groups of products :
Group A : 10 products, Group B : 5 products

How many Product displays do I need to create ?
(1) 1 Product display for all these 15 products ?
(2) 2 Product displays : Display A for the 10 products and Display B for the 5 products ?
(3) 15 Product displays for these 15 products ?
(4) 17 Product displays : 1 for Group A Catalog, 10 for Group A products, 1 for Group B Catalog, 5 for Group B products ?

Which one is correct ?

@Minyinleung I feel for you,

kelvinleehk's picture

@Minyinleung I feel for you, had the same confusion as well.

(Correct me if I'm wrong) a Product is not a node. It means a Product entity does not have the structure and additional information (theme, classes, path alias, etc) for the node_load() process to present as a node. Therefore in order to display the product like a node you will have to attach a product to another node-like entity, which is the role of the Product Display.

In short:

Product Display (Node entity) -> Product (entity)
Order (Node entity) -> line item (entity) -> Product (entity)

Hope this helps

thanks. So if I want to

minyinleung's picture

thanks.

So if I want to display 100 products to my web page, I need to create 100 product displays ?

look here

johan Rautio's picture

Removed you already posted the link in the first post sorry.

DrupalHK

Group categories

HKDUG Vocabulary

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: