pepper wrote:-> Ok if you say it is possible in 2.0 then plz tell me.
- >I want to create a new template for a particular product. How I can create that in 2.0 and where I can assign that new template to that particular product in administration ?
I didn't say that it's possible in 2.00. It's NOT possible without some customization. Here is a simplified list of steps:
1. Add 'TemplateId' property to 'Product' entity
2. Add new 'ProductTemplate' entity
3. Update 'Add/Edit product' details page in admin area in order to allow store owner to choose 'Product template'
4. Render a view (template) depending on the selected template - CatalogController.Product method.
pepper wrote:Same question with the category product display " product in line1". How to set products to be in " product in line1" ONLY.
1. Go to admin area > configuration > settings > all settings
2. Find 'CatalogSettings.AllowProductViewModeChanging' setting ans set its value to 'false'
3. Open \src\Presentation\Nop.Web\Controllers\CatalogController.cs file
4. Find Category(int categoryId, CatalogPagingFilteringModel command) method
5. Replace
model.PagingFilteringContext.ViewMode = command.ViewMode;
the following code
model.PagingFilteringContext.ViewMode = "list";