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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...