C# Class Nop.Web.Controllers.ProductController

Mostra file Open project: grandnode/grandnode

Public Methods

Method Description
ClearCompareList ( ) : System.Web.Mvc.ActionResult
NewProductsRss ( ) : System.Web.Mvc.ActionResult
ProductController ( ICategoryService categoryService, IManufacturerService manufacturerService, IProductService productService, IVendorService vendorService, IProductTemplateService productTemplateService, IProductAttributeService productAttributeService, IWorkContext workContext, IStoreContext storeContext, ITaxService taxService, ICurrencyService currencyService, IPictureService pictureService, ILocalizationService localizationService, IMeasureService measureService, IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter, IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService, IDateTimeHelper dateTimeHelper, IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService, IWorkflowMessageService workflowMessageService, IProductTagService productTagService, IOrderReportService orderReportService, IAclService aclService, IStoreMappingService storeMappingService, IPermissionService permissionService, ICustomerActivityService customerActivityService, IProductAttributeParser productAttributeParser, IShippingService shippingService, IEventPublisher eventPublisher, IDownloadService downloadService, MediaSettings mediaSettings, Nop.Core.Domain.Catalog.CatalogSettings catalogSettings, VendorSettings vendorSettings, ShoppingCartSettings shoppingCartSettings, LocalizationSettings localizationSettings, CustomerSettings customerSettings, CaptchaSettings captchaSettings, SeoSettings seoSettings, ICacheManager cacheManager ) : System
RemoveProductFromCompareList ( int productId ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AddProductToCompareList ( int productId ) : System.Web.Mvc.ActionResult
CompareProducts ( ) : System.Web.Mvc.ActionResult
CrossSellProducts ( int productThumbPictureSize ) : System.Web.Mvc.ActionResult
HomepageBestSellers ( int productThumbPictureSize ) : System.Web.Mvc.ActionResult
HomepageProducts ( int productThumbPictureSize ) : System.Web.Mvc.ActionResult
NewProducts ( ) : System.Web.Mvc.ActionResult
PrepareProductDetailsPageModel ( Product product, ShoppingCartItem updatecartitem = null, bool isAssociatedProduct = false ) : Nop.Web.Models.Catalog.ProductDetailsModel
PrepareProductOverviewModels ( IEnumerable products, bool preparePriceModel = true, bool preparePictureModel = true, int productThumbPictureSize = null, bool prepareSpecificationAttributes = false, bool forceRedirectionAfterAddingToCart = false ) : IEnumerable
PrepareProductReviewsModel ( Nop.Web.Models.Catalog.ProductReviewsModel model, Product product ) : void
ProductDetails ( int productId, int updatecartitemid ) : System.Web.Mvc.ActionResult
ProductEmailAFriend ( int productId ) : System.Web.Mvc.ActionResult
ProductEmailAFriendSend ( Nop.Web.Models.Catalog.ProductEmailAFriendModel model, bool captchaValid ) : System.Web.Mvc.ActionResult
ProductReviews ( int productId ) : System.Web.Mvc.ActionResult
ProductReviewsAdd ( int productId, Nop.Web.Models.Catalog.ProductReviewsModel model, bool captchaValid ) : System.Web.Mvc.ActionResult
ProductsAlsoPurchased ( int productId, int productThumbPictureSize ) : System.Web.Mvc.ActionResult
RecentlyViewedProducts ( ) : System.Web.Mvc.ActionResult
RecentlyViewedProductsBlock ( int productThumbPictureSize, bool preparePriceModel ) : System.Web.Mvc.ActionResult
RecommendedProducts ( int productThumbPictureSize ) : System.Web.Mvc.ActionResult
RelatedProducts ( int productId, int productThumbPictureSize ) : System.Web.Mvc.ActionResult
SetProductReviewHelpfulness ( int productReviewId, int productId, bool washelpful ) : System.Web.Mvc.ActionResult

Method Details

ClearCompareList() public method

public ClearCompareList ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

NewProductsRss() public method

public NewProductsRss ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ProductController() public method

public ProductController ( ICategoryService categoryService, IManufacturerService manufacturerService, IProductService productService, IVendorService vendorService, IProductTemplateService productTemplateService, IProductAttributeService productAttributeService, IWorkContext workContext, IStoreContext storeContext, ITaxService taxService, ICurrencyService currencyService, IPictureService pictureService, ILocalizationService localizationService, IMeasureService measureService, IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter, IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService, IDateTimeHelper dateTimeHelper, IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService, IWorkflowMessageService workflowMessageService, IProductTagService productTagService, IOrderReportService orderReportService, IAclService aclService, IStoreMappingService storeMappingService, IPermissionService permissionService, ICustomerActivityService customerActivityService, IProductAttributeParser productAttributeParser, IShippingService shippingService, IEventPublisher eventPublisher, IDownloadService downloadService, MediaSettings mediaSettings, Nop.Core.Domain.Catalog.CatalogSettings catalogSettings, VendorSettings vendorSettings, ShoppingCartSettings shoppingCartSettings, LocalizationSettings localizationSettings, CustomerSettings customerSettings, CaptchaSettings captchaSettings, SeoSettings seoSettings, ICacheManager cacheManager ) : System
categoryService ICategoryService
manufacturerService IManufacturerService
productService IProductService
vendorService IVendorService
productTemplateService IProductTemplateService
productAttributeService IProductAttributeService
workContext IWorkContext
storeContext IStoreContext
taxService ITaxService
currencyService ICurrencyService
pictureService IPictureService
localizationService ILocalizationService
measureService IMeasureService
priceCalculationService IPriceCalculationService
priceFormatter IPriceFormatter
webHelper IWebHelper
specificationAttributeService ISpecificationAttributeService
dateTimeHelper IDateTimeHelper
recentlyViewedProductsService IRecentlyViewedProductsService
compareProductsService ICompareProductsService
workflowMessageService IWorkflowMessageService
productTagService IProductTagService
orderReportService IOrderReportService
aclService IAclService
storeMappingService IStoreMappingService
permissionService IPermissionService
customerActivityService ICustomerActivityService
productAttributeParser IProductAttributeParser
shippingService IShippingService
eventPublisher IEventPublisher
downloadService IDownloadService
mediaSettings MediaSettings
catalogSettings Nop.Core.Domain.Catalog.CatalogSettings
vendorSettings VendorSettings
shoppingCartSettings ShoppingCartSettings
localizationSettings LocalizationSettings
customerSettings CustomerSettings
captchaSettings CaptchaSettings
seoSettings SeoSettings
cacheManager ICacheManager
return System

RemoveProductFromCompareList() public method

public RemoveProductFromCompareList ( int productId ) : System.Web.Mvc.ActionResult
productId int
return System.Web.Mvc.ActionResult