Adding an "Enroll" or "add to cart" to course list

I have CoursePress and MarketPress installed and configured to sell classes. I have a page setup with the shortcode "[course_list]" to list all the currently available courses.

Is there a way to add an "Enroll" or "Add to Cart" button for each of these courses? Maybe under the course image? Thanks!

  • Nithin

    Hi NWTD,

    Hope you are doing good today.

    I'm afraid, there isn't any out of the box settings to add Cart, or Enroll buttons. As a workaround, the page has a hidden button, which when enabled will redirect to the course page. To enable that you can add the following CSS:

    .course_list_box_item .apply-button-details {
        display: block !important;
        min-width: 100px;
        max-width: 20%;
        color: black;
        padding: 6px 20px 6px 20px;
        margin-top: 20px;
        text-align: center;
    }

    You can add the above CSS code, using Custom CSS box(if your theme offers), or either using a Child theme, or a plugin like Simple Custom CSS.

    Please let us know if you still need any further assistance. Have a nice day.

    Best Regards,
    Nithin