Adding Custom conversion shortcode to LearnPress checkout
-
Hello, I am trying to capture a custom conversion on LearnPress checkout page. I added this code to the checkout template.
<?php echo do_shortcode( '[slicewp_custom_conversion amount="' . $order_received->get_total() . '" origin="AIMP PayPal" reference="' . $item['course_id'] . '" type="sale" status="unpaid"]' ); ?>It’s not working.. it just outputs the shortcode but doesn’t run it. How do I get the shortcode to run on the LearnPress checkout template?
[slicewp_custom_conversion amount="0" origin="AIMP PayPal" reference="Boost" type="sale" status="unpaid"
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Adding Custom conversion shortcode to LearnPress checkout’ is closed to new replies.