Tags/topics: 
3
Answers
Vote up!
0
Vote down!

How do I add the SKU to the checkout page?

The SKU is properly visible in the "product in cart" page. But then going to checkout the SKU does no longer show up. Having searched a lot I cannot find any method to add the SKU on the checkout page. The SKU is very important, it must be available on the final invoice as reference and will be used as reference in the payment process.

Has anyone any idea how to add the SKU to the checkout page?

PS: This is the second missing function related to SKU for something which should be extremely simple... the first was that I cannot sort the product page on SKU.

Rob
Asked by: Rob
on November 3, 2014

3 Answers

Vote up!
0
Vote down!

Hi Rob,

By default the view for the cart review on the checkout lives at /admin/structure/views/view/commerce_cart_summary/edit/default

You can add a "relationship" to "Commerce Line item: Referenced products" and then add the SKU field to the Fields used.

Is that the contents list that you are wanting to modify?

Andy @ BlueFusion
Posted: Nov 3, 2014
Vote up!
0
Vote down!

I found a simple method to add the SKU including a label on the checkout page.

In "Views" goto

"Shopping cart summary (Commerce Order)"

you need to use this field and to to this you need to add a new field in RELATIONSHIPS

"(Line items referenced by commerce_line_items) Commerce Line item: Product"

add a new field in FIELDS

"(Products referenced by commerce_product) Commerce Product: SKU"

Rearrange it or anywhere where you expect this to be in the table of the checkout page (for me most left, which is the top in the rearrange order). You can also add the label name for on tour checkout page. It now should show in the FIELDS section as

"(Products referenced by commerce_product) Commerce Product: SKU [your label name]"

Rob
Answer by: Rob
Posted: Nov 6, 2014
Vote up!
0
Vote down!

Do you guys have an idea how to embed this information in the order confirmation email?

- Christian

Posted: Nov 13, 2014