Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Installed the uCommerce and uCommerce store packages in a client site.
Why do these code errors?
<xsl:variable name="currentCustomer" select="CommerceLibrary:GetCurrentCustomer()"/>
This is located in the AddProductReview xslt and some other places.
If there's no user doesn't it make sense to return '' to currentCustomer variable instead of erroing?
Thanks!
We need to use
<xsl:when test="umbraco.library:IsLoggedOn()">
and wrap the method GetCurrentCustomer inside this.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
uCommerce GetCurrentCustomer returns error when user is not logged in?
Installed the uCommerce and uCommerce store packages in a client site.
Why do these code errors?
<xsl:variable name="currentCustomer" select="CommerceLibrary:GetCurrentCustomer()"/>
This is located in the AddProductReview xslt and some other places.
If there's no user doesn't it make sense to return '' to currentCustomer variable instead of erroing?
Thanks!
We need to use
<xsl:when test="umbraco.library:IsLoggedOn()">
and wrap the method GetCurrentCustomer inside this.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.