Fix checkout step navigation and CTAs for virtual-only carts#949
Fix checkout step navigation and CTAs for virtual-only carts#949tblivet wants to merge 3 commits intoPrestaShop:2.xfrom
Conversation
tblivet
commented
Mar 5, 2026
| Questions | Answers |
|---|---|
| Description? | Fix checkout step navigation and CTAs for virtual-only carts |
| Type? | bug fix |
| BC breaks? | no |
| Deprecations? | no |
| Fixed ticket? | #948 |
| Sponsor company | @PrestaShopCorp |
| How to test? | Follow the issue :) |
ingridusta
left a comment
There was a problem hiding this comment.
Hi @tblivet,
I detected a bug with your fix on phone screen as the stepper component is not the same :
Enregistrement.de.l.ecran.2026-03-05.a.16.14.00.mov
Next step displayed is "Shipping method" but should be Payment.
|
This pull request seems to contain new translation strings. I have summarized them below to ease up review:
(Note: this is an automated message, but answering it will reach a real human) |
Hlavtox
left a comment
There was a problem hiding this comment.
I think a best solution would be to use just “Next”/“Continue” and “Back”.
Because there can be another checkout steps added or some removed via checkout hooks. We cannot be entirely sure if the next/previous step is delivery for example.
|
Hi @Hlavtox! Yes, the steps seem quite hardcoded here, unfortunately. For now, we should probably go with it, as this section could be refactored in the future. We already have a contributor who opened an issue about this topic (#719), which could be improved to better fit the PrestaShop architecture. What do you think? |
There was a problem hiding this comment.
Hi @tblivet !
I tested your pr and it fixes the original bug detected.
Cart 1 : physical product
Laptop device
laptop.device.physical.product.mov
Mobile device
mobile.device.physical.product.mov
Cart 2 : physical product + virtual product
Laptop device
laptop.device.physical.product.+.virtual.product.mov
Mobile device
mobile.device.physical.product.+.virtual.product.mov
Cart 3 : virtual product
Laptop device
laptop.device.virtual.product.mov
Mobile device
mobile.device.virtual.product.mov
It's approved for QA's side. What do you think @Hlavtox ?