Use order price in description of payment

  • Posts: 79
  • Thank you received: 0
9 years 1 week ago #220559

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.3.
-- PHP version -- : 5.5.23

I need to show the total order price with a calculation (for instance price * 2 + ,50) in the payment step of the checkout proces.
Can I do this in the description of the payment?

It is essential that I present this before the final step of the checkout.

Is this possible?

regards

Suzanne

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
9 years 1 week ago #220566

Hi,

In the description, you can't insert calculations.

The simplest I guess is to edit the file "payment" of the view "checkout" via the menu Display>Views. There, you can use such code:

<?php echo ($this->full_total->prices[0]->price_value*2+0.50); ?>

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum