By Grzegorz Szyszka on Wednesday, 27 May 2020
Posted in General Issues
Likes 0
Views 462
Votes 0
update billing and upgrade buttons are not consistent in appearance with other buttons
I would like them to look like finish order and renew buttons
Hey,

To change Upgrade and Update billing details button, you need to do the changes in template file.
For Update billing, you need to do changes in file mentioned here near line no 17 : root\plugins\payplans\stripe\app\tmpl\button.php

<a href="javascript:void(0);" class="btn btn-pp-default-o" data-stripe-update-<?php echo $uid;?>>


Replace with

<a href="javascript:void(0);" class="btn btn-pp-primary" data-stripe-update-<?php echo $uid;?>>


For upgrade button, do the changes near line no. 212 in file path : root/components\com_payplans\themes\wireframe\dashboard\default\default.php

<button type="button" class="btn btn-pp-default-o" data-upgrade-button data-key="<?php echo $subscription->order->getKey(); ?>">
<?php echo JText::_('COM_PP__APP_UPGRADE_BUTTON'); ?>
</button>


Replace with

<button type="button" class="btn btn-pp-primary" data-upgrade-button data-key="<?php echo $subscription->order->getKey(); ?>">
<?php echo JText::_('COM_PP__APP_UPGRADE_BUTTON'); ?>
</button>


Let me know if you have any query.
·
Wednesday, 27 May 2020 14:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Done
Works perfect

Thanks
·
Friday, 29 May 2020 08:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Friday, 29 May 2020 10:05
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post