Close

Profile: janelle.autry

Avatar

User posts

9 years ago

iliyan.tanev wrote:
Hi,

You can show the product specifications and attributes on the invoice page, but you will have to modify the PdfService for this.

If you go to Libraries\Nop.Services\Common, open the PdfService.cs file and find the PrintOrdersToPdf, you will see orders collection that is passed to the method. In the method there is a foreach loop that goes through each order and generates the table you are seeing in the pdf file.


Thanks for your response but when I try to follow the path above I have no luck.  In my root folder, I do not have Nop.Service.  I even searched for the file name PdfService.cs and could not locate it...

9 years ago

Hi!  I was wondering if the code can be adjusted to include the specification attributes that are attached to a product so it will show on the Order Detail/Invoice?  Also, how do I change the Adobe PDF logo on the top right hand corner to our company logo?

Thanks!

9 years ago

Wonderful!  Thank you for the correction!  It works great know!

Nav Bar
9 years ago

Hi team,

Can you tell me which is the best way to put the 'desktop-cart' and the 'search-box' in the 'header-links-wrapper'?

9 years ago











Hi!  I placed the code and it is still showing a price of $0.00.  I have attached the code to see if I misplaced it.

        <div class="add-info">
      var currentCategoryId = Url.RequestContext.RouteData.Values["categoryId"];

  if (currentCategoryId != null && Convert.ToInt32(currentCategoryId.ToString()) != varietals)
       {  
     <div class="prices">
                @if (!String.IsNullOrEmpty(Model.ProductPrice.OldPrice))
                {
                    <span class="price old-price">@Model.ProductPrice.OldPrice</span>
                }
                <span class="price actual-price">@Model.ProductPrice.Price</span>
                @if (Model.ProductPrice.DisplayTaxShippingInfo)
                {
                    var inclTax = EngineContext.Current.Resolve<IWorkContext>().TaxDisplayType == TaxDisplayType.IncludingTax;
                    //tax info is already included in the price (incl/excl tax). that's why we display only shipping info here
                    //of course, you can modify appropriate locales to include VAT info there
                    <div class="tax-shipping-info">
                        @T(inclTax ? "Products.Price.TaxShipping.InclTax" : "Products.Price.TaxShipping.ExclTax", Url.RouteUrl("Topic", new { SeName = Html.GetTopicSeName("shippinginfo") }))
                    </div>
                    }
            </div>
  }

9 years ago

How do you remove the Manufactures from the sidebar on the product page?

9 years ago

Is there a way to use post a product using the Category template without having a price associated with it? Right now, I have the "Price" empty and the template pulls through $0.00.  I want to use one category page in my store has just an informational page.