Tutor plugin for WooCommerce
Project description
Overview
This is a Tutor plugin for integrating the Open edX Commerce WordPress Plugin with your Open edX instance. The plugin allows seamless synchronization and interaction between your WordPress site and Open edX platform, providing a cohesive e-commerce experience. If you don’t know how to install the WordPress plugin, check out this installation guide.
Prerequisites
A running WordPress site with the Open edX Commerce WordPress Plugin installed.
Installation of Tutor version >= 15.0.0.
Installation
Ensure you are using Tutor v15+ (Olive onwards). First, install the plugin by running:
pip install -U tutor-contrib-wordpress
Enable the plugin and run the launch command:
tutor plugins enable wordpress
tutor dev|local|k8s launch
Alternatively, if you already have a running Open edX instance, just run the necessary jobs:
tutor dev|local|k8s do init --limit=wordpress
Configuration
Inside your WordPress admin panel, you will need to configure the following values:
Open edX Domain
Client ID
Client Secret
You can retrieve these configuration values by running:
tutor wordpress config
===============================================
WordPress Plugin Configurations
===============================================
Open edX Domain: http://local.edly.io
Client ID: qjCayDktffXrU09N17NrslKyWQ2EwzWn
Client ID (dev): JDx6Uy0hN67VUfacxKcLyYQz7HK9liVx
Client Secret: P4w82huaZQdyz4qolknsIHYneGEoIggc
Or by using Tutor to print them individually:
tutor config printvalue LMS_HOST
tutor config printvalue WORDPRESS_OAUTH2_SECRET
tutor config printvalue WORDPRESS_OAUTH2_KEY_SSO
tutor config printvalue WORDPRESS_OAUTH2_KEY_SSO_DEV
Contributing
We welcome all contributions! Feel free to open a Pull Request.
License
This software is licensed under the terms of the AGPLv3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tutor-contrib-wordpress-1.0.1.tar.gz
.
File metadata
- Download URL: tutor-contrib-wordpress-1.0.1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc01cdfb35011d5e5b61f63b797421972b886067d08c9e05536bbb712c402c01 |
|
MD5 | e1e12e6d53d3e80ddc5b8cf3949b6ba7 |
|
BLAKE2b-256 | 7b9b88a31c9ce2b468866601a9834b50315af02a2a024d84c89958b180045b8e |