3.3 Themes compatibility with Nop 3.4

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Hello Peeps, I have a 3.3 supported theme for my website running also on nopcommerce 3.3 version. Will my theme break if I upgrade the website to the latest 3.4 version?
Thanks
Jason
9 years ago
Hello,

There are some things you must do to upgrade your theme from 3.3 to 3.4.

1. You must update all web.config files.

2. You must update the references(e.g. Autofac, EntityFramework, etc.)

3. Create a folder Views/Product and move these views from Views/Catalog to it:
- _AddToCart.cshtml
- _ProductAddToWishlistButton.cshtml
- _ProductDetailsPictures.cshtml
- _ProductPrice.cshtml
- CompareProducts.cshtml
- CrossSellProducts.cshtml
- HomepageBestSellers.cshtml
- HomepageProducts.cshtml
- ProductsAlsoPurchased.cshtml
- ProductTemplate.Grouped.cshtml
- ProductTemplate.Simple.cshtml
- ProductTierPrices.cshtml
- RecentlyAddedProducts.cshtml
- RecentlyViewedProducts.cshtml
- RelatedProducts.cshtml

4. All widgets now pass the Model.Id as a parameter

5. _ProductBox.cshtml moved to Views/Shared folder

6. Product selectors on Search page

7. Search tooltip

8. In product page most of the actions are changed to partial views with different names (starting with underscore)
_ProductBreadcrumb
_CompareProductsButton
_ProductEmailAFriendButton
_ProductManufacturers
_ProductReviewOverview
_ShareButton
_ProductTierPrices
_ProductSpecifications
_ProductTags
_ShareButton


I think this is all you should change, but I suggest you to give this job to someone familiar with Razor.

Regards !
9 years ago
Thanks for the instructions! I end up downloading a new version of the template I used that supports 3.4. I just saw that they released a new one

Regards
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.