Friday, November 22, 2024 3:23:38 PM
_GUARANTEE.Guarantee.order = 'Checkout.OrderNumber';
_GUARANTEE.Guarantee.subtotal = 'Checkout.Total';
_GUARANTEE.Guarantee.email = 'Checkout.Email';
_GUARANTEE.WriteGuarantee('JavaScript', '_GUARANTEE_GuaranteeSpan');
===============================================
<!-- BEGIN: NSG_GUARANTEE -->
<span id='_GUARANTEE_GuaranteeSpan'></span>
<script type="text/javascript" src="//nsg.symantec.com/Web/Seal/gjs.aspx?SN=*********"></script>
<script type='text/javascript'>
if(window._GUARANTEE && _GUARANTEE.Loaded) {
_GUARANTEE.Hash = '**********************';
_GUARANTEE.Guarantee.order = 'Checkout.OrderNumber';
_GUARANTEE.Guarantee.subtotal = 'Checkout.Total';
_GUARANTEE.Guarantee.email = 'Checkout.Email';
_GUARANTEE.WriteGuarantee('JavaScript', '_GUARANTEE_GuaranteeSpan');
}
</script>
<!-- END: NSG_GUARANTEE -->
@model CheckoutCompletedModel
@using Nop.Web.Models.Checkout;
@using Nop.Core.Infrastructure;
@using Nop.Services.Orders;
@{
Layout = "~/Views/Shared/_ColumnsOne.cshtml";
//title
Html.AddTitleParts(T("PageTitle.Checkout").Text);
var checkoutEmail = "";
var checkoutTotal = decimal.Zero;
var order = EngineContext.Current.Resolve<IOrderService>().GetOrderById(Model.OrderId);
if (order!=null)
{
checkoutEmail = order.Customer.Email;
checkoutTotal = order.OrderTotal;
}
}
<!-- BEGIN: NSG_GUARANTEE -->
<span id='_GUARANTEE_GuaranteeSpan'></span>
<script type="text/javascript" src="//nsg.symantec.com/Web/Seal/gjs.aspx?SN=********"></script>
<script type='text/javascript'>
if(window._GUARANTEE && _GUARANTEE.Loaded) {
_GUARANTEE.Hash = '*******************************************';
_GUARANTEE.Guarantee.order = '@Model.OrderId';
_GUARANTEE.Guarantee.subtotal = '@checkoutTotal';
_GUARANTEE.Guarantee.email = '@checkoutEmail';
_GUARANTEE.WriteGuarantee('JavaScript', '_GUARANTEE_GuaranteeSpan');
}
</script>
<!-- END: NSG_GUARANTEE -->
<div class="page checkout-page order-completed-page">
<div class="page-title">
<h1>@T("Checkout.ThankYou")</h1>
</div>