magenable / module-purchase-partner-url
magenable/module-purchase-partner-url
A Magento 2 module that allow specify partner url for any product
Purchase From Partner
Purchase From Partner is a Magento 2 module that allows you to replace standard Add to Cart button with links to external websites where visitors may purchase the products. Think about Amazon affiliate store, cases when a brand has products available exlusive to retail partners. The module may sends events to Google analytics when clicking on the links for tracking/reporting.
There may be one or more partner URL per product. The URLs are defined on product level, so some of your product may have normal Add to cart and some partner links.
The extension supports Magento version 2.3.X and 2.4.X
PWA Studio
The extension for Magento PWA Studio you can find here: https://www.npmjs.com/package/@magenable/purchase-partner-url
Installation
Composer:
Run the following command in Magento 2 root folder
composer require magenable/module-purchase-partner-url
bin/magento setup:upgrade
bin/magento setup:static-content:deploy
Upgrade
Composer:
Run the following command in Magento 2 root folder
composer update magenable/module-purchase-partner-url
bin/magento setup:upgrade
User Guide
Configuration:
Go to Stores > Settings > Configuration > Magenable Extensions > Purchase Partner URL.
General Settings
Set Enabled to YES if you want the module to work.
Update Title of Links with the required text, if it needs.
Set Show All Links at Once to YES if you want all buttons to be displayed at once.
Set Open Link in New Tab to NO if you want link opens in current tab.
Google Analytics
Set Enabled to YES if you want sent events to Google Analytics after partner links clicked .
Update Event Category Google Analytic property with the your value, if you wish.
Update Event Action Google Analytic property with the your value, if you wish.
After changing any setting you need to flush cache: for it go to System -> Cache Management and click Flush Magento Cache.

Adding Purchase Partner Url:
Open any product and add Purchase Partner Url items, fill the fields:
- Link; (required)
- Link Title; (if this field is not filled then the value from the
Title of Linksfield from the module configuration is displayed) - Event Category (Google Analytics); (if this field is not filled then the value from the
Event Categoryfield from the module configuration is used) - Event Action (Google Analytics); (if this field is not filled then the value from the
Event Actionfield from the module configuration is used)
Then save the product.

Storefront view:
- If the only one link set for a product (or enabled setting
Show All Links at Once), then after clicking on the button users go to a partner website.


- If there are multiple links defined for a product (and disabled setting
Show All Links at Once), after clicking on the button, all partner links appears, after clicking one of them users go to a selected partner website.


- Also, after clicking on a link the event is sent to Google Analytics (if this not disabled in configuration of module and Google Analytics module is enabled and configured).
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.5.7 | stable | Pass | Magento 2.4.7-2.4.9 Details | 2026-06-16 03:52:09 |
| 1.5.6 | stable | Not tested | Not yet tested Details | 2025-07-07 02:32:22 |
| 1.5.5 | stable | Not tested | Not yet tested Details | 2025-03-10 04:38:13 |
| 1.5.4 | stable | Not tested | Not yet tested Details | 2024-12-19 08:49:16 |
| 1.5.3 | stable | Not tested | Not yet tested Details | 2024-08-23 06:03:11 |
| 1.5.2 | stable | Not tested | Not yet tested Details | 2024-04-16 02:57:46 |
| 1.5.0 | stable | Not tested | Not yet tested Details | 2023-02-16 12:00:07 |
| 1.4.3 | stable | Not tested | Not yet tested Details | 2023-01-13 03:29:22 |
| 1.4.2 | stable | Not tested | Not yet tested Details | 2022-05-11 13:37:55 |
| 1.4.1 | stable | Not tested | Not yet tested Details | 2022-04-07 02:06:32 |
| 1.4.0 | stable | Not tested | Not yet tested Details | 2022-02-06 03:12:28 |
| 1.3.0 | stable | Not tested | Not yet tested Details | 2021-11-09 05:33:59 |
| 1.2.2 | stable | Not tested | Not yet tested Details | 2021-09-09 01:54:10 |
| 1.2.1 | stable | Not tested | Not yet tested Details | 2021-08-27 03:20:20 |
| 1.2.0 | stable | Not tested | Not yet tested Details | 2021-08-26 05:23:29 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2021-04-06 04:12:02 |
Requires 3
| Package | Constraint |
|---|---|
| magenable/module-base | * |
| magento/framework | >=102.0 |
| php | >=7.1.0 |
No QA results yet
QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.
More from magenable
View vendorThis Magento 2 module provides the ability to generate feed files for OpenAI Agentic Commerce
This Magento 2 module provides the ability to add a noindex meta tag to category pages with filters
Magenable feed for admin notification
Magenable base module
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.