Close

Terms of Service link in shopping cart not working

msomarr
9 years ago
#9746 Quote
Avatar
  • 1
The terms of service link in the shopping cart is not pointing to the Terms of Service topic URL. It is instead pointing to the most recently viewed products. How would I change this?
Peter.Zhekov
9 years ago
#9756 Quote
Avatar
  • Moderator
  • 104
Please check you 'OrderSummary.cshtml' view (you can find it here '~Presentation\Nop.Web\Themes\Motion\Views\ShoppingCart\OrderSummary.cshtml') for following code:





<div id="terms-of-service-warning-box" title="@T("Checkout.TermsOfService")" style="display:none;">
                                <p>@T("Checkout.TermsOfService.PleaseAccept")</p>
                            </div>
                            <div class="terms-of-service">
                                <input id="termsofservice" type="checkbox" name="termsofservice" />
                                <label for="termsofservice">@T("Checkout.TermsOfService.IAccept")</label>
                                <span class="read" onclick="javascript:OpenWindow('@Url.RouteUrl("TopicPopup", new { SystemName = "conditionsofUse" })', 450, 500, true)">@T("Checkout.TermsOfService.Read")</span>
                            </div>

If this code looks the same in your document, everything is fine. If there are some difference please write back what your view contain.  Also there are settings in the Administration which you can check:

'Content Management/Topics'. Once you have opened it look for 'ConditionsOfUse'. Inside it check the system name and the URL.
Regards,
Peter Zhekov
Nop-Templates.com