Tuesday, March 26, 2019 9:16:15 PM

nop-templates theme Uptown?

one year ago
#5399 Quote
Product Referral Rewards

Hello i installed the trial version of this product but it seems to have an issue with nop-templates. When i go to account -> my product referrals page i get the following error

The following sections have been defined but have not been rendered for the layout page "~/Themes/Uptown/Views/Shared/_ColumnsTwo.cshtml": "left".
one year ago
#5400 Quote
Open the file _ColumnsTwo.cshtml in the theme folder.
And add the next code.

1. After this code
    var isHelpDeskPage = currentController.Equals("helpdesk", StringComparison.InvariantCultureIgnoreCase);

add this code
    var isProductRewardsPage = currentController.Equals("productrewards", StringComparison.InvariantCultureIgnoreCase);


2. Change this code
old code
    isCustomerAccountPage = isCustomerAccountPage || isOrderListPage || isReturnRequest || isBackInStockSubscriptions || isRewardPoints || isForumSubscriptions || isMyProductReviews || isVendorInfo || isHelpDeskPage;


new code
    isCustomerAccountPage = isCustomerAccountPage || isOrderListPage || isReturnRequest || isBackInStockSubscriptions || isRewardPoints || isForumSubscriptions || isMyProductReviews || isVendorInfo || isHelpDeskPage || isProductRewardsPage;