Save Cart

  • Posts: 96
  • Thank you received: 4
  • Hikashop Business
13 years 9 months ago #6730

Hi Nicolas,

Is it possible for a customer to save his cart contents to come back to at a later time - maybe several days later? Also can cart contents be auto stored in a cookie or tmp file or something for a period in case someone is accidentally logged out while shopping - this happened to a customer today and on logging back in the cart was empty so losing a couple of hours browsing and selecting.

Regards

Chris

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6758

Hi,

Normally, when the user is logged in his cart is saved in the database. When he comes back on the website, his latest cart is loaded. So indeed, your users should had his last cart loaded when he logged in again, if he didn't add something into his cart while being logged out in the mean time (because that cart would supercedes his last cart).

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

  • Posts: 96
  • Thank you received: 4
  • Hikashop Business
13 years 9 months ago #6776

Is there any way to force a log in before shopping? To ensure cart details are databased.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6794

It depends how you made your store but you can restrict menus and modules to only registered users in joomla. That way, you could hide the shop from your non logged in users.

For example, if you have a "shop" menu that your users use actually to access your store:
set that menu to only registered users.
cerate a new shop menu and set it to display only to guest users and make it of type joomla article and link it to a joomla article which will explain to the user that he needs first to login/create an account before he can access the shop.

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

  • Posts: 96
  • Thank you received: 4
  • Hikashop Business
13 years 9 months ago #6795

I would not want to hide the shop - what about a pop up if someone starts populating the cart without having logged in to suggest they should login to ensure their shopping session is recorded?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6799

Then you could use the option "stay and display a notice popup" for the option "When a product is added to the cart" in the config under the tab display. You can edit the message displayed in that popup in the config under the tab languages by overriding the translation of the message of the notice popup:
www.hikashop.com/download/languages.html#modify

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

  • Posts: 96
  • Thank you received: 4
  • Hikashop Business
13 years 9 months ago #6801

Thanks Nicolas - will give that a try

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

  • Posts: 96
  • Thank you received: 4
  • Hikashop Business
13 years 9 months ago #6808

Okay that worked and I have a suitable message displayed to suggest users should log in to ensure their cart is remembered in event their session is interrupted. Is there a way to make the appearance of the pop up conditional, so that it is only seen the first time someone puts an item in the cart, and does not appear after that?
Thanks for any help with this.
Regards
Chris

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6809

There is no such option directly in hikashop. However, hikashop allows you to override the popup functionality in your template. If you know well PHP, you could look at the file administrator/components/com_hikashop/helpers/cart.php where the add to cart is handled... You can create a file hikashop_button.php in your template's html folder and then define override functions in order to customize the behaviour of the popup notice.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum