Hi,
Is it possible to have a custom message displayed on the cart page above the terms and conditions checkbox?
Thanks,
Andy
@if (Model.IsEditable)
{
if (Model.TermsOfServiceOnShoppingCartPage)
{
<div>Enter your text here</div>
<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"/>
<span>
@T("Checkout.TermsOfService.IAccept")
<a class="read" id="read-terms">
@T("Checkout.TermsOfService.Read")
</a>
</span>
<script>
$(document).ready(function() {
$('#read-terms').on('click', function(e) {
e.preventDefault();
displayPopupContentFromUrl('@Url.RouteUrl("TopicPopup", new {SystemName = "conditionsofuse"})', '@T("Checkout.TermsOfService")');
});
});
</script>
</div>
}