Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / Invoicing Support / [SOLVED] display title in buy credits

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

[SOLVED] display title in buy credits

  • hatprostudios
  • hatprostudios's Avatar Topic Author
  • Offline
  • Gold
  • Gold
More
10 years 11 months ago - 10 years 11 months ago #4924 by hatprostudios
[SOLVED] display title in buy credits was created by hatprostudios
Hi I need to see the title from packs in buy credits field, now it only display the price and the credits!

menix
Last edit: 10 years 11 months ago by loic.
More
10 years 11 months ago #4953 by loic
Replied by loic on topic display title in buy credits
Hello,

To change the display of the pack in the list, make an override of the pack view and replace the line 38:
<?php echo htmlspecialchars(sprintf(JText::_('COM_VIRTUALMONEY_PACKS_OPTION'),InvoicingHelperFormat::formatPrice($pack->price,$pack->currency_id),VirtualmoneyHelperFormat::formatPrice($pack->credits)), ENT_COMPAT, 'UTF-8', false); ?>

By this one :
<?php echo htmlspecialchars(sprintf($pack->title.' '.InvoicingHelperFormat::formatPrice($pack->price,$pack->currency_id).' ('.VirtualmoneyHelperFormat::formatPrice($pack->credits).')'), ENT_COMPAT, 'UTF-8', false); ?>

If you just want the title:
<?php echo htmlspecialchars(sprintf($pack->title), ENT_COMPAT, 'UTF-8', false); ?>

Best Regards
The following user(s) said Thank You: hatprostudios
  • hatprostudios
  • hatprostudios's Avatar Topic Author
  • Offline
  • Gold
  • Gold
More
10 years 11 months ago #4956 by hatprostudios
Replied by hatprostudios on topic display title in buy credits
Thank You, it's working :D

menix
More
10 years 11 months ago #4990 by loic
Replied by loic on topic display title in buy credits
Good news :)

I modify the topic's statut to solved.
Time to create page: 0.154 seconds
Powered by Kunena Forum