VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: rejamujm on February 07, 2013, 12:13:38 PM

Title: Removing columns and radio buttons from checkout
Post by: rejamujm on February 07, 2013, 12:13:38 PM
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.
Title: Re: Removing columns and radio buttons from checkout
Post by: 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.
Title: Re: Removing columns and radio buttons from checkout
Post by: fatpenn on March 12, 2015, 10:33:52 AM
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
Title: Re: Removing columns and radio buttons from checkout
Post by: GJC Web Design on March 13, 2015, 22:27:24 PM
as it is tables and cells you have to remove the cell (td) from every row (tr)