Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Anonymous checkout = no receipt on order confirmation page?

  1. #1
    StorageSolutions is offline Member
    Join Date
    Jun 2007
    Location
    Vero Beach, Florida
    Posts
    66

    Question Anonymous checkout = no receipt on order confirmation page?

    We have recently turned on anonymous checkout and just realized that anon. customers are not given the option to print a receipt on the order confirmation page. Is this by design? or a bug?

    Which ever it is, how do I add the link to view the receipt?

    Thanks,
    David
    ML 8.0.1.2

  2. #2
    Jao is offline Senior Member
    Join Date
    Oct 2008
    Posts
    1,132

    Default

    Yes, it's not a bug but intentionally written. See {root}/XMLPackages/page.orderconfirmation.xml.config.
    Code:
    					<xsl:if test="aspdnsf:AppConfigBool('ForceSignoutOnOrderCompletion') = 'false' and /root/System/CustomerIsRegistered='true'">
                            <br /><br /><br />
                            <xsl:value-of select="aspdnsf:StringResource('orderconfirmation.aspx.16',$LocaleSetting)" disable-output-escaping="yes"/>
                            <img src="images/spacer.gif" width="5" height="1"/>
                            <a target="_blank" href="{$ReceiptURL}">
                                <xsl:value-of select="aspdnsf:StringResource('orderconfirmation.aspx.17',$LocaleSetting)" disable-output-escaping="yes"/>
                            </a>
                        </xsl:if>
    The receipt should only be tied and viewed by a customer who has an account. Anonymous customer doesn't have an account. If you will remove the IF section, you'll see that the store will throw an exception...

  3. #3
    ssgumby is offline Senior Member
    Join Date
    Feb 2009
    Posts
    683

    Default

    Does this mean an anonymous user wont even get a receipt emailed to them?

  4. #4
    MarkC is offline Developer
    Join Date
    Aug 2006
    Posts
    166

    Default

    Yes, this is by design, only registered customers can view their receipt online available as link on the last part of the checkout process
    Anon customers will only be able to view the receipt via email. Provided you configured the MailMe* appconfigs accordingly.

  5. #5
    ssgumby is offline Senior Member
    Join Date
    Feb 2009
    Posts
    683

    Default

    Quote Originally Posted by ASPDNSF Staff - Mark View Post
    Yes, this is by design, only registered customers can view their receipt online available as link on the last part of the checkout process
    Anon customers will only be able to view the receipt via email. Provided you configured the MailMe* appconfigs accordingly.
    It doesnt appear to work that way. When an anonymous customer, with an email address, completed their order they are not getting an email. Our registered customers do get an email. If I look in the admin for anonymous orders I see this

    Code:
    Receipt E-Mail Sent On: 	Not Sent
    I can click "Send Receipt Email" but it seems this should happen automatically.