VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: danielll on April 25, 2016, 01:27:52 AM

Title: Remove login option from VM shopping cart
Post by: danielll on April 25, 2016, 01:27:52 AM
Hello, please I would like to know how to remove (delete/hide/disable, whatever) the login option from my shopping cart,
here is screenshot of what I mean : https://gyazo.com/bbc14b84c088f348b0c0e8e8458be0ab

Ive been trying to find the "disable login" thing in the modules, but unfortunately could not find it :/
Here are screens of "VM - Shopping cart" module : https://gyazo.com/cafa4c84bacf18bc6daf533d8e0fabcc

Thanks for any help!
Title: Re: Remove login option from VM shopping cart
Post by: Ghost on April 25, 2016, 07:22:09 AM
Uncheck "On checkout, ask for registration" option in VM -> Configuration -> Checkout.
Title: Re: Remove login option from VM shopping cart
Post by: GJC Web Design on April 25, 2016, 10:51:41 AM
will that blank the cart login?

BTW nothing to do with the module

is   echo shopFunctionsF::getLoginForm ($this->cart, FALSE);

make an over ride in

in   templates\xxxxxx\html\com_virtuemart\cart\default.php

for   components\com_virtuemart\views\cart\tmpl\default.php

Title: Re: Remove login option from VM shopping cart
Post by: Ghost on April 25, 2016, 10:57:14 AM
It will. No need for overrides this time.
Title: Re: Remove login option from VM shopping cart
Post by: GJC Web Design on April 25, 2016, 11:05:54 AM
ah checked in functions

but this is the way only if u don't want to allow registration
Title: Re: Remove login option from VM shopping cart
Post by: danielll on April 25, 2016, 11:10:20 AM
Thanks a lot, uncheck the "ask for registration" worked"!

Again thank you all so much for quick answers!