Sell unit content shortcode

Sell unit content as product using the following shortcode:

Why We Need This Shortcode

This is a general question asked by our users that why do we need this shortcode to sell the unit content.

Use case:

You have a course which is free but you want to sell some of the contents of that course. Then, in this case, no need to associate the whole course with a woocommerce product when you want only a single unit to sell.

Please check the video of unit sell content shortcode when unit  lock is enabled

https://screencast-o-matic.com/watch/cF60XqYACh

Note : No longer required as it is built in WPLMS v 2.3+

Add the following code in child theme functions.php or in customizer_class.php

 

Was this article helpful?

Related Articles