You have no items in your shopping cart.

Saturday, July 20, 2019 5:14:29 PM

nop-templates theme Uptown?

Avatar

Posted: 2 years ago

#5399 Quote

resit.akyuz2013

Posted: 2 years 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".
Avatar

Posted: 2 years ago

#5400 Quote

Support

Posted: 2 years 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;




Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved