View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007926 | module PayPal Checkout | module PayPal checkout - sub | public | 2026-04-24 13:18 | 2026-04-24 13:26 |
| Reporter | Spritje | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | assigned | Resolution | open | ||
| Product Version | 2.8.3 / 3.7.3 | ||||
| Target Version | 2.8.4 / 3.7.4 | Fixed in Version | 2.8.4 / 3.7.4 | ||
| Summary | 0007926: Changing variants on the detail page results in a JavaScript error if performed multiple times | ||||
| Description | PPC 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 Information | QA - ES Temporary solution views/tpl/shared/paymentbuttons.tpl ... [{else}] - let button[{$buttonId}] = paypal.Buttons({ + var button[{$buttonId}] = paypal.Buttons({ | ||||
| Tags | No tags attached. | ||||