I wondered if you can lend me some assistance with an issue I am having, it is quite likely it is user error in this case as I am quite new to Lemon Stand.
Ok here goes,
I load up a page via AJAX which includes a login and a signup screen with the action set as shop:login
First issue is, when I use the login part, code below.
<?= open_form() ?>
<table class='details half' cellspacing='0'>
<tr>
<th class='title' colspan='2'>Have an account? Please login..</th>
</tr>
<tr>
<td class='title'>*Email Address</td>
<td class='input'><input class='text' name="email" value="<?= h(post('email')) ?>" type="text"></td>
</tr>
<tr>
<td class='title'>*Password</td>
<td class='input'><input class='text' name="password" value="" type="password"> <a href='#' class='small-font'>Forgotten your password?</a></td>
</tr>
<tr class='footer'>
<td class='title'></td>
<td class='input button'><input value='Login >' type="button" name="login" onclick="return $(this).getForm().sendRequest('shop:on_login', {update: {'mini_cart': 'shop:mini_cart', 'popup':'checkout_billing'}})" /></td>
</tr>
</table>
</form>
When I click on Login, an alert box pops up saying "Please specify a first name."
I believe that it is logging me in and trying to load the partial for the billing section, I do have a hunch its because its not loading the "shop:checkout" action, and if so how can I load it for a partial?
The sign up part follows along the lines of the same issue, an account is created and again I believe it tries to display the billing partial but I get the alert box with the error "Please specify a street address." I am only asking got first name, last name and password in the sign up form but from reading the docs that should be fine.
Thanks in advance!

Help













