News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Remove the 'Already Registered' Login During Checkout

Started by terp, April 15, 2012, 16:15:42 PM

Previous topic - Next topic

terp

Is there a setting I could toggle (I couldn't find one and the fields seem to be locked) to remove the login block during checkout (attached), or do I need to create a template override to hide it?



[attachment cleanup by admin]

DiveO2

I don't fully understand the question....

When you say 'BLOCK', do you just mean the top bit of the form you attached? or the whole form?
Also, is there a chance that this is template specific?
(Joomla! 2.5.4, VM 2.0.7c, PHP 5.3.10)   Do try and be clear & concise in your answers to fellow forum members, it will save confusion and frustration with the original poster (and future visitors) in re-asking the question again and again...

terp

Yea, the top section, sorry....removing the login fields/etc...top half...and only show the address info.  I created an override, so good to go, but was wondering if I missed a setting somewhere to toggle that section off.

In the confirguation -> checkout section in the backend, there is a param for 'On checkout, as for registration,' so was thinking there might be a 'ask to login' setting hiding somewhere, if that makes more sense. :)

SupremeComputing

This would be a great option for us as we do not want or need to have people 'login'.

Terp - Sorry I am new to this, what steps did you take to create the override? I am unsure what an Override is or does.

Thanks in advance
-----Tech Info-----
Joomla 2.5.4
Virtuemart 2.0.4
--------------------

terp

Quote from: SupremeComputing on April 17, 2012, 18:00:49 PM
This would be a great option for us as we do not want or need to have people 'login'.

Terp - Sorry I am new to this, what steps did you take to create the override? I am unsure what an Override is or does.

Thanks in advance

1.) Create a new folder in your template/html directory entitled com_virtuemart
2.) In this new folder, create another one called user
2.) Go to your ...\components\com_virtuemart\views\user\tmpl folder.
3.) Copy the edit_address.php file and paste it in your newly created template/html/com_virtuemart/user directory.
4.) Open the edit_address.php file you just put in the newly created user file.

Find the following on or around line 32:


<?php
echo shopFunctionsF::getLoginForm(false);
?>



...just comment that out or remove it, save, voila.

(I also removed the text up top):


    <h2><?php
if ($this->address_type == 'BT') {
    echo 
JText::_('COM_VIRTUEMART_USER_FORM_EDIT_BILLTO_LBL');
} else {
    echo 
JText::_('COM_VIRTUEMART_USER_FORM_ADD_SHIPTO_LBL');
}
?>

    </h2>



SupremeComputing

Terp, Thank you very much that has worked for me!!
-----Tech Info-----
Joomla 2.5.4
Virtuemart 2.0.4
--------------------

biowan

Does someone know if we can disable this feature by click in administration interface with 2.0.6 ?

Thanks.

biowan

I've hidden it in template CSS.
$template_path/css/general.css


form[name="com-login"]
{
  display: none ;
}


I find it is simple to update in new version of the component.