I want to auto-populate the cart checkout fields with the registered member info. The problem is that upon submiting the form, it doesn't show the thank you message, instead it leads to the corresponding member page that is cloned from members template.
Here is the code:
It leads to this : http://www.mysite/members/index.php?p=99
Form is working nicely if I am not wrapping it inside cms:pages and using the member values.
Edit: Now I wrapped only the fieldset that contains the input fields, I get the thank you message, but the email never arrives.
Here is the code:
- Code: Select all
<cms:if k_member_logged_in >
<cms:pages masterpage=k_member_template id=k_member_id>
<!-- Here is the form and all other stuff -->
</cms:pages>
</cms:if>
It leads to this : http://www.mysite/members/index.php?p=99
Form is working nicely if I am not wrapping it inside cms:pages and using the member values.
Edit: Now I wrapped only the fieldset that contains the input fields, I get the thank you message, but the email never arrives.