VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: kiasati on July 03, 2016, 06:35:30 AM

Title: how can i add a third block of information beside shortdescreption and desc?
Post by: kiasati on July 03, 2016, 06:35:30 AM
(https://i.imgsafe.org/89427ddb28.png)

this is my template's product details page. see where the shortdescreption and the descreption is.
in the bottom there is two tabs, one for desc and one for reviews.

the question is how can i add a third tab for more information about the product?
as u know in the backend there is only two text areas, one for inputting sdesc and one for desc.

(https://i.imgsafe.org/894287f465.png)

another question is is it possible to add another text area in the back for inputting the content of the third tab?

Title: Re: how can i add a third block of information beside shortdescreption and desc?
Post by: Studio 42 on July 03, 2016, 12:19:04 PM
Most time, you can add a customfield and use in setting the position "onbottom", but this depend your template.
If this is a commercial template, you can check with the template support.
Title: Re: how can i add a third block of information beside shortdescreption and desc?
Post by: jenkinhill on July 03, 2016, 17:29:59 PM
See http://forum.virtuemart.net/index.php?topic=133140
http://forum.virtuemart.net/index.php?topic=111149
http://forum.virtuemart.net/index.php?topic=105563
Title: Re: how can i add a third block of information beside shortdescreption and desc?
Post by: kiasati on July 09, 2016, 08:22:07 AM
I added the tab in the front-end successfully.
but where should i put the information for the tab for each product?
i guess a text area in the back-end of Virtuemart should be added, like "product s_desc" and "desc"
how should i do this?
Title: Re: how can i add a third block of information beside shortdescreption and desc?
Post by: Studio 42 on July 09, 2016, 11:36:10 AM
Add a new product custom field and set type to "textarea"
After when you edit your product,in the last tab,  you can add your new customfield created before in each product and you can fiil it.
You don't need to modify manually your code.