What the Project Involved?
Trello API Integration with WordPress
Preconditions on Publishing Posts
WooCommerce Checkout Customization
WordPress Custom User Roles
WooCommerce Oder Customization
WooCommerce Account Page Customization
What were the Client’s Requirements?
The client had a WordPress website, which used WooCommerce Subscriptions, to set up services as products. The client wanted user roles to be customized to provide a client-service model, and needed integration of his WordPress website with Trello, to manage service tasks assigned.
How did We Provide a Solution?
Copyroast is a company which provides automated copywriting services. Copyroast was using WooCommerce Subscriptions, which allowed interested clients to set up needed services. A client would need to purchase a subscription product to avail a service.
- WooCommerce Checkout & Order Customization: Since the service would be content writing, a client would need to specify details for the content to be written. For this, we had to customize the WooCommerce Checkout Page. At the time of checkout, addtional fields were added, where client could add notes. The number of notes could dynamically change, based on an input option. An estimated date of project completion would also be automatically calculated and added, at the time of checkout, which could be altered by the client. These details were added to the order as well.
- Trello Integration & Account Page customization: Once a service had been purchased, the details were uploaded into Trello. An author could pitch to complete the task. Alternatively, these tasks would also be available in the author’s WooCommerce ‘My Account’ page. To provide this, we had to customize the ‘Account’ page, and add an option using which authors to pick up tasks. Once the task was ‘picked up’, the status of the task was automatically changed in Trello, and a ‘Draft’ post was created, under the author’s account in WordPress.
- WordPress ‘Publish Post’ Customization: Every assigned task had a number of words which had to be written. We had to customize the Post Publish scheduler, to post the content, only when the number of words matched the set requirements. Else, the publish date of the post was postponed. The feed of this post was sent to the assigned client’s ‘My Account’ page, using which he could directly publish the content onto his or her website.
- Additional Modifications: User roles were modified for the client and author. The Post Pay Counter plugin was employed to pay the author on task completion.