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

#   Pre Populate Cart

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

9 years 3 weeks ago [\#281864](#281864) by [toomanylogins](/forum/user/52956-toomanylogins "View toomanylogins's Profile")  *[Pre Populate Cart](/forum/27-checkout/892640-pre-populate-cart#281864 "-- HikaShop version -- : 3.2.1  We would like to pre-populate the checkout page with our customer data for guest checkout or we could create joomla account but still need to pre-populate the form. Is this possible as we have already captured the data ? Thanks Paul")* was created by *[toomanylogins](/forum/user/52956-toomanylogins "View toomanylogins's Profile")*

-- HikaShop version -- : 3.2.1

We would like to pre-populate the checkout page with our customer data for guest checkout or we could create joomla account but still need to pre-populate the form. Is this possible as we have already captured the data ?
Thanks
Paul

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 3 weeks ago -  9 years 3 weeks ago [\#281872](#281872) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Pre Populate Cart](/forum/27-checkout/892640-pre-populate-cart#281872 "-- HikaShop version -- : 3.2.1  We would like to pre-populate the checkout page with our customer data for guest checkout or we could create joomla account but still need to pre-populate the form. Is this possible as we have already captured the data ? Thanks Paul")*

Hello,

First by editing your checkout view via the **HikaShop override** allow you to custom and add lots of different elements, see [ **this tutorial**](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout).
But to be honest, to be sure that you have what you want, we will need more elements to better understand the context and your needs.

Regards

Last edit: 9 years 3 weeks ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

9 years 3 weeks ago [\#281906](#281906) by [toomanylogins](/forum/user/52956-toomanylogins "View toomanylogins's Profile")  Replied by *[toomanylogins](/forum/user/52956-toomanylogins "View toomanylogins's Profile")* on topic *[Pre Populate Cart](/forum/27-checkout/892640-pre-populate-cart#281906 "-- HikaShop version -- : 3.2.1  We would like to pre-populate the checkout page with our customer data for guest checkout or we could create joomla account but still need to pre-populate the form. Is this possible as we have already captured the data ? Thanks Paul")*

Hello Philip, sorry you seem to have misunderstood. We have already captured the customer name and address and product information in our system therefore I would like to pass a URL to Joomla! to automatically populate the shopping cart page and allow the customer to check out this is possible?

To clarify this means the customer will not have to re-enter their data. Our platform has access to the Joomla! mysql database therefore I could create a record in your tables if needed.
Regards
Paul

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MjY0MC1wcmUtcG9wdWxhdGUtY2FydD90bXBsPW1hcmtkb3du) 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: 14326
-
-

9 years 3 weeks ago [\#281909](#281909) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Pre Populate Cart](/forum/27-checkout/892640-pre-populate-cart#281909 "-- HikaShop version -- : 3.2.1  We would like to pre-populate the checkout page with our customer data for guest checkout or we could create joomla account but still need to pre-populate the form. Is this possible as we have already captured the data ? Thanks Paul")*

Hi,

You can add the username like that: Code:

$_SESSION['hikashop_main_user_data']['username'] = $username;

And for the address information, you can use: Code:

$_SESSION['address_on_registration']['address_city'] = $city;

The registration form in the HikaShop checkout will be prepopulated with that data when the user then access the checkout.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MjY0MC1wcmUtcG9wdWxhdGUtY2FydD90bXBsPW1hcmtkb3du) 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.051 seconds

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