Hi,
How can i make a ‘Register account’ button?
I tryed this:
<form action="[{ $oViewConf->getSslSelfLink() }]" method="post">
<p>
[{ $oViewConf->getHiddenSid() }]
[{ $oViewConf->getNavFormParams() }]
<input type="hidden" name="cl" value="user">
<input type="hidden" name="fnc" value="">
<input type="hidden" name="option" value="3">
<button class="submitButton nextStep" type="submit">[{ oxmultilang ident="PAGE_CHECKOUT_USER_OPTION_NEXT" }]</button>
</p>
</form>
But then its a part of the checkout process - means, you already have found the products you need… Like here:
http://oxid-tpl-debug.stahlwarenhaus-hebsacker.de/azure/index.php?cl=user click on “Weiter” in the middle(Persönliches Kundenkonto eröffnen)…
Is there a better way to do
[B][U][I]Solution from nickname:[/I][/U][/B]
[{if !$oxcmp_user}]
<li><a id="registerLink" href="[{ oxgetseourl ident=$oViewConf->getSslSelfLink()|cat:"cl=register" }]" title="[{oxmultilang ident="PAGE_ACCOUNT_REGISTER_REGISTER"}]">[{oxmultilang ident="PAGE_ACCOUNT_REGISTER_REGISTER"}]</a></li>
[{/if}]