News:

Support the VirtueMart project and become a member

Main Menu

hide shipping method

Started by raonyvf, November 27, 2013, 19:46:28 PM

Previous topic - Next topic

raonyvf

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

jenkinhill

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

raonyvf

#2
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.

jenkinhill

Jroot/components/com_virtuemart/views/cart/tmpl/cart/default_pricelist.php is the full and correct file location.
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

raonyvf

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

jenkinhill

If it does not work for you then maybe you are already using template overrides, such as with a commercial VM template?
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

raonyvf

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

jenkinhill

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.
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

raonyvf

jenkinhill,

thank you very much. Worked great!!