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 2 of 2

Thread: Need Shipping Address always shown on receipt

  1. #1
    jag64551 is offline Member
    Join Date
    Feb 2007
    Posts
    45

    Default Need Shipping Address always shown on receipt

    Hello, I have an issue where we have marked some products as "Does not require shipping", so when that product is purchased, there is no Shipping Address listed on the receipt. Basically my question is -

    Is there any way to make the Shipping Address always appear (to the right of the Billing Address) on the receipt? Right now it is conditional, based on what type of shipping is selected for the product (Shipping vs. No Shipping Required).

    It may not make sense why we need this, but we do.

    Thank you,

    Jamie

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    You should just be able to remove (or comment out as I've done here) the if statement (don't forget the closing </xsl:if>) from the notification.receipt.xml.config xmlpackage around the shipping information display logic. In 8.0.1.2 this is around line 817.
    Code:
    <!-- hide if we are in multi shipping -->
    <!--<xsl:if test="$weDontRequireShipping = false() and $isMultiShipping = false()">-->
    	<td >
    		<span id="lblBillTo">
    			<!--Ship To:-->
    			<xsl:value-of select="aspdnsf:StringResource('notification.betareceipt.xml.config.12')" disable-output-escaping="yes" />
    		</span>
    		<div>
    			<xsl:call-template name="DisplayAddress">
    				<xsl:with-param name="firstName" select="$OrderInfo/ShippingFirstName" />
    				<xsl:with-param name="lastName" select="$OrderInfo/ShippingLastName" />
    				<xsl:with-param name="company" select="$OrderInfo/ShippingCompany" />
    				<xsl:with-param name="address" select="$OrderInfo/ShippingAddress1" />
    				<xsl:with-param name="address2" select="$OrderInfo/ShippingAddress2" />
    				<xsl:with-param name="suite" select="$OrderInfo/ShippingSuite" />
    				<xsl:with-param name="city" select="$OrderInfo/ShippingCity" />
    				<xsl:with-param name="state" select="$OrderInfo/ShippingState" />
    				<xsl:with-param name="zip" select="$OrderInfo/ShippingZip" />
    				<xsl:with-param name="country" select="$OrderInfo/ShippingCountry" />
    				<xsl:with-param name="phone" select="$OrderInfo/ShippingPhone" />
    			</xsl:call-template>
    		</div>
    	</td>
    <!--</xsl:if>-->
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>