Bridging Your PrestaShop Store to External Products and Services: The Product Redirect Button Module

Bridging Your PrestaShop Store to External Products and Services: The Product Redirect Button Module

In the dynamic world of e-commerce, not every product or service you wish to showcase on your PrestaShop store is directly sold by you. Whether you're an affiliate, a brand ambassador, or simply need to direct customers to a manufacturer's datasheet or an external booking service, the standard "add to cart" button often falls short. This is where specialized solutions become invaluable, and a recent PrestaShop forum thread introduces a module designed precisely for this challenge: the "Product Redirect Button".

The Challenge: Showcasing External Offerings

Many PrestaShop merchants encounter scenarios where they want to feature products or services not directly stocked in their inventory. This could include:

  • Products from a partner brand you showcase but don't sell.
  • Items available on a specific marketplace.
  • Services booked on an external platform.
  • Technical products requiring a link to a manufacturer's detailed specification sheet.

Without a dedicated mechanism, merchants often resort to suboptimal solutions like embedding links in descriptions (easily missed, no tracking) or misusing "add to cart," leading to a poor user experience.

The Solution: Product Redirect Button Module

The "Product Redirect Button" module, detailed in the forum post by MEG Venture, offers a robust solution. It allows PrestaShop store owners to place a customizable button directly on product pages that redirects visitors to any chosen external URL. Compatible with PrestaShop 1.7, 8, and 9, it ensures broad applicability.

Key Features and Benefits:

  • Per-Product Configuration: Each product has its own target URL and custom button text, offering granular control.
  • Flexible Button Placement: Choose where the button appears (next to add-to-cart, below availability, or bottom of page) for theme compatibility.
  • SEO-Friendly Redirection: The module links to a neutral internal shop address, which then forwards the visitor. This hop is marked with noindex, nofollow, preventing scrapers from harvesting the destination URL directly and maintaining your site's SEO integrity.
  • Secure Forwarding: Designed to prevent open redirect vulnerabilities by only using the product's stored, validated address.
  • Integrated Click Counter: Track engagement with a click counter for each redirect, accessible from the configuration page and product edit pages.
  • CSV Bulk Editing: Manage numerous external links efficiently with CSV export/import. Built-in validation ensures data integrity, and click statistics are preserved during import.
  • Optional Leave Notice: Enhance user experience with an optional "You are about to leave this store" dialog for confirmation before redirection.
  • Technical Efficiency: Minimal impact on site performance, requiring no jQuery or theme edits, using a small vanilla script loaded only when needed.
  • Multi-Language Support: Interface available in eight languages (German, English, Spanish, French, Italian, Dutch, Polish, Turkish).

Important Considerations

The module author highlights key design choices:

  • URL masking is for page source/crawlers, not to hide the destination from the end-user.
  • In catalog mode, the "next to add-to-cart" position might be hidden by some themes, requiring an alternative placement.
  • CSV "replace all" and uninstall operations delete data (including click counters). Always export data first.

While the forum thread currently has no replies, the detailed description of this module presents a compelling solution for PrestaShop merchants looking to integrate external product showcasing seamlessly and securely into their stores. Its features address common pain points related to external linking, offering valuable analytics and ease of management.

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools