Is This Too Much To Ask? (Checkout Page)

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #112099

@avantmedia :
You won't be able to get the registration form to display once you're already registered.
If you want the users to be able to edit their address information, you should add back the address view.

@G9Cap :
I'm going to look at it.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
11 years 4 months ago #112116

But that excatly my point, there is no registration. I belive that the data are storred in the session since they are shown again if you complete the order and make a new one immediatly. The problem is only email. If you put it in the form dissapers.

Is there a way maybe that you but a back button in the second step and if you click it email value is reset. User have to enter it again but all other data remains.

Or another option. Is there a way that you can edit your email address once you enter and confirm it in the chekout flow.
For exaple i changed my mind in the last step and i want to change my email adress for the order, but i already clicked next on that step before. With current settings i cant regardles if i put address block in the flow.

Please Log in or Create an account to join the conversation.

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #112201

The data is not stored in the session but in the database.
You can see it in the table hikashop_address

It's not possible to edit your email address via HikaShop. Joomla might allow that (I don't think it does) if you're using a normal user account.

I'm not sure which mode you're using but if you're in "no registration" mode, you can use the code:
$app = JFactory::getApplication();
$app->setUserState( HIKASHOP_COMPONENT.'.user_id', 0);
To force the unset of the user data.
And thus you would see the user information field again once that code is run.
If you want to make it a button, that's possible by adding the HTML of your button in one of the view files of the view "checkout" via Display>Views which would redirect to the checkout with an additional parameter that you would then check to run that code and the do a redirect:
blog.calebnance.com/joomla-1.5/code/how-...5-mvc-component.html

Please Log in or Create an account to join the conversation.

  • Posts: 59
  • Thank you received: 1
11 years 3 months ago #113010

Nicolas, attached SS per your request 7/9/13

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum