shayt wrote:ok, that's might be good,
how can i insert the content from short description to my new custom tab ?
Hi Shay,
To add the content go to
Plugins/SevenSpikes.Nop.Plugins.NopQuickTabs/Views/ProductTab/_ProductTabs.cshtml.
Open the view and go to line
203. Under the comment add the following code:
<li><a href="#tab-CustomTab">@T("CustomTab")</a> </li>
After that go to line
216 and under the comment add the following code:
<div id="tab-CustomTab">
@Model.ProductModel.ShortDescription
</div>
Now you need to go to the Administration of your website
Configuration=>Languages, click
View string resources next to your language and click the
Add new record button.
The
Resource name property should be
CustomTab and the value is the name of your tab in your language. After that click on the
Insert button and you are ready.
Ivan Stoyanov