VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: raonyvf on November 27, 2013, 19:46:28 PM

Title: hide shipping method
Post by: raonyvf on November 27, 2013, 19:46:28 PM
Hey there,
How Can I hide the field "No shipment selected Select shipment" on the checkout`s frist screen only for users not registred already.

when the user proceed to next step and register himself, the next screen will show the shipping method to choose.
Does someone know to do that? Can I use IF?

Thanks
Title: Re: hide shipping method
Post by: jenkinhill on November 27, 2013, 20:18:06 PM
See http://forum.virtuemart.net/index.php?topic=106459.msg406095#msg406095
Title: Re: hide shipping method
Post by: raonyvf on November 28, 2013, 00:40:19 AM
Quote from: jenkinhill on November 27, 2013, 20:18:06 PM
See http://forum.virtuemart.net/index.php?topic=106459.msg406095#msg406095

Hi jenkinhill,

Thanks for your attention but it didn't work on my VM. Do you Know If I have to setup any parameter?
I thing the path to modify the file is not correct because I couldnt realize any modification.
My path is com root/virtuemart/views/cart/tmpl/default_pricelist.php and the post is showing com_virtuemart/views/cart/tmpl/cart/default_pricelist.php. Could you check for me?

Thank you.
Title: Re: hide shipping method
Post by: jenkinhill on November 28, 2013, 09:59:23 AM
Jroot/components/com_virtuemart/views/cart/tmpl/cart/default_pricelist.php is the full and correct file location.
Title: Re: hide shipping method
Post by: raonyvf on December 03, 2013, 01:39:29 AM
Quote from: jenkinhill on November 28, 2013, 09:59:23 AM
Jroot/components/com_virtuemart/views/cart/tmpl/cart/default_pricelist.php is the full and correct file location.

On my virtuemart the location is
Jroot/components/com_virtuemart/views/cart/tmpl/default_pricelist.php
Do you know if this interfering? Cause its not working in my project.

Thanks
Title: Re: hide shipping method
Post by: jenkinhill on December 03, 2013, 15:23:41 PM
If it does not work for you then maybe you are already using template overrides, such as with a commercial VM template?
Title: Re: hide shipping method
Post by: raonyvf on December 03, 2013, 16:55:41 PM
You correct I purchase a template from Gavick.
Do you know how can I modify the override file? I have never done something like this, but do you if I can create another override?
Do you know the correct path?

Thanks
Title: Re: hide shipping method
Post by: jenkinhill on December 03, 2013, 19:11:28 PM
If they followed the normally accepted configuration for overrides then the one you need will be [yourgavicktemplate]/html/com_virtuemart/cart/default_pricelist.php

You will have to edit that file as you cannot easily make an override of an override.
Title: Re: hide shipping method
Post by: raonyvf on December 04, 2013, 01:40:35 AM
jenkinhill,

thank you very much. Worked great!!