News:

Looking for documentation? Take a look on our wiki

Main Menu

Removing columns and radio buttons from checkout

Started by rejamujm, February 07, 2013, 12:13:38 PM

Previous topic - Next topic

rejamujm

I have a site that is nearing launch. There are a couple of minor things I would like to address. I am using VM 2.0.18a

During the Checkout Process, the cart shows a column "discount". I have it disabled in the "show following prices" section of the configuration, but it still appears.
http://content.screencast.com/users/jamieujm/folders/Jing/media/4ed9dbb2-3568-4753-852c-fec30e767db4/00000107.png

Also, on the payment page of the checkout, there is a radio button beside the only method of payment [•] Credit Card. Can that be removed? It seems extraneous and we would like to keep extra steps to a minimum. http://content.screencast.com/users/jamieujm/folders/Jing/media/887e8168-25bd-485c-a5fe-5e98f3a46f1a/00000108.png

Thanks in advance for any guidance.

jenkinhill

#1
To remove the discount column you can make a copy of joomla_root/components/com_virtuemart/views/cart/tmpl/default_pricelist.php  and edit it to remove the discount column from the price table, then use the edited file as a template override.

Alternatively it is simpler just to use a language override for the column header, COM_VIRTUEMART_CART_SUBTOTAL_DISCOUNT_AMOUNT. If you make it an empty string then the word "Discount"  is removed.  To do this see http://forum.virtuemart.net/index.php?topic=92944.0 and http://www.ostraining.com/blog/joomla/languge-manager/ 

To remove the payment button select "Enable Automatic Selected Payment? " in Configuration / Checkout.
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

fatpenn

Quote from: jenkinhill on February 07, 2013, 18:32:21 PM
To remove the discount column you can make a copy of joomla_root/components/com_virtuemart/views/cart/tmpl/default_pricelist.php  and edit it to remove the discount column from the price table, then use the edited file as a template override.

Alternatively it is simpler just to use a language override for the column header, COM_VIRTUEMART_CART_SUBTOTAL_DISCOUNT_AMOUNT. If you make it an empty string then the word "Discount"  is removed.  To do this see http://forum.virtuemart.net/index.php?topic=92944.0 and http://www.ostraining.com/blog/joomla/languge-manager/ 

To remove the payment button select "Enable Automatic Selected Payment? " in Configuration / Checkout.

Please which line in( joomla_root/components/com_virtuemart/views/cart/tmpl/default_pricelist.php) do I remove or delete so the discount column in VM 2.0 doesnt show up any more.
I would greatly appreciate your help

GJC Web Design

as it is tables and cells you have to remove the cell (td) from every row (tr)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation