Call the registration page from the shopping cart page
I want customers to fill in registration information directly on the shopping cart page.
"Tpl_shopping_cart_default. php" I add the following code to this file.
PHP Code:
<?php echo zen_draw_form('create_account', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);"') . zen_draw_hidden_field('action', 'process') . zen_draw_hidden_field('email_pref_html', 'email_format'); ?>
<h4 id="createAcctDefaultLoginLink"><?php echo sprintf(TEXT_ORIGIN_LOGIN, zen_href_link(FILENAME_LOGIN, zen_get_all_get_params(array('action')), 'SSL')); ?></h4>
<fieldset>
<legend><?php echo CATEGORY_PERSONAL; ?></legend>
<?php require($template->get_template_dir('tpl_modules_create_account.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_create_account.php'); ?>
</fieldset>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); ?></div>
</form>
However, after filling in the registration information and submitting it, I still stayed on the shopping cart page and did not skip to the next delivery selection page.
Sometimes submitting registration information jumps back to the product information page.
I want to fill in the registration information on the shopping cart page and submit it, then skip to the next delivery selection page. What do I need to do?
Re: Call the registration page from the shopping cart page
I would not recommend doing this. It will make your cart brittle and hard to upgrade, and you're already WAY out of date.
You'd be better off putting your energy towards upgrading and getting current.
Re: Call the registration page from the shopping cart page
Quote:
Originally Posted by
swguy
I would not recommend doing this. It will make your cart brittle and hard to upgrade, and you're already WAY out of date.
You'd be better off putting your energy towards upgrading and getting current.
I don't need to upgrade. The so-called upgrade to the latest version of the shopping process doesn't have any optimization.
I just want to optimize my shopping experience.
Do you know which code determines whether to skip to the next step or to the product information page after submitting the registration information?
I just want to simplify the customer's shopping process and improve their registration rate.
Re: Call the registration page from the shopping cart page
Upgrade and install OPC (one page check out with guest checkout) and you will pretty much get what your after
Re: Call the registration page from the shopping cart page
Quote:
Originally Posted by
barco57
Upgrade and install OPC (one page check out with guest checkout) and you will pretty much get what your after
I've tried this solution, and it has some drawbacks. One is that installing the plugin sometimes fails, and the other is that using the plugin, installing some payment methods is problematic. You have to spend a lot of time tuning the payment interface. Second, the page submission loading time is too long.
I have used this plugin before, and sometimes when I change the payment method, there will be problems.