Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - StyleMart (SKU# FLEX-00018)

TOPIC: add dinamycally content and another tab prod page

add dinamycally content and another tab prod page 5 years 10 months ago #13643

Hello need the following:

- add another tab on product page

- on load assign content to each tab ( could take div from product description )

Live sample;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stylemodadev.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=171&virtuemart_category_id=368&Itemid=1080

THank you
The administrator has disabled public write access.

add dinamycally content and another tab prod page 5 years 10 months ago #13654

Hi,

You can add up to 2 tabs on product details page. "Custom TAB 1" and "Custom TAB 2", but the contents of them will always the same in all product pages. You can change the contents of those Custom TABS via "Flexible VM2 Template" plugin.

Adding individual tab for each product, is not supported by StyleMart. There are ways to do it; which require hard codings. Since this is 100% custom modifications (because you want to change how the things work/look), unfortunately we don't provide free support or step-by-step instructions for custom coding modifications.

Regards.
The administrator has disabled public write access.

add dinamycally content and another tab prod page 5 years 10 months ago #13660

Hello due jqeury is on use, I would like just to add a part of description

Just if possible to know onload which is the div supposed doing that to do f.e.

$("CustomTab2").html(HtmlToAdd);

Thank you
The administrator has disabled public write access.

add dinamycally content and another tab prod page 5 years 9 months ago #13762

Using JavaScript to add dynamic TABs (different content for different products) is really really bad idea. PHP must be used for this. If you manage to submit unique content for each product differently, then why not to print right away with PHP? It is easier, faster and stable.

Using PHP to print unique content (different content for different products) in the custom TABs; requires custom modifications on the product details's PHP file.

This is considered as 100% custom modification (because you want to change how the things work/look) and unfortunately we don't provide free support or step-by-step instructions for custom coding modifications.

You may purchase premium support:
www.flexiblewebdesign.com/premium-support

and let us take care this modification for you directly on your website though.

Regards.
Support
The administrator has disabled public write access.
Time to create page: 0.066 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo