Page 1 of 1
Commit 80abf04 Remove Continue Button
Posted: Tue Apr 14, 2026 12:59 am
by MyGamesShop
While not really needed, I like these buttons they show the client what to do next in an intuitive way and finalize the page.
Anybody else think this way? or have an alternative opinion they want to share?
Re: Commit 80abf04 Remove Continue Button
Posted: Tue Apr 14, 2026 7:14 am
by Fiber
MyGamesShop wrote: ↑Tue Apr 14, 2026 12:59 am
Anybody else think this way?
No, not really, it is actually good because that whole button has no added value.
or have an alternative opinion they want to share?
If you still want to show something, first use the template override, and then, for example, in the file you can do a lot of things: show only text, for instance in an alert... or disable the button and below text like 'go to the main menu' or something similar...
or info text and below buttons, e.g. home or account, whatever you want.
example privacy.php
Code: Select all
<div class="text-center">
<p class="mb-2"><?= TEXT_SHIPPING_COMPLETE ?></p>
<a href="<?= $Linker->build('index.php') ?>" class="btn btn-outline-primary"><?= IMAGE_BUTTON_HOME ?></a>
<a href="<?= $Linker->build('account.php') ?>" class="btn btn-outline-secondary"><?= IMAGE_BUTTON_ACCOUNT ?></a>
</div>
language const in english.php
Code: Select all
const IMAGE_BUTTON_HOME = 'Home';
const IMAGE_BUTTON_ACCOUNT = 'My Account';
const TEXT_SHIPPING_COMPLETE = 'Thank you for reading our privacy policy';
Re: Commit 80abf04 Remove Continue Button
Posted: Tue Apr 14, 2026 9:01 am
by burt
That’s a fair point - some people do like having a clear "next step" button.
With Phoenix, you're not stuck with whatever is in the core.
It's designed so you can change things to suit your shop.
The old `Continue` button always went back to the homepage, which isn't helpful to the Customer or for the Shopowner. A better approach is to show something more relevant, like "continue shopping", "view cart", or "checkout", depending on what the customer just did, or your shops funnel.
If you like having a button there, you can easily add one (or more) that fits your store better. @Fiber shows the way.
--
Note that other Buttons that say "Continue" are still in there - these will be renamed to be context aware, when I can find some time to do so. EG the one at checkout_shipping, might change from "Continue" to (eg) "Continue to Payment" - make the text Context Aware for User Interaction and, more importantly, Accessibility.
Re: Commit 80abf04 Remove Continue Button
Posted: Tue Apr 14, 2026 12:08 pm
by 14Steve14
burt wrote: ↑Tue Apr 14, 2026 9:01 am
That’s a fair point - some people do like having a clear "next step" button.
With Phoenix, you're not stuck with whatever is in the core.
It's designed so you can change things to suit your shop.
The old `Continue` button always went back to the homepage, which isn't helpful to the Customer or for the Shopowner. A better approach is to show something more relevant, like "continue shopping", "view cart", or "checkout", depending on what the customer just did, or your shops funnel.
If you like having a button there, you can easily add one (or more) that fits your store better. @Fiber shows the way.
Note that other Buttons that say "Continue" are still in there - these will be renamed to be context aware, when I can find some time to do so. EG the one at checkout_shipping, might change from "Continue" to (eg) "Continue to Payment" - make the text Context Aware for User Interaction and, more importantly, Accessibility.
We changed most of the text in lots of the buttons just to make them Context aware and so the customers knew where they would be sent after clicking the button. We rely heavily on help pages and guides on our website and all the continue buttons have been changed and all go to the master information page where all the guides and help pages are listed. Some of our help pages have linked buttons to other pages that may be helpful.
These small changes were easy to make by using the override folder.