Product specification sheet

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
If I see a product, in the bottom of the page there are many sheet but the default sheet is Product Review.
How can I set as default the sheet Product Specification?
13 years ago
andreacaffy wrote:
If I see a product, in the bottom of the page there are many sheet but the default sheet is Product Review.
How can I set as default the sheet Product Specification?


Go to nopCommerceStore > Templates > Products > VariantInGrid.ascx.cs

find

          
 //little hack here
            if (pnlProductTags.Visible)
                ProductsTabs.ActiveTab = pnlProductTags;
            if (pnlProductSpecs.Visible)
                ProductsTabs.ActiveTab = pnlProductSpecs;
            if (pnlProductReviews.Visible)
                ProductsTabs.ActiveTab = pnlProductReviews;


and swap the order like this

          
 if (pnlProductTags.Visible)
                ProductsTabs.ActiveTab = pnlProductTags;

            if (pnlProductReviews.Visible)
                ProductsTabs.ActiveTab = pnlProductReviews;

             if (pnlProductSpecs.Visible)
                ProductsTabs.ActiveTab = pnlProductSpecs;




You'll need to recompile your project after doing this change
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.