- Posts: 7
- Thank you received: 0
Pre Populate Cart
- toomanylogins
-
Topic Author
- Offline
Less
More
8 years 11 months ago #281864
by toomanylogins
Pre Populate Cart was created by toomanylogins
-- 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
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 or Create an account to join the conversation.
8 years 11 months ago - 8 years 11 months ago #281872
by Philip
Replied by Philip on topic Pre Populate Cart
Hello,
First by editing your checkout view via the HikaShop override allow you to custom and add lots of different elements, see this tutorial .
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
First by editing your checkout view via the HikaShop override allow you to custom and add lots of different elements, see this tutorial .
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: 8 years 11 months ago by Philip.
Please Log in or Create an account to join the conversation.
- toomanylogins
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
8 years 11 months ago #281906
by toomanylogins
Replied by toomanylogins on topic Pre Populate Cart
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
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 or Create an account to join the conversation.
8 years 11 months ago #281909
by nicolas
Replied by nicolas on topic Pre Populate Cart
Hi,
You can add the username like that:
And for the address information, you can use:
The registration form in the HikaShop checkout will be prepopulated with that data when the user then access the checkout.
You can add the username like that:
Code:
$_SESSION['hikashop_main_user_data']['username'] = $username;
Code:
$_SESSION['address_on_registration']['address_city'] = $city;
Please Log in or Create an account to join the conversation.
Time to create page: 0.252 seconds