Developer forum

Forum » Feature requests » Giving steps in the shoppingcart process their own url

Giving steps in the shoppingcart process their own url

Rob Lohmann
Reply
Hi,

It would be very nice if we could give shoppingcart steps their own url. Maybe something like www.domain.com/shoppingcart/step1 etc. This gives us the possibility to measure data more accurate in Google Analytics.

More information can be found in another topic on the developer forum here

Kind regards,
Rob

Replies

 
Nicolai Høeg Pedersen
Reply
You can create a URL Provider:
(en-US) Module URLs and URL providers.pdf from http://developer.dynamicweb-cms.com/downloads/documentation.aspx

 
Rob Lohmann
Reply
Hi Nicolai,

How can I match the step provided in the url, with the correct step of the shoppingcart in the checkoutprocess? Isn't an url provider only for creating seo-friendly urls from an 'dirty' url?

Kind regards,
Rob
 
Nicolai Høeg Pedersen
Reply
Hi Rob.

You can add you own step parameter to each step in the cart.

Dw posts the step=1|2|3... etc to work. You can add to the url being posted a parameter that has no use - i.e. MyStep={stepnum} - and then create a URL provider that handles MyStep parameter.

It should work in theory - but it needs a test.

 
Rob Lohmann
Reply
Hi Nicolai,

Sounds good. Will test this and let you know.

Kind regards,
Rob