When an item is added to the cart and the costumer goes to checkout, the Registration/Login form is presented. I am running into a snag on how to edit this form. I would like to make the word Login (in the sentence Login or Create a New Account sentence) to be a link to the login module. I also want to edit the default selection on the Sate and Country dropdown menus. Can't seem to find where this is able to be accessed for edit.
To add a link on the "Login" word of the sentence, just edit the translation of the sentence in the language file of Hikashop (System>Configuration>Language) and replace this line:
Code:
LOGIN_OR_REGISTER_ACCOUNT="Login or create a new account"
by this one
Code:
LOGIN_OR_REGISTER_ACCOUNT="<a href='yoururl'>Login or create a new account</a>"
About the default selection, just take a look at the custom fields (the form is only made of custom fields) in Display>Custom Fields.
For example edit the field address_state and you'll be able to choose the default selection
Perfect, this is what I was looking for on creating the Login link, however, something is inserting component/hikashop/ into the link, thus making it /index.php/component/hikashop/my-account rather than just /index.php/my-account. This appears to lead to a category listing. All I have is ...href="my-account">Login</a>.... now in that line.