November Happy Hour will be moved to Thursday December 5th.

Cart is created on session start but only on other domain than default

Vote:
 

Hi!

When a user enter our site on the .se domain no cart is created by default and I guess that is the behaviour you want.
If our user enter the site on our .no domain an empty cart will be created which leaves us with alot of empty carts.

Any idea what could cause this behavior? .no and .se runs in the same IIS application. The site is based on Quicksilver and runs in verion 10.5

Thanks!

/Kristoffer

#182514
Sep 21, 2017 22:53
Vote:
 

Hi,

One way to figure out which code created the cart, is to remove ecf_OrderGroup_InsertForShoppingCart store procedure (temporarily). Then visit your .no site, the code which is trying to create the cart should fail and you can see it from the stacktrace.

Just to remind: DON'T do this in your production site. You surely won't do it, but I'm obliged to say. And enabled back ecf_OrderGroup_InsertForShoppingCart after that.

/Q

#182542
Sep 22, 2017 10:59
Vote:
 

Now that was a great trick, found the code that caused the problem, thanks Quan.

/Kristoffer

#182544
Sep 22, 2017 12:06
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.