/
Management Commands in E-Commerce

Management Commands in E-Commerce



Sr.#

Management Command

Description

Sr.#

Management Command

Description

1

create_demo_data

Create demo course, its seats and publishes it to LMS. This should only be run in development environments!

2

create_or_update_site

Create or update Site, Partner, and SiteConfiguration

3

deactivate_superusers

Revoke superuser access of all users on ecommerce.

4

generate_courses

Generate courses on ecommerce from a json list of courses.

5

import_user_ids

Command to load the lms_user_id column from historical data.

6

sync_hubspot

Sync Product, Orders and Lines to Hubspot server.

7

update_site_oauth_settings

Create or update Site, Partner, and SiteConfiguration

8

verify_transactions

Command to verify ecommerce transactions and log if there is any imbalance.

9

create_enrollment_codes

Create enrollment codes for courses.

10

publish_to_lms

Publish the courses to LMS

11

migrate_enterprise_conditional_offers

This command migrates the conditional offers for enterprise coupons to the enterprise conditional offer implementation.

12

add_site_to_baskets

Add a site to baskets without one.

13

delete_ordered_baskets

Delete baskets for which orders have been placed.

14

convert_course

Convert a list of courses from honor to audit, or vice versa. For use with courses.

15

migrate_course

Migrate course modes and pricing from LMS to Oscar.

16

populate_enterprise_id_product_attribute

Populate enterprise_id for coupon products.

17

update_course_seat_expire

Update seat expire with the course enrollment end date.

18

change_priority_of_offers

Changes conditional offers priority to 20.

19

remove_partner_offers

Remove duplicate conditional offers.

20

create_fake_orders

Added Fake orders for testing

21

migrate_partner_to_orders

Command to add partner to orders.

22

update_order_lines_partner

Command to update order lines partner.

23

paypal_profile

Manage PayPal Web Experience Profiles.

24

add_site_to_referrals

Add a site to referrals without one.

25

create_or_update_site_theme

Create or update Site and SiteTheme

26

create_sites_and_partners

Creates Sites, SiteThemes, SiteConfigurations and partners.

27

update_assets

Compile and collect assets



Related content

Management Commands in Course-Discovery
Management Commands in Course-Discovery
More like this
Management Commands in CMS and LMS
Management Commands in CMS and LMS
More like this
Ecommerce Current Workflow
Ecommerce Current Workflow
More like this
Ecommerce Integration
Ecommerce Integration
More like this
Ecommerce Deprecation and Replacement Project
Ecommerce Deprecation and Replacement Project
More like this
Integrating Wordpress and the Open edX platform as an alternative to e-commerce
Integrating Wordpress and the Open edX platform as an alternative to e-commerce
More like this