Title: Checkout button redirection problem
Last modified: September 12, 2022

---

# Checkout button redirection problem

 *  [bajwaqasim](https://wordpress.org/support/users/bajwaqasim/)
 * (@bajwaqasim)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/checkout-button-redirection-problem/)
 * I’m using free version, Overall I like this plugin but checkout button always
   redirecting me to home page instead on checkout pages.
    how to fix redirection

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [bajwaqasim](https://wordpress.org/support/users/bajwaqasim/)
 * (@bajwaqasim)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/checkout-button-redirection-problem/#post-16001047)
 * * Change the checkout button URL.
    * * [@param](https://wordpress.org/support/users/param/)
   string $url The checkout URL. Default is wc_get_checkout_url(). */ function my_prefix_cartpops_checkout_url(
   $url ) { $url = esc_url( get_permalink( get_page_by_title( ‘Checkout’ ) ) );
 *  return $url;
    } add_filter( ‘cartpops_checkout_button_url’, ‘my_prefix_cartpops_checkout_url’,
   10, 1 ); ?>
 * found this code om plugin doc.
    Placed in Plugin custom js but not working
 *  [cartpopsteam](https://wordpress.org/support/users/cartpopsteam/)
 * (@cartpopsteam)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/checkout-button-redirection-problem/#post-16142115)
 * Hello bajwaqasim,
 * We thank you for your inquiry and apologize for the delay in our response.
 * We are making every effort to alleviate any concerns. Dedicated tech support 
   is now available to the team to answer emails.
 * I noticed that this email was sent weeks ago. To be clear, do you still experience
   issues with the plugin?
 * As much as I want to assist you on that, custom script falls outside of the scope
   of support.
 * Please be aware as well that the team is continually working on an upgrade that
   will address most of the reported issues. We apologize once more for the trouble
   this has brought you.
 * Please let us know. If you have questions.
 * Best regards,
    Niel
 *  [cartpopsteam](https://wordpress.org/support/users/cartpopsteam/)
 * (@cartpopsteam)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/checkout-button-redirection-problem/#post-16452134)
 * Hello there
 * I hope this message finds you well. I wanted to follow up on the issue you raised
   with us, as we haven’t heard back from you. We understand that sometimes things
   can get busy, and we want to make sure that your experience with us is a positive
   one.
 * After considering the information provided, we have taken the decision to close
   this issue as resolved. However, please don’t hesitate to reach out to us if 
   you have any other questions or concerns. Our support team is always available
   to help you at [support@cartpops.com](https://wordpress.org/support/topic/checkout-button-redirection-problem/support@cartpops.com?output_format=md).
 * We value your feedback and appreciate your continued support of our company. 
   If there is anything else we can do to assist you, please don’t hesitate to ask.
 * Thank you for your time, and have a great day!
 * Best regards,
 * Niel

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Checkout button redirection problem’ is closed to new replies.

 * ![](https://ps.w.org/cartpops/assets/icon-256x256.png?rev=2459769)
 * [CartPops - High Converting Add To Cart Popup For WooCommerce](https://wordpress.org/plugins/cartpops/)
 * [Support Threads](https://wordpress.org/support/plugin/cartpops/)
 * [Active Topics](https://wordpress.org/support/plugin/cartpops/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cartpops/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cartpops/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [cartpopsteam](https://wordpress.org/support/users/cartpopsteam/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/checkout-button-redirection-problem/#post-16452134)
 * Status: not resolved