Extension for OpenCart, which allows you to add products to cart via url link. That is, we form a link for publishing it on any sites, and as soon as the user clicks on this link, the product will be added to the cart. To identify a product in the link, you can specify the product id or product model or SKU. You can also pass quantity to add to the cart.
DEMO AdminDEMO Live demo/demo
This extension can be useful for selling products through external sites such as social networks, forums, satellite sites, or for forming affiliate links to sell products. For example, Google Merchant allows you to add a checkout page link template [checkout_link_template] for each product separately or a common template for the entire account. With this module, you will be able to use the function of direct transfer of buyers from Google to the checkout page by adding a link template to your Merchant.
The module allows by clicking on the link to add a product to the cart along with options and in the required quantity.
Rules for the formation of external links for adding a product to the cart in OpenCart:
link with product id: https://site.com/index.php?route=product/product/add&prod_id=40
link with product model: https://site.com/index.php?route=product/product/add&model=ABS1983
link with product SKU: https://site.com/index.php?route=product/product/add&sku=7536323452
link with any product identifier from the above with the addition quantity of the product: https://site.com/index.php?route=product/product/add&prod_id=40&quantity=3
link with product options: https://site.com/index.php?route=product/product/add&prod_id=30&option[226]=16
Module installation instructions:
Upload the module in the admin panel in the "Extensions" : "Install".
Go to the "Modifications" section and update the cache.
Go to "Extension" : "Extension" : "Modules", enable module "Add Product to Cart by External Link"
Enter the license key, enable the module status and save. After that, the "Link Generator" tab will appear, where you can select a product, specify its quantity and select options and get a link to add an item to the cart from external sites.
Bingo!
Changelog of Add Product to Cart by External Link
v1.1 (25 November 2021) - Options support added
You must be logged in to view the files!
Αρίστος
28 March 2022
Δουλεύει! Είμαι πολύ ευχαριστημένος με τη δουλειά.
Евгений
05 January 2022
Модуль просто пушка дает прямые ссылки на заказ товара... работает четко без всяких...
On November 20, 2025, a new major release of PHP was published - version 8.5. PHP 8.5 introduces useful improvements, but requires a careful approach when integrating into existing OpenCart projects.
Let’s look at OpenCart optimization methods that don’t require purchasing additional modules or paying for services. The main stages of OpenCart speed optimization.
✕
We use cookies and other tracking technologies to improve your browsing experience our website, to personalize content and ads, provide social features media and our traffic analysis.
Necessary cookies enable core functionality of the website. Without these cookies the website can not function properly.
Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.
A set of cookies to collect information and report about website usage statistics without personally identifying individual visitors to Google.
Marketing cookies store user data and behaviour information, which allows advertising services to target more audience groups.