When I go to /Product.aspx?ProductId=47#reviewsPane the review pane (tab) doesn't show up. We are on the bootstrap theme with tabbed product pages. Are we missing some javascript or do we have to write our own?
Thanks!
#reviewsPane not functioning
-
- Ensign (ENS)
- Posts: 2
- Joined: Wed Jul 22, 2015 1:00 pm
Re: #reviewsPane not functioning
No, you aren't missing anything. If you go to product page and then click 'Reviews' tab, it should work. But if you access this directly from url, it will not take you to the reviews tab. To make it work like this you have to put some jquery/javascript at Website/Conlib/ProductPage.ascx inside bsTabs panel something like:
Note that I haven't updated the styles for this to work with bootstrap.
Code: Select all
$('#tabs').tabs({
select: function (event, ui) {
window.location.hash = ui.tab.hash;
}
});