how to add message templete token in nop

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 Jahre weitere
i created templet message for store owner in that I am unable to retrieve vendor details in templet

<div class="order_line" style="text-align:center">
        Order #: <b>%Order.OrderNumber%</b> placed.
      </div>
    </div>
    <div class="body">
      <div class="user_info_desc">
        <p>
          Hello there, <br/>
        </p>
        <p>
          Great, we've received an order #<b>%Order.OrderNumber%, %Order.CreatedOn%</b>.
        </p>
      </div>
      <div class="col order_grid">
        <h4>Order details:</h4>
        %Order.Product(s)%
      </div>
    
    <div class="col Vendor_box">
        
        <div class="mode_payment">
          <h4>VENDOR ADDRESS</h4>
          <p  style="text-align:left">
            <b>%Vendor.FirstName% %Vendor.LastName%</b><br>
            <b>Company: </b>%Vendor.Company%
            %Vendor.Address1%,<br>%Vendor.Address2%,<br>
            %Vendor.City%, %Vendor.StateProvince% - %Vendor.ZipPostalCode%, %Vendor.Country%. <br><br>
            <b>Contact No: </b> %Vendor.PhoneNumber%<br />
            <b>Email: </b>%Vendor.Email%
          </p>
        </div>
      </div>
      
      <div class="col delivery_box">
        <div class="delivery_add">

          <h4>BILLING ADDRESS</h4>
          <p style="text-align:left">

            <b>%Order.BillingFirstName% %Order.BillingLastName%</b><br>
            <b>Company: </b>%Order.BillingCompany%
            %Order.BillingAddress1%,<br>%Order.BillingAddress2%,<br>
            %Order.BillingCity%, %Order.BillingStateProvince% - %Order.BillingZipPostalCode%, %Order.BillingCountry%. <br><br>
            <b>Contact No: </b> %Order.BillingPhoneNumber%<br />
            <b>Email: </b>%Order.BillingEmail%
          </p>
        </div>
        <div class="mode_payment">
          <h4>DELIVERY ADDRESS</h4>
          <p  style="text-align:left">
            <b>%Order.ShippingFirstName% %Order.ShippingLastName%</b><br>
            <b>Company: </b>%Order.ShippingCompany%
            %Order.ShippingAddress1%,<br>%Order.ShippingAddress2%,<br>
            %Order.ShippingCity%, %Order.ShippingStateProvince% - %Order.ShippingZipPostalCode%, %Order.ShippingCountry%. <br><br>
            <b>Contact No: </b> %Order.ShippingPhoneNumber%<br />
            <b>Email: </b>%Order.ShippingEmail%
          </p>
        </div>
      </div>
    
        <div class="col track_ship_box">
        <a "%Order.PaymentMethod%">%Order.PaymentMethod%</a>
      </div>


help me out for this issue unable to add vendor details
6 Jahre weitere
Hi,

You need to add that all token into MessageTokenProvider class file.

And than use into your message template.

Thanks,
nopSquare
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.