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

#   Force registration to add to cart

##

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

Less More

- Posts: 104
- Thank you received: 2
-
-

3 years 10 months ago [\#348029](#348029) by [SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")  *[Force registration to add to cart](/forum/27-checkout/905654-force-registration-to-add-to-cart#348029 "-- HikaShop version -- : 4.7.0  Hi  We do online training so in our case we do not make use of guest checkout at all since a person must have a profile on our site for the courses to be linked against.  We notice quite a few abandon carts on the site, those who belong to a profile can be followed up but the ones labeled as &quot;No registration&quot; can't.  Since we are forcing registration on checkout anyway, I was wondering if it is not possible to force a user to create a profile when they click the &quot;Add to cart&quot; button so that the cart will be linked to a user name.")* was created by *[SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")*

-- HikaShop version -- : 4.7.0

Hi

We do online training so in our case we do not make use of guest checkout at all since a person must have a profile on our site for the courses to be linked against.

We notice quite a few abandon carts on the site, those who belong to a profile can be followed up but the ones labeled as "No registration" can't.

Since we are forcing registration on checkout anyway, I was wondering if it is not possible to force a user to create a profile when they click the "Add to cart" button so that the cart will be linked to a user name.

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

3 years 10 months ago [\#348033](#348033) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Force registration to add to cart](/forum/27-checkout/905654-force-registration-to-add-to-cart#348033 "-- HikaShop version -- : 4.7.0  Hi  We do online training so in our case we do not make use of guest checkout at all since a person must have a profile on our site for the courses to be linked against.  We notice quite a few abandon carts on the site, those who belong to a profile can be followed up but the ones labeled as &quot;No registration&quot; can't.  Since we are forcing registration on checkout anyway, I was wondering if it is not possible to force a user to create a profile when they click the &quot;Add to cart&quot; button so that the cart will be linked to a user name.")*

Hi,

There is no such mechanism but you could somehow achieve it with a bit of work. You could:
- configure the "access level" setting of the prices to "registered" in each product
- set the "display add to cart button for free products" to "No" in the HikaShop configuration
This would remove the price and add to cart buttons from the products when not logged in, and instead display a "Free" text. You could then use a translation override to change that text to look like an Add to cart button but actually, it would redirect to the login form. For example: Code:

FREE_PRICE="&lt;a href='XXX' class='hikabtn hikacart'&gt;Add to cart&lt;/a&gt;"

where XXX would be the URL of the registration form with the login module on the side.

However, I think it won't be much useful and will only lower your sales by making the process more convoluted for the users. The guest carts as probably either people who didn't buy and wouldn't have even if you were doing these changes, or crawler bots (from Google, Bing, etc) scanning your pages. So I don't think you'll gain anything changing this. Also, if you have too many old carts, I would recommend looking at the cart cleaning settings of the HikaShop configuration, under the advanced tab. Maybe you would need to reduce the check frequency so that the cart clean up can keep up with the new carts.

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

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

Less More

- Posts: 104
- Thank you received: 2
-
-

3 years 10 months ago [\#348153](#348153) by [SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")  Replied by *[SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")* on topic *[Force registration to add to cart](/forum/27-checkout/905654-force-registration-to-add-to-cart#348153 "-- HikaShop version -- : 4.7.0  Hi  We do online training so in our case we do not make use of guest checkout at all since a person must have a profile on our site for the courses to be linked against.  We notice quite a few abandon carts on the site, those who belong to a profile can be followed up but the ones labeled as &quot;No registration&quot; can't.  Since we are forcing registration on checkout anyway, I was wondering if it is not possible to force a user to create a profile when they click the &quot;Add to cart&quot; button so that the cart will be linked to a user name.")*

Hi Nicolas

What you are saying makes sense, I don't think it is going to be worth the effort to force registration this early.

Another though I had in line with this, is it possible to have a little popup message display when add to cart is clicked, but only to guests reminding them that we can't add the courses to their profile if they do not have an account.

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

3 years 10 months ago [\#348159](#348159) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Force registration to add to cart](/forum/27-checkout/905654-force-registration-to-add-to-cart#348159 "-- HikaShop version -- : 4.7.0  Hi  We do online training so in our case we do not make use of guest checkout at all since a person must have a profile on our site for the courses to be linked against.  We notice quite a few abandon carts on the site, those who belong to a profile can be followed up but the ones labeled as &quot;No registration&quot; can't.  Since we are forcing registration on checkout anyway, I was wondering if it is not possible to force a user to create a profile when they click the &quot;Add to cart&quot; button so that the cart will be linked to a user name.")*

Hi,

It would be possible with the development of a custom plugin or a view override to catch the click on the add to cart button for guest users and then use the notification box library to display the message. It's a 1 or 2 hours work for a developer I think.

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

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