[Skip to main content](#vessel-content)

#   Use order price in description of payment

##

- **[proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")**
- [![proo4509's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37936-proo4509 "View proo4509's Profile") Topic Author
- [ Offline](/forum/user/37936-proo4509)

Less More

- Posts: 79
- Thank you received: 0
-
-

11 years 2 days ago [\#220559](#220559) by [proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")  *[Use order price in description of payment](/forum/29-payment-methods/880450-use-order-price-in-description-of-payment#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 &#42; 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")* was created by *[proo4509](/forum/user/37936-proo4509 "View proo4509's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODA0NTAtdXNlLW9yZGVyLXByaWNlLWluLWRlc2NyaXB0aW9uLW9mLXBheW1lbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

11 years 2 days ago [\#220566](#220566) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Use order price in description of payment](/forum/29-payment-methods/880450-use-order-price-in-description-of-payment#220566 "-- 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 &#42; 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")*

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&gt;Views. There, you can use such code: Code:

&lt;?php echo ($this-&gt;full_total-&gt;prices[0]-&gt;price_value*2+0.50); ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODA0NTAtdXNlLW9yZGVyLXByaWNlLWluLWRlc2NyaXB0aW9uLW9mLXBheW1lbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.042 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
