How to redirect Purchase Now button to login page

Please follow the below method if you need to redirect the purchase now link to the “Register page”.

Step 1 - Woocommerce Payment Gateway

Open the file in this path /wp-content/plugins/designthemes-core-features/custom-post-types/woo-functions.php using some editor like DreamWeaver and scroll to line no: 232 approximately. There you need to modify the code like the image.

Step 1 - Woocommerce Payment Gateway

Open the file in this path /wp-content/plugins/designthemes-core-features/custom-post-types/utils.php using some editor like DreamWeaver and scroll to line no: 90 approximately. There you need to modify the code like the image.

Result Sample

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.