Overcoming PrestaShop's Virtual Product Limitations: Advanced Digital Downloads by Combination
PrestaShop, a robust e-commerce platform, offers native support for virtual products, allowing merchants to sell digital goods like e-books, software, or templates. However, a significant limitation has long frustrated sellers of complex digital products: the platform traditionally allows only one downloadable file per product. This challenge is further compounded with PrestaShop 9, where "Virtual product" and "Product with combinations" become mutually exclusive types. This means a merchant selling a plugin in 'Standard' and 'Developer' editions cannot use combinations to differentiate the downloadable files, often resorting to creating separate product listings, which leads to duplicated content, inconsistent pricing, and a cumbersome management process.
Addressing the Digital Product Dilemma
A recent PrestaShop forum thread (Thread #1110711) introduced a module designed to directly tackle this limitation: Virtual Products Pro. Developed by MEG Venture, this module extends PrestaShop's capabilities by attaching a unique downloadable file to each product combination. This innovative approach allows merchants to manage different editions, license tiers, or platform-specific versions of a digital product under a single product listing, streamlining both inventory and customer experience.
Key Features of Virtual Products Pro
- One File Per Combination: The module enables each combination to have its own distinct downloadable file, complete with individual filenames, download limits, access windows, and hard expiry dates. Customers receive direct download links on their order page and through a dedicated 'My Downloads' section in their account.
- Version History and Changelog: Beyond simple file delivery, the module provides robust version management. Each file can have its own version number and changelog, which are displayed on a dedicated tab on the product page. A comprehensive history table ensures buyers can review the entire release history, not just the latest entry.
- GitHub-Backed Delivery: For developers and software vendors, a standout feature is the ability to link a product combination directly to a GitHub repository. The module can automatically download zipballs for specified branches or tags, rebuild them to ensure PrestaShop compatibility, and even extract version numbers and changelog entries from recent commit subjects. With PrestaShop's Cron tasks module, it can re-check for updates hourly and notify customers via email (available in multiple languages) when a new version is released.
- Centralized Management: Merchants gain access to a searchable, sortable table of their entire digital catalogue, showing which products have files, how many combinations are configured, and if any files are missing. Products can be expanded to edit combination details inline, simplifying bulk management.
- Free Downloads: For products or combinations priced at zero, the module introduces a "Download" button on the product page and listings for signed-in customers, enabling free downloads without creating an order. This is ideal for demos, free trials, or open-source offerings, while ensuring eligibility checks on the server.
Important Considerations for Integration
While powerful, the module comes with specific technical considerations:
- It does not alter the product's "Virtual" status in PrestaShop's core sense, meaning standard shipping rules still apply. Merchants must configure appropriate free shipping rules for digital products.
- The module is not override-free. It installs overrides for several core PrestaShop classes (ProductDownload, Order, OrderDetail, OrderHistory, OrderInvoice, GetFile controller) and disables the
product_page_v2feature flag on PrestaShop 9 to use the legacy product form. This means potential conflicts with other modules overriding the same classes, requiring developer attention. - Upon uninstallation, the module deliberately retains its five database tables, extra
product_downloadcolumns, and customer-purchased files. A manual cleanup and backup are necessary for a complete removal.
Community Interaction and Support
The thread's brief interaction highlights a common concern: guest checkout support. The developer, MEG Venture, confirmed that the module fully supports guest checkout, ensuring that even non-registered customers can access their purchased virtual products by entering their email and order number.
This module presents a robust solution for PrestaShop merchants struggling with the platform's native virtual product limitations, offering advanced features for managing, delivering, and updating digital goods effectively.