Auto Addition of Product by clicking in link which will redirect clicker directly to checkout page – Free Opencart Module

Opencart free extension which auto-add product by clicking in the link which will then redirect clicker directly to the checkout page. This can be useful when you are promoting products in email or other social platforms or blogs, so when they click they are directly sent to the checkout page so it acts as a buy now button on the product page. This can be used for one product which you need to redirect directly to the checkout page. This module provide functionalities to add products to the shopping cart from query string URL parameters.



  • Download the extension by clicking above download button
  • You will get a zip file named “”
  • Go to the Opencart admin >> Extensions >> Installer >> Upload this zip file
  • Then, Navigate to Extensions >> Modifications >> Clear the cache.
  • The module is ready to use.


Once, you installed the extension, now you can use the link or URL like below:


product_id=58, 58 is the product id

quantity=2, number of quantities to pass, the default value is 1. If you want to add only one quantity then no need to pass but if you want to add more quantity when clicked then you need to send quantity value as well.

options=246_71-247_72, as the product can have multiple options and option values, so it is separated by _ and -. If you don’t have options then you don’t need to pass it as it is optional. If you have options then it is quite tricky.

If your option is Size (id=246) having option value Small (id=71) and another option is Color (id=247) having option value black.

Need to take care of dashes and underscores, dashes separate between option and underscore separate between option and option value.

See more: Combined Checkout steps, shipping and payment addresses, and methods on Opencart

Use case: Are you doing email marketing then this will be very useful?

This will be very useful for email marketing. You create an audience and build your list to send your email, now you started to make a beautiful design for email and manage great content and subject line. Create a CTA.  Your call(s) to action is one of the most important pieces of content in your email. Outside of getting your subscribers to open your email (via a compelling subject line), your next goal is to get your subscribers to click on your content. 

E-mail is opened and the email reader is eager to click your CTA but where do you want to direct the click. Taking OpenCart into consideration it only gives the product detail page, category page, the home page, etc but it does not provide links that directly add the product to the cart and directly take them to the checkout page. So this module provides you with a link that directly adds products into the cart and redirects them to the checkout page which will lead to an increase in the conversion rate.

 Hope this module will help you. Let us know if you need any customization or have any questions or suggestions, please subscribe to our YouTube Channel and look for other free Opencart extensions. You can also find us on Twitter and Facebook.

Previous article5 Proven Tips to Promote Your NFT Collections
Next articleHow e-Commerce will be affected by Web 3.0 and blockchain?


  1. I was able to get this to work on OC

    “&product_id=” works, and “&quantity=” works, BUT “&options=” does NOT work.

    Can you please recheck your code?

    Thank you for this great extension 🙂


Please enter your comment!
Please enter your name here