Can someone provide me a pointer how to create and display a custom product page in Quick silver app. Please refer any article if available.
Take a look at https://github.com/episerver/Quicksilver/blob/master/Sources/EPiServer.Reference.Commerce.Site/Features/Product/Controllers/ProductController.cs
You need to create controller and view for your new product type.
Something like this:
public class MyProductController : ContentController<MyProduct>
public ActionResult Index(MyProduct currentContent)
// return view
Thanks for the pointer.
Can I do it without code as well. Like as an end user, if I have to create a separate category similar to Fashion in quick silver app, what should I do. I want to add a book category and inside it, I want to add few books as Product. Once added I want to see my books with details(metafields) on web page in View mode. I didn't get any article on this.
To achieve the above, I have created Book Metaclass and attached few book related attribute as Metafield to this meta class. Then I went to Commerce Manger and under book catalog, I have added 2 book title as Product. On same page, in another tab "SEO", it display me SEO url as "Product name+ + "-en.aspx".
Does this means, after publishing this catalog, if I navigate to "http://localhost:50244/en/books/ProductName-en.aspx, it will display my product item automatically? OR do I need to create this page explicitly using code which yu refer above.
Maybe you can solve this with a base class and foreach loop that shows all metadata fields, but I would go for a code-first approach.