By Felipe Rozo on Thursday, 31 May 2018
Posted in General Issues
Replies 6
Likes 0
Views 798
Votes 0
Hi, I need to display price with ISO NAME and SYMBOL, like: ARS$ 000. Please tell me how can I get that because there is only option to display only symbol o only ISO NAME.

Something rare is that in standard price is not showing no symbol or ISO NAME.

Please see attachment, thanks.
Hi, Ok it works.

Now, I can not find string "DISCOUNT CODE", please tell where is the code to insert it in languages. Thanks.
·
Thursday, 31 May 2018 22:46
·
0 Likes
·
0 Votes
·
0 Comments
·
This is located in the language file /administrator/language/en-GB.en-GB.com_payplans_plugins.ini . Search for the string below,

COM_PAYPLANS_ENTER_DISCOUNT_CODE="Discount code"
·
Thursday, 31 May 2018 22:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok what about this:

Hi, I need to display price with ISO NAME and SYMBOL, like: ARS$ 000. Please tell me how can I get that because there is only option to display only symbol o only ISO NAME.

Something rare is that in standard price is not showing no symbol or ISO NAME.

Please see attachment, thanks.
·
Friday, 01 June 2018 03:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

If you want to show symbol and currency both on invoice confirm page then it can be done by some customization.
Refer below mentioned solution.
Go to root/components/com_payplans/templates/default/invoice/default_confirm.php, near line no. 12 find below mentioned code.

$currency = $invoice->getCurrency();


Replace with

$currency = $invoice->getCurrency('isocode')." ".$invoice->getCurrency('symbol');


To show currency with price symbol, go to root/components/com_payplans/templates/default/invoice/default_confirm_details.php, near line no 20, find below mentioned code

<?php echo PayplansHelperFormat::price($subtotal);?>


Replace with

<?php $amount = $subtotal;?>
<?php echo $this->loadTemplate('partial_amount', compact('currency', 'amount'));?>


Do the changes and let me know if you have any query.
·
Friday, 01 June 2018 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Manisha, if I make these customizations, after update Payplans I will be lose these changes?

Thanks
·
Friday, 01 June 2018 20:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, if you make these changes in the components folder, it would be overwritten when you upgrade. Ideally you should copy the files that you have modified into template overrides folder.

You can view the docs on creating template overrides at https://stackideas.com/docs/payplans/administrators/customizations/template-override
·
Friday, 01 June 2018 21:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post