button "add to cart"

hi my friends
i want to thank you for your plugin coursepro,it 's a great job!!
i have a question
i want to put a button "add to cart" like the page of udemy,
thank you for all your help

  • Adam Czajczyk

    Hello moben,

    I hope you're well today and thank you for your question!

    I understand that you'd like to add that button directly to the course description page, is that right? Assuming that the MarketPress is installed and courses are paid (so the associated products were automatically created) please follow this steps:

    1. Go to "Store -> Products" page in your site's dashboard
    2. Find out a course (product) that you wish to add that button to
    3. Note down its ID; to find out that ID simply edit the course product and note the number after the "post=" part of an URL in browser address bar
    4. Go to the "CoursePress Pro -> Courses" page
    5. Edit the course that you wish to add the button to
    6. in "Course Description" section add following shortcode to the description content:

    [mp_buy_button product_id="6469"]

    Please replace the 6469 value with an ID that you noted down in step 3.

    I hope that helps!

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.