Hi Franco,
That url is assigned in the CurrentCart.vb
in the fucntion "AddItemToCart"
Off the top of my head, Looking at the:
DotNetNuke.Services.Url.FriendlyUrl.FriendlyUrlProvider.Instance.FriendlyUrl
It seems you need the tabinfo class, so that would need picking up from possibly the "store.tab" setting in the back office, then you'd need to make sure the correct params are add so the product detail is displayed.
If you can do the changes and testing I can see about including your patch in the next release
Dave.
That url is assigned in the CurrentCart.vb
in the fucntion "AddItemToCart"
'build product url
If Not Request Is Nothing Then
objCIInfo.ProductURL = Request.Url.OriginalString
End If
As you can see it's taking the originalstring before the rewriter. I can't remmebr exactly why, but I think I had some issue with picking up the friendly url version. I seem to recall it was causing some error in the email. Of course this was back in the days of DNN4, so it might be OK to change that now.Off the top of my head, Looking at the:
DotNetNuke.Services.Url.FriendlyUrl.FriendlyUrlProvider.Instance.FriendlyUrl
It seems you need the tabinfo class, so that would need picking up from possibly the "store.tab" setting in the back office, then you'd need to make sure the correct params are add so the product detail is displayed.
If you can do the changes and testing I can see about including your patch in the next release
Dave.