Extension Referral links on "Add to cart" button for OpenCart
Affiliate Link on Product Cart Button
Transform standard OpenCart "Add to Cart" buttons into dynamic affiliate links. This module enables seamless redirects to external partner stores, allowing you to implement "Buy from Partners" buttons or direct traffic to third-party marketplaces while maintaining a clean site structure.
Key Capabilities
- Conditional Replacement: Apply affiliate links across your entire catalog or target specific items—such as replacing the button only for out-of-stock products while keeping active inventory purchasable natively.
- SEO-Safe Redirection: All outgoing redirects are processed dynamically via JavaScript. Referral URLs remain completely invisible within source code, preventing search engine crawlers from indexing external links or diluting domain authority.
-
Flexible Link Generation:
- Per-Product Custom Links: Map unique URLs using unused product fields (UPC, EAN, Location) using shortcodes like {location} or {upc}?quantity={quantity}.
- Automated Pattern Generation: Construct dynamic partner links using core attributes, such as http://partner.shop/get?code={model}.
- Global Referral Link: Apply a single fallback affiliate URL across all products in your store.
Installation Guide
-
Upload Extension Package
Navigate to Extensions → Extension Installer in your OpenCart admin dashboard and upload the archive file.
-
Refresh Modification Cache
Go to Extensions → Modifications and click the blue Refresh button in the top right corner.
-
Enable the Module
Navigate to Extensions → Extensions → Modules, locate the extension, and click Install.
-
Configure Settings
Click Edit on the module. Set status to Enabled, define your shortcode rules or target link formulas, and save.
-
Verify Store Front
Visit your product pages to confirm that buttons correctly redirect to designated affiliate URLs.
There are no reviews for this product.
There are no reviews for this product, be the first to leave your review.