When i add an item to my cart i use a link like:
/mydomain.com/default.aspx?id=x&productid=y&variantid=z&cartcmd=add
Using Fiddler2 i see the page moving in three steps
from: /mydomain.com/default.aspx?id=x&productid=y&variantid=z
to: /mydomain.com/default.aspx?id=x&productid=y&variantid=z&cartcmd=add
to: /mydomain.com/default.aspx?id=x&productid=y&variantid=z
(sorry, bold won't turn off in the thread editor)
When i return to my product page (step 3) i would like to show a javascript popup with the mention that the item has been added to the cart.
But there is, in my opinion, no way i can determin that an item has been added.
There is no indicator left in the querystring, no usable DwTemplateTag and document.referrer shows step 1
There must be a logical way to handel this problem, but i dont't see it though ...
Please respond if you have an answer for my problem.
Thanx!
Developer forum
How to determine if an item has been added to cart?
Replies
You must be logged in to post in the forum