I have a pricing page with four subscription options (1month, 2 months, 3 months and 6 months). I want to map each subscription button with corresponding course subscription period (1month, 2months, 3months, 4months) so when user clicks on any one of the subscription option on pricing page, it will take him to checkout page with selection. This will help avoid additional redirects and user need not to go to the course page and selecting period manually and then clicking on take this course button.
Pricing Page: https://scrumcert.org/pricing/
Course: https://scrumcert.org/course/advanced-scrum-training/
You can follow this link to put add to cart or checkout links on your buttons :
https://businessbloomer.com/woocommerce-custom-add-cart-urls-ultimate-guide/
And then you can connect this pricing page in your course pricing settings with the help of external link on course button feature .
Enable "External link on course button" from wp-admin -> lms -> settings .Then in course pricing settings you will see an option to connect the take this course button to external link :
http://prntscr.com/dja137