About NopQuickTabs for custom category page

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi everyone,

I have created a custom category template for some categories, the custom category page will show products(when select different product will show different product detail(partial view)), the product detail use the "NopQuickTabs" of nop-templates plugin,but it doesn't show the Quick Tabs? Is there any way to solve this?

Thanks in advance.


@{
                    var nopQuickTabsHtml = Html.Widget("productdetails_before_collateral", productModel.Id);
                }

                @if (!MvcHtmlString.IsNullOrEmpty(nopQuickTabsHtml))
                {
                    var productsCarouselHtml = Html.Widget("productpage_after_collateral", productModel.Id);
                    var carouselQuickTabsWrapperClass = "one-column-wrapper";
                    if (!MvcHtmlString.IsNullOrEmpty(productsCarouselHtml))
                    {
                        carouselQuickTabsWrapperClass = "two-column-wrapper";
                    }

                    <div class="@carouselQuickTabsWrapperClass">
                        @nopQuickTabsHtml @*nop quick tabs*@

                        @productsCarouselHtml @*products carousel for related or also purchased with 1 visible item*@
                    </div>
                }
7 years ago
Hi,

The Product Tabs work in the context of a product on the product page, so when you are on a category page you are not in the context of a given product and the Tabs will simply not work.

Hope this helps!
7 years ago
Nop-Templates.com wrote:
Hi,

The Product Tabs work in the context of a product on the product page, so when you are on a category page you are not in the context of a given product and the Tabs will simply not work.

Hope this helps!


thanks. I just want a page which include product list of one category,(the first time, page loads the default first product ) when click someone product, it will be showing the corresponding the nop-tabs.
is there any other ways to implement this?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.