ve2nw Posted February 19, 2017 Share Posted February 19, 2017 How do I make the delivery section which shows the shipping date and the track number visible to customers when they check their order history? Same for the comments section. I know they get an e-mail when I add a comment that customers can see but once that e-mail is gone / deleted by the customer they can no longer see it. If it is visible in the order history section it is there for life. Any help is greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted February 19, 2017 Share Posted February 19, 2017 Welcome to the forums, @ve2nw. What CubeCart version are you running and what skin are you using? Are they stock code or modified? I'm on 6.1.5 with modified Foundation skin, and I DO see shipping date, tracking number (edited to be an actual link), and notes from us TO the customer. I made this edit to content.receipt.php to get a tracking link using USPS: {elseif !empty($DELIVERY.tracking)} <div class="row"> <div class="small-6 medium-3 columns">{$LANG.catalogue.delivery_method}:</div> <div class="small-6 medium-9 columns">{$DELIVERY.method}{if !empty($DELIVERY.product)} ({$DELIVERY.product}){/if}</div> </div> <div class="row"> <div class="small-6 medium-3 columns">{$LANG.orders.shipping_tracking}:</div> {* MODIFIED TO ACTUALLY LINK TO TRACKING CODE ON USPS *} <div class="small-6 medium-9 columns"><a href="https://tools.usps.com/go/TrackConfirmAction?tLabels={$DELIVERY.tracking}" target="_blank">{$DELIVERY.tracking}</a></div> </div> {/if} Quote Link to comment Share on other sites More sharing options...
ve2nw Posted February 19, 2017 Author Share Posted February 19, 2017 Thank you. I am running 6.1.5 (latest version) and my skins are as follows; Default front end skin Kurouto Default admin skin default This is what my customers see; Your Order: #170216-212952-9715 - Order Complete Order History Customer Information Billing Address Cxxxxxx Cxxx xxxx xxxxx Pl # 000 xxxx Florida, 34683 United States Delivery Address Cxxxxx Cxxx xxxx xxxxx Pl # 000 xxxx Florida, 34683 United States Delivery Dispatch Date: Feb 17 2017 Track: All In One Shipping Order Summary Price Quantity Product $37.00 1 Atlas Air B 767-300 - GJGTI1223 ($37.00) $37.00 Subtotal $12.00 Shipping $0.00Total Tax $49.00 Quote Link to comment Share on other sites More sharing options...
bsmither Posted February 19, 2017 Share Posted February 19, 2017 I see nothing really wrong with the Delivery section. However, you may want to make the following edit which could give you slightly different results. In the Kurouto template content.receipt.php, near line 36: Find: {if isset($DELIVERY.url)} <p>{$LANG.basket.track}: <a href="{$DELIVERY.url}" target="_blank">{$DELIVERY.method}</a></p> {else} <p>{$DELIVERY.method} - {$LANG.orders.shipping_tracking}: {$DELIVERY.tracking} {/if} Change to: {if !empty($DELIVERY.url)} <p>{$LANG.orders.shipping_tracking}: <a href="{$DELIVERY.url}" target="_blank">{$DELIVERY.method}{if !empty($DELIVERY.product)} ({$DELIVERY.product}){/if}</a></p> {elseif !empty($DELIVERY.tracking)} <p>{$LANG.catalogue.delivery_method}: {$DELIVERY.method}{if !empty($DELIVERY.product)} ({$DELIVERY.product}){/if}</p> <p>{$LANG.orders.shipping_tracking}: {$DELIVERY.tracking}</p> {/if} The comments the customer made should appear just above Delivery, if there are any. If you are referring to notes you have made for the customer to read, then you can add the following: Find: {if !empty($SUM.customer_comments)} <h2>{$LANG.common.comments}</h2> <p>"{$SUM.customer_comments}"</p> {/if} Add AFTER: {if !empty($SUM.note_to_customer)} <h2>{$LANG.common.notes}</h2> <p>{$SUM.note_to_customer}</p> {/if} Quote Link to comment Share on other sites More sharing options...
ve2nw Posted February 20, 2017 Author Share Posted February 20, 2017 Thank you most honorable gentlemen My customers can now see and read the notes that I left them as well as the tracking numbers. Your support and cooperation is greatly appreciated. Best regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.