VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: allamistakeo19 on April 05, 2015, 17:40:10 PM

Title: How can I hide the billing and shipping addresses from the checkout page?
Post by: allamistakeo19 on April 05, 2015, 17:40:10 PM
Hi,

How can I hide the billing and shipping addresses (and associated buttons) from the checkout page?
On my site one can safely assume that the user will always have recorded a billing address and a shipping address before reaching the checkout page.

Configuration:
- VirtueMart 3.0.6.2
- Joomla! 3.4.1
- PHP 5.5.22

Thanks in advance,

Thomas
Title: Re: How can I hide the billing and shipping addresses from the checkout page?
Post by: jenkinhill on April 05, 2015, 20:19:10 PM
You can use template overrides to remove all related code, or just use css to hide the relevent div. 

eg in default VM use  .billto-shipto {display:none;}  as a css override.
Title: Re: How can I hide the billing and shipping addresses from the checkout page?
Post by: allamistakeo19 on May 07, 2015, 21:36:42 PM
That did the trick; thanks a lot!