News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Remove payment fee from View Invoice Page

Started by websmith, October 26, 2016, 15:22:40 PM

Previous topic - Next topic

websmith

VM 3.0.18
Joomla 3.6.2

After placing an order the customer can view the details of the order. On this info page at the bottom it shows Shipment fee and payment fee. Payment fee is unnecessary and Id like to remove that as we dont charge payment fees.

Id also like to shorten the email input display, as very long emails push the right side info off the screen. I believe its 181 characters wide and I cant find where to make these css changes.

Ive attached a screen cap for better clarification. Thanks.

Jörgen

Hello

The first e-mail issue could probably be adjusted with CSS. Check with firebug and test.

Removing the payment could be done by overriding this file:
templates/your_template_name/html/com_virtuemart/orders/details_items.php

Look for COM_VIRTUEMART_ORDER_PRINT_PAYMENT and You will see the section that You should remove.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

To shorten the email display, something like this may work for a text container:
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px; (or whatever works for you)
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum