VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: cihancomcom on June 05, 2017, 15:51:54 PM

Title: Disable / Hide Shipping
Post by: cihancomcom on June 05, 2017, 15:51:54 PM
Hi.

I want to disable shipping as I sell online services. I made a free shipping method and set it as current method but I still want to hide shipment method on cart and shipment adress details also as buyers don't need any shipment information.

Joomla! 3.7.2
Virtuemart VirtueMart 3.2.2

Thanks.
Title: Re: Disable / Hide Shipping
Post by: K&K media production on June 05, 2017, 17:41:00 PM
you can use css with

display: none;

or make a template override and delete the parts
Title: Re: Disable / Hide Shipping
Post by: jenkinhill on June 05, 2017, 17:57:43 PM
You can edit and override components/com_virtuemart/views/cart/tmpl/default_address.php  and   components/com_virtuemart/views/cart/tmpl/default_pricelist.php to remove the parts you do not need, although I prefer to edit the files and add a suitable id/class to better identify where display:none is to be applied.

If you already use a template with overrides the files will probably be in templates/[yourJoomlaTemplate/html/com_virtuemart/cart/
Title: Re: Disable / Hide Shipping
Post by: cihancomcom on June 06, 2017, 14:51:15 PM
Thanks a lot!!