HotcakesCommerce / hotcakes-commerce-core

The core of the e-commerce part of the overall solution. This is an ecommerce shopping cart solution built on top of the DNN (DotNetNuke) CMS. Anyone can do commerce online now!
https://mmmcommerce.com
MIT License
70 stars 55 forks source link

CI: Add Vendor/Manufacturer to ProductPageViewModel class #311

Closed WillStrohl closed 4 years ago

WillStrohl commented 4 years ago

Is your feature request related to a problem?

When working with the product details, it's somewhat common in certain use cases to want to display the vendor and/or manufacturer on the product details view. Unfortunately, this is not very easy to do at the moment because the ProductPageViewModel class doesn't include these two properties.

Describe the solution you'd like

Add a new property each for Vendor and Manufacturer so that @Model.Item.Manufacturer and @Model.Item.Vendor may be possible by designers.

Describe alternatives you've considered

Right now, a developer is required to add more code (and additional data call) to their custom viewset to make this possible.

Additional context

Discussed in this forum thread in the community:
https://mmmcommerce.com/Forums/g/Posts/m/1499/How-to-display-manufacturer-on-product-detail

WillStrohl commented 4 years ago

FYI - This will require an update to the documentation in order to be considered complete.