integration SEBLOD: replace Hikashop register

  • Posts: 202
  • Thank you received: 3
11 years 1 month ago #127127

-- HikaShop version -- : HikaShop Business 2.2.0
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.4.3

Thanks to your help I succeeded in creating an hikashop adress using SEBLOD informations at the login of the user. So when a user creates himself with seblod: its account hikashop is created with adress informations.
But if the user doesn't login and comes to checkout: he's go the proposal to register himself. The form that appears is composed by joomla basic informations+ Hikashop adress informations. I need to replace this form by mine (seblod one), but I didn't find out where is this form? where is he called?
Could your please help me?

in advance thanks for your help

Raphaelle

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #127304

Hi,

The address view is "user / registration", it will require many modifications to use your form here.

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

  • Posts: 202
  • Thank you received: 3
11 years 1 month ago #127355

thanks for your answer but actually I don't want to modify the form...I want to call another form at this moment...so I'm looking for the call to this form please?

in advance thanks for your answer

Raphaelle

Last edit: 11 years 1 month ago by pulsarinformatique.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 1 month ago #127445

The issue is that the login form fields, which are in the user/registration view file are inside the checkout form.
So if you want to include the seblod form, it means that you need to remove the whole checkout form but you need it for the rest of the checkout elements.
In that case, I think that it will be way easier to simply redirect the user to the seblod registration page if the user reachs the checkout and is not yet logged in. You can add such redirect in the "login" file of the view "checkout" via the menu Display>Views.

The following user(s) said Thank You: pulsarinformatique

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

  • Posts: 202
  • Thank you received: 3
11 years 1 month ago #127691

thanks or your answer!
so here is how I did: I added a module with the seblod form on the checkout page of hikashop, I hide the hikashop form and then with some js I modified the dom of my page to get two forms one aside another: login form and seblod registration.
and it works...

have a nice day!

Raphaelle

Last edit: 11 years 1 month ago by pulsarinformatique.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum