To Show The SKU of the course in basket page or receipt page??? in open edx ecommerce

23 views
Skip to first unread message

testki...@gmail.com

unread,
Feb 7, 2018, 11:18:35 AM2/7/18
to General Open edX discussion
Hi..!! I am trying to show up the sku of the course in the basket or receipt page with a separate column. The ways i tried

```1. Back tracked the pages and files where the course name and number is fetched for the basket page and tried adding `'partner_sku':line.partner_sku`
2. Found the orders model and tried fetching the sku, but they fetching the other data from the order table to show up in receipt form. It doesn't contain the sku value. ```


But these ways failed. Is there any other methods to show up the sku of the course in the receipt or basket page.. `To fetch and show up the SKU` Any suggestions?? Thanks in advance

Clinton Blackburn

unread,
Feb 8, 2018, 12:13:19 PM2/8/18
to General Open edX discussion
I'm curious why you want to display the SKU. It was never intended to be user-facing.

If you absolutely want to display this value, look Line.partner_sku. Each Order has one, or more, lines associated.

Clinton
Reply all
Reply to author
Forward
0 new messages