1. Home
  2. Knowledge Base
  3. The Digioh Platform
  4. Magento 2 One-Click Add to Cart & Product Export

Magento 2 One-Click Add to Cart & Product Export

Digioh’s Magento 2 extension supports “One-Click Add to Cart.” This extension can be easily installed on the platform, and it provides the functionality to add items to the cart with just one click. This extension is available in the Magento marketplace.

https://marketplace.magento.com/digioh-core.html

The documentation for this extension is included in the package you download, or you can find it in the Magento 2 marketplace extension’s documentation section. The documentation will provide step-by-step instructions on how to install, configure and use the Digioh extension on your Magento 2 store.

Add to Cart

The Digioh Magento 2 extension does allow adding one or more products to the cart from a URL. This feature is often referred to as a “direct link to cart” or “direct add to cart,” and it enables merchants to use pre-populated URLs that, when clicked, will automatically add specific products to a customer’s cart. This can be a useful feature for simplifying the purchase process for customers. Example URLs:

https://store.com/digioh?addproduct=SKU1,SKU2&qty=1,2

or

https://store.com/digioh/index?addproduct=SKU1,SKU2&qty=1,2

This returns 200 responses; you need to configure a redirect to the cart page after the 200 response.

Product Export

Product Exporting and querying product data returns raw CSV data back to the browser. For example,

https://store.com/digioh?getproduct=all

returns raw CSV output (content-type: text/csv), one row per product, like this:

SKU, Page, Thumbnail, Image, Price, In Stock

SKU1, http…, http…, http…, 100.00, true

SKU2, http…, http…, http…, 200.00, true

And similarly for an explicit list of product SKUs:

https://store.com/digioh?getproduct=TEST1,TEST2

If you have any questions or inquiries regarding the Digioh Magento 2 extension, you can contact us at the email address support@digioh.com. Our team will provide you with any type of assistance you need or answer any questions you may have!

Updated on February 13, 2025
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support