πŸŽ‰ Labor Day Sale - Get 26% OFF on All Plans – Limited Time Only! Use Code

How do I add a payment plan to a landing page?

Estimated reading: 2 minutes 775 views

Β  Β IN THIS ARTICLE

Add payment plan to landing page

To select a product and payment plan, you do not need to use the default WooCommerce product pages but instead can add a custom link to a button or another text link on a landing page.

 

You can create an add-to-cart link for a specific payment plan of a product by adding theΒ Β add-to-cart,Β Β product_id,Β andΒ Β convert_to_sub_Β parameters in your link.

 

Here are the query parameters to use when building your “Add to Cart” link:
  • add-to-cart
  • product_id
  • convert_to_sub_
https://yoursite.com/?add-to-cart={product ID}&convert_to_sub_{product ID}={payment plan}

 

For a product with the ID 150 that has a payment plan for 4 monthly payments, the URL would be:

https://yoursite.com/?add-to-cart=150&convert_to_sub_150=1_month_4

How can I find the product ID?

On your WordPress dashboard, go toΒ Products > All Products. Next, hover over a specific product and it will reveal the product ID.

If you are using a variation, you have to edit the product and then find the variation.

How can I automatically redirect the user to the Cart page after adding a product to the Cart?

  • On your WordPress dashboard, go toΒ WooCommerce > Settings
  • Next, click theΒ ProductsΒ tab
  • Then, click theΒ Add to cartΒ behaviorΒ tab and turn onΒ Redirect to the cart page after successful addition
  • Finally, test this with a specific page. After clicking the link, you will be directed to theΒ CartΒ page

Additional examples

Example – 12 weekly payments
  • Product ID: 30
  • Payment Plan: 12 weekly payments
https://yoursite.com/?add-to-cart=30&convert_to_sub_30=1_week_12
Example – 5 yearly payments
  • Product ID: 150
  • Payment Plan: 5 yearly payments
https://yoursite.com/?add-to-cart=150&convert_to_sub_150=1_year_5
Example – 10 daily payments
  • Product ID: 150
  • Payment Plan: 10 daily payments
https://yoursite.com/?add-to-cart=150&convert_to_sub_150=1_day_10
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!
11:25

Provide the details