Save up to 75% on Lifetime Plans โ€“ Limited Time Offer, Don't Miss Out!

Is it possible to add a payment plan on the Checkout page?

Estimated reading: 1 minute 936 views

While it’s possible toย add a payment plan during the checkout process on the Cart page, it is not possible to do this directly on the Checkout page.

However, if you have sufficient experience inย WooCommerceย programming, it is possible to customize the plugin to add this functionality. Here are the basic steps that you would have to follow:

  1. Find theย woocommerce-payment-plans-for-subscriptions/public/class-wc-payment-plans-public.phpย file and the function within it calledย cart_item_name_extra(), which adds the list of available payment plans to the Cart page.
  2. Copy theย cart_item_name_extra()ย codeย and paste it into theย woocommerce/checkout/review-order.phpย file that resides in your active theme. If you don’t have this file in your theme, you can copy it from theย woocommerce-payment-plans-for-subscriptions/templates/checkoutย folder.
  3. Replace the lineย is_cart()ย withย is_checkout()ย and save the file.
  4. Add JavaScript code to refresh the cart on the Checkout page during an on_click() event. You can find similar code in theย woocommerce-payment-plans-for-subscriptions/public/js/scripts.jsย file.

NOTE: Making this change is only for experienced developers. We cannot provide any support for plugin customization. If issues arise, please reviewย WooCommerce Developers Resources.

Overview
Features
Pricing
Blog
Account
Documentation
Get in Touch
Support
Customization Request
Contact
Legal
Terms and Conditions
Refund Policy

๐Ÿ‘‹๐Ÿป Hello Mate
Need help in Payment Plans
Support Bot Online
Support Bot
Hi! ๐Ÿ‘‹ I'm Support Bot. Ask me anything!
02:36

Provide the details