By Mike Griffin on Wednesday, 21 September 2022
Posted in General Issues
Replies 1
Likes 0
Views 335
Votes 0
Hi, i previously had received help from you to adjust the code so that when a user cancels an order during checkout that it will redirect to the dashboard instead of plans page. After running the new update that is broken. Which file do I need to edit to change it back to dashboard?
Hey Mike,

To change the cancel URL to the dashboard page, Refer below-mentioned steps.

1. Go to file path : root\components\com_payplans\themes\wireframe\checkout\default\default.php

2. Near line no. 219, find the below-mentioned code.

<a href="<?php echo $returnUrl;?>" class="no-underline">


3. Replace the code mentioned in 2 steps with the below-mentioned code.

<a href="<?php echo PPR::_('index.php?option=com_payplans&view=dashboard');?>" class="no-underline">


Do the above changes with template overriding, so your changes will not be lost on the upgrade.
Refer to the below-mentioned document for more details.
https://stackideas.com/docs/payplans/administrators/customization/template-override

Update us if you will have any queries.
·
Thursday, 22 September 2022 10:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post