Ability for non-Admins to download product catalog

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
Also looking to allow non-admins to download a single product page from the catalog from the product page.

I'm a developer, but not that familiar with nopCommerce so willing to pay a developer for this work, or pay a developer to point me in the right direction for this project.

Thanks!
10 years ago
In Admin, DownloadCatalogAsPdf() is called in \Presentation\Nop.Web\Administration\Controllers\ProductController.cs

It prints all products.  You would copy it and modify to create an IPagedList<Product> with just the one product
var product = _productService.GetProductById(...);
Then, wire it up in the regular store - i.e. change Catalog Controller and View
\Presentation\Nop.Web\Controllers\CatalogController.cs
10 years ago
Thanks!  That helps a lot.  

I found the pdf function in the Admin section, but wasn't really sure how to get it into the catalog section.   This points me in the right direction.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.