# Can not add price to course in ecommerce

**URL:** <https://discuss.openedx.org/t/can-not-add-price-to-course-in-ecommerce/11181>\
**Category:** Development\
**Tags:** how-to\
**Created:** [September 15, 2023, 7:14am UTC](https://discuss.openedx.org/t/can-not-add-price-to-course-in-ecommerce/11181 "2023-09-15T07:14:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luan.tm](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/luan.tm/32/4138_2.png) [@luan.tm](https://discuss.openedx.org/u/luan.tm)\
**Post date:** [September 15, 2023, 7:14am UTC](https://discuss.openedx.org/t/can-not-add-price-to-course-in-ecommerce/11181/1 "2023-09-15T07:14:23Z")

</div>

Hello everyone I try to add price to a course in ecommerce platform. I’m sure that course\_id and course name is match with course\_id and course name in lms. But I can not create course in ecommerce. Here is error:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/4/426726f1cbbccf23a1c8ac6dc915c9a9945a2cb6.png)

Please help me

---

<div class="post-metadata">

**Author:** ![Agrendalath](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@Agrendalath](https://discuss.openedx.org/u/Agrendalath)\
**Post date:** [September 20, 2023, 2:25pm UTC](https://discuss.openedx.org/t/can-not-add-price-to-course-in-ecommerce/11181/2 "2023-09-20T14:25:19Z")

</div>

@luan.tm, what “Product classes” do you have under `https://YOUR_ECOMMERCE_URL/admin/catalogue/productclass/`?

There should be a `Seat`, which should have been added by [this migration](https://github.com/openedx/ecommerce/blob/e899c78325ac492d0a2b1ea0aab4d5e230262b8f/ecommerce/extensions/catalogue/migrations/0002_auto_20150223_1052.py#L26-L31).

---

<div class="post-metadata">

**Author:** ![luan.tm](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/luan.tm/32/4138_2.png) [@luan.tm](https://discuss.openedx.org/u/luan.tm)\
**Post date:** [September 21, 2023, 3:10am UTC](https://discuss.openedx.org/t/can-not-add-price-to-course-in-ecommerce/11181/3 "2023-09-21T03:10:20Z")

</div>

@Agrendalath , I already checked and I realize that someone delete it, I recreated and it worked
