Shopping cart


https://forum.kartris.com/Topic3354.aspx
Print Topic | Close Window

By christylopez111 - Thu 18 Sep 2014
URGENT!!
How to clear shopping cart when a user log out?
Thanks in advance
By Tiggywiggler - Thu 18 Sep 2014
You can use the method BasketBLL.DeleteBasket when the user logs out.

You can put this inside LoginStatus.ascx within the KartrisLoginStatus_LoggingOut event.


Protected Sub KartrisLoginStatus_LoggingOut(sender As Object, e As LoginCancelEventArgs) Handles KartrisLoginStatus.LoggingOut
Dim bskt As New BasketBLL
bskt.DeleteBasket()
End Sub
By christylopez111 - Fri 19 Sep 2014
Thank You very much it worked thanks a lot..
i have one more query how to insert one picture at the place of sample store???in home page?im new to this that's why im asking this kind of silly questions..
Thanks..
By Mart - Fri 19 Sep 2014
If you look at our demo store here...

http://demo.kartris.com/

and right click on the image you can see its here...

http://demo.kartris.com/Skins/Kartris/Images/logo.png

Just do the same on your store, that is the image you need to change.
By christylopez111 - Fri 19 Sep 2014
ya thank you worked fine...
need to clear browser cookie and history to display picture correctly