View Issue Details

IDProjectCategoryView StatusLast Update
0007926module PayPal Checkoutmodule PayPal checkout - subpublic2026-04-24 13:26
ReporterSpritje Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version2.8.3 / 3.7.3 
Target Version2.8.4 / 3.7.4Fixed in Version2.8.4 / 3.7.4 
Summary0007926: Changing variants on the detail page results in a JavaScript error if performed multiple times
DescriptionPPC module update 2.8.3 installed with the RoxIVE theme.

As a result, it was no longer possible to switch between variants on the product detail page of the frontend once PayPal Express was activated.
To be more precise: the first variant switch still worked, but all subsequent ones were no longer possible.

Technical background:
When switching variants, part of the detail page is reloaded. Apparently, the same initialisation logic is executed in all loading processes, but when executed multiple times, it results in a JavaScript error. This causes the variant switch to be aborted:
Uncaught SyntaxError: redeclaration of let buttonPayPalButtonProductMain


Additional InformationQA - ES

Temporary solution
views/tpl/shared/paymentbuttons.tpl
...
             [{else}]
- let button[{$buttonId}] = paypal.Buttons({
+ var button[{$buttonId}] = paypal.Buttons({
TagsNo tags attached.

Activities

There are no notes attached to this issue.