HomeHome Product Discus... Product Discus...SmithCartSmithCartDisable tabs in product detail pageDisable tabs in product detail page
Previous
 
Next
New Post
7/2/2010 11:59 AM
 

I have looked through the manual and read through the forum on how to turn off tabs on the product detail page, but found nothing. I looked through most of the featured web sites and I like the look of no tabs, as most are. I only have a single descriptive element for each product and just wish it to be displayed cleanly next to the product rather than a big empty tabbed box with a few words in it. How can I turn off tabs and just get a simple textual output next to the product?

 
New Post
7/2/2010 3:39 PM
 

The tabbed interface on the product details page is a fairly new feature is why some of the featured sites dont have that but you should be able to make a small change to the productdetails.ascx page to accomplish what you want.

  1. On your server navigate to the \desktopmodules\smith.buynow folder
  2. Open up productdetails.ascx in your editor
  3. Go to line 183 and make these changes
    1. Set the visible property of the tab control (cc1:TabContainer) to false
    2. Move the lblDescription label field up so its outside of the tab control
    3. The code snippet with changes are highlighted in yellow below:

<tr align="left">
<td width="30px"></td>

<td runat="server" id="tdSpacer1" width="135px" visible="false"></td>

<td align="left" >
<asp:Label ID="lblDescription" runat="server" CssClass="SmithProdText" />
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" CssClass="google" Width="600px" Visible="false" >

<cc1:TabPanel ID="TabPanel1" runat="server" HeaderText="Tab 1">

<ContentTemplate>
<div class="myTabs">
<asp:Label ID="lblDescription" runat="server" CssClass="SmithProdText" />
</div>
</ContentTemplate>
</cc1:TabPanel>

<cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Tab 2" Visible="false" >
<ContentTemplate>
<div class="myTabs">
<asp:Label ID="lblDesc2" runat="server" CssClass="SmithProdText" />
</div>
</ContentTemplate>
</cc1:TabPanel>

<cc1:TabPanel ID="TabPanel3" runat="server" HeaderText="Tab 3" Visible="false" >
<ContentTemplate>
<div class="myTabs">
<asp:Label ID="lblDesc3" runat="server" CssClass="SmithProdText" />
</div>
</ContentTemplate>
</cc1:TabPanel>

<cc1:TabPanel ID="TabPanel4" runat="server" HeaderText="Tab 4" Visible="false" >
<ContentTemplate>
<div class="myTabs">
<asp:Label ID="lblDesc4" runat="server" CssClass="SmithProdText" />
</div>
</ContentTemplate>
</cc1:TabPanel>

<cc1:TabPanel ID="TabPanel5" runat="server" HeaderText="Tab 5" Visible="false" >
<ContentTemplate>
<div class="myTabs">
<asp:Label ID="lblDesc5" runat="server" CssClass="SmithProdText" />
</div>
</ContentTemplate>
</cc1:TabPanel>

</cc1:TabContainer>
<%-- </div> --%>

</td>
</tr>


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/6/2010 4:34 PM
 

Okay, thanks, that did the trick.

 
New Post
7/23/2011 9:21 AM
 

I too desire not to have the product description tab and the description area display. 

But, the productdetail.ascx does not seem to exist anymore on the trial version I just installed for evaluation.

Any help would be greatly appreciated.

Thanks.

 
New Post
7/23/2011 2:24 PM
 
The productdetails.ascx is located in your \desktopmodules\smith.productdetail folder

At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartDisable tabs in product detail pageDisable tabs in product detail page