Direct Product Add to Cart

Direct Product Add to Cart



Magento Platform
Open Source (CE)
2.0, 2.1, 2.2

Tech Specifications

Current Version:
Stable Build
06 April, 2018
Extensions, Sales, Pricing & Promotions
License Type:
Open Software License 3.0 (OSL-3.0)


Share a custom product link with your customers that they can click to automatically add the product to cart and be redirected to checkout.

Other Extensions by MNTS Infotech


Back to top

What if you want your to send your customers a link and grant them the ability to quickly add products to the cart, instantly redirecting them to the cart or checkout page, all just be clicking on the link? Great idea! right? "Direct Product Add" is a perfect solution for you. Just share a link with your users through email, social media, blogs etc. Once user clicks on this link, the product will be automatically added to the cart and the user will be redirected to the cart or checkout page. You can change the redirection page from the admin section. Direct Product Add extension will reduce the required steps for your users and cause your revenue to increase.

URL Formats:

  • http://{yourdomain}/dpa/add/tocart/id/{product_id}
  • http://{yourdomain}/dpa/add/tocart/id/{product_id}-{quantity} (i.e. http://{yourdomain}/dpa/add/tocart/id/123-2)
  • http://{yourdomain}/dpa/add/tocart/id/{product_1},{product_2} (i.e. http://{yourdomain}/dpa/add/tocart/id/123,223)
  • http://{yourdomain}/dpa/add/tocart/id/{product_1}-{product_1_quantity},{product_2}-{product_2_quantity} (i.e. http://{yourdomain}/dpa/add/tocart/id/123-3,223-3)


Key features:

  • Directly add products to the cart and redirect users to checkout/cart page on a single click
  • Reduce steps required to buy products quickly


A few notes to help you in creating a proper link

  • Please use simple product ids. For configurable product ids, it will be redirected to the product page.
  • Please use product ids of a relevant store, otherwise users will be redirected to home page.

Release Notes

Back to top


  • Compatible with Open Source (CE) : 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    - Now multiple products can be added to cart automatically using any of the below "Direct Product Add to Cart" urls:
    - http://{yourdomain}/dpa/add/tocart/id/{product_id}
    - http://{yourdomain}/dpa/add/tocart/id/{product_id}-{quantity}
    - http://{yourdomain}/dpa/add/tocart/id/{product_1_id},{product_2_id}
    - http://{yourdomain}/dpa/add/tocart/id/{product_1_id}-{product_1_quantity},{product_2_id}-{product_2_quantity}


  • Compatible with Open Source (CE) : 2.0 2.1 2.2
  • Stability: Stable Build
  • Description:

    First release


Back to top
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Q & A

Back to top


Back to top