[Skip to main content](#vessel-content)

#   integration SEBLOD: copy the address on an event

##

- **[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")**
- [![pulsarinformatique's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile") Topic Author
- [ Offline](/forum/user/4583-pulsarinformatique)

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

13 years 1 month ago -  13 years 1 month ago [\#126191](#126191) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  *[integration SEBLOD: copy the address on an event](/forum/30-integrations/862522-integration-seblod-copy-the-address-on-an-event#126191 "-- HikaShop version -- : HikaShop Business 2.2.0 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.3  Hi,  I use the CCK SEBLOD, and with him I've extended the Joomla user, so that he has an address. I want to make life easier for my customer so I want to copy the adress that is registered in Joomla, and put it in the billing address. I don't want to do it at user registration because all my users aren't ecommerce customers, and I don't want to fill my database uselessly. Si I was looking for: where to do that? The ideal would be to do it at checkout, when we display the adress, but I don't see on which event exactly I can do my plugin?  In advance thanks for your help!  Raphaelle")* was created by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")*

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

Hi,

I use the CCK SEBLOD, and with him I've extended the Joomla user, so that he has an address.
I want to make life easier for my customer so I want to copy the adress that is registered in Joomla, and put it in the billing address.
I don't want to do it at user registration because all my users aren't ecommerce customers, and I don't want to fill my database uselessly.
Si I was looking for: where to do that? The ideal would be to do it at checkout, when we display the adress, but I don't see on which event exactly I can do my plugin?

In advance thanks for your help!

Raphaelle

Last edit: 13 years 1 month ago by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NjI1MjItaW50ZWdyYXRpb24tc2VibG9kLWNvcHktdGhlLWFkZHJlc3Mtb24tYW4tZXZlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago -  13 years 1 month ago [\#126222](#126222) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[integration SEBLOD: copy the address on an event](/forum/30-integrations/862522-integration-seblod-copy-the-address-on-an-event#126222 "-- HikaShop version -- : HikaShop Business 2.2.0 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.3  Hi,  I use the CCK SEBLOD, and with him I've extended the Joomla user, so that he has an address. I want to make life easier for my customer so I want to copy the adress that is registered in Joomla, and put it in the billing address. I don't want to do it at user registration because all my users aren't ecommerce customers, and I don't want to fill my database uselessly. Si I was looking for: where to do that? The ideal would be to do it at checkout, when we display the adress, but I don't see on which event exactly I can do my plugin?  In advance thanks for your help!  Raphaelle")*

Hi,

There is no specific trigger when the user go to checkout. You can put some things in the view "checkout &#124; step" but the address (and the "no address") could be done already depending to your checkout workflow.
At this moment you can use some triggers linked to the cart like " onAfterCartUpdate ". If the user put something in this cart, he becomes a ecommerce customer.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 13 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NjI1MjItaW50ZWdyYXRpb24tc2VibG9kLWNvcHktdGhlLWFkZHJlc3Mtb24tYW4tZXZlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")**
- [![pulsarinformatique's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile") Topic Author
- [ Offline](/forum/user/4583-pulsarinformatique)

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

13 years 1 month ago -  13 years 1 month ago [\#126610](#126610) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  Replied by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")* on topic *[integration SEBLOD: copy the address on an event](/forum/30-integrations/862522-integration-seblod-copy-the-address-on-an-event#126610 "-- HikaShop version -- : HikaShop Business 2.2.0 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.3  Hi,  I use the CCK SEBLOD, and with him I've extended the Joomla user, so that he has an address. I want to make life easier for my customer so I want to copy the adress that is registered in Joomla, and put it in the billing address. I don't want to do it at user registration because all my users aren't ecommerce customers, and I don't want to fill my database uselessly. Si I was looking for: where to do that? The ideal would be to do it at checkout, when we display the adress, but I don't see on which event exactly I can do my plugin?  In advance thanks for your help!  Raphaelle")*

Thanks for your answer, I tried it, but it works only if the user connects himself before the checkout.
But the user can add a product in the cart without being registred ...so if the user arrives in the checkout without been reegistered, and connect(or register ) himself at the beginning of the checkout, the popup appears to propose him to fill his adress and there's no automatic copy.

Isn't there a way to catch these events? connexion checkout/registration checkout?

in advance thanks for your answer.

Raphaelle

Last edit: 13 years 1 month ago by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NjI1MjItaW50ZWdyYXRpb24tc2VibG9kLWNvcHktdGhlLWFkZHJlc3Mtb24tYW4tZXZlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

13 years 1 month ago [\#126713](#126713) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[integration SEBLOD: copy the address on an event](/forum/30-integrations/862522-integration-seblod-copy-the-address-on-an-event#126713 "-- HikaShop version -- : HikaShop Business 2.2.0 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.3  Hi,  I use the CCK SEBLOD, and with him I've extended the Joomla user, so that he has an address. I want to make life easier for my customer so I want to copy the adress that is registered in Joomla, and put it in the billing address. I don't want to do it at user registration because all my users aren't ecommerce customers, and I don't want to fill my database uselessly. Si I was looking for: where to do that? The ideal would be to do it at checkout, when we display the adress, but I don't see on which event exactly I can do my plugin?  In advance thanks for your help!  Raphaelle")*

I would recommend to use the joomla trigger onUserLogin / onLoginUser which is called for user/system plugins each time someone logs in, whether via HikaShop's checkout login form or any other login form on your website.
At that time, simply copy the address if there is none in HikaShop and that should then work.

The following user(s) said Thank You: [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NjI1MjItaW50ZWdyYXRpb24tc2VibG9kLWNvcHktdGhlLWFkZHJlc3Mtb24tYW4tZXZlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")**
- [![pulsarinformatique's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile") Topic Author
- [ Offline](/forum/user/4583-pulsarinformatique)

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

13 years 1 month ago -  13 years 1 month ago [\#127121](#127121) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  Replied by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")* on topic *[integration SEBLOD: copy the address on an event](/forum/30-integrations/862522-integration-seblod-copy-the-address-on-an-event#127121 "-- HikaShop version -- : HikaShop Business 2.2.0 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.4.3  Hi,  I use the CCK SEBLOD, and with him I've extended the Joomla user, so that he has an address. I want to make life easier for my customer so I want to copy the adress that is registered in Joomla, and put it in the billing address. I don't want to do it at user registration because all my users aren't ecommerce customers, and I don't want to fill my database uselessly. Si I was looking for: where to do that? The ideal would be to do it at checkout, when we display the adress, but I don't see on which event exactly I can do my plugin?  In advance thanks for your help!  Raphaelle")*

okay thanks, I did that and it works pretty well, thank you !

Last edit: 13 years 1 month ago by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NjI1MjItaW50ZWdyYXRpb24tc2VibG9kLWNvcHktdGhlLWFkZHJlc3Mtb24tYW4tZXZlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.068 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
