VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: sumanguj on March 25, 2014, 12:36:43 PM

Title: How to: Add a "Size Chart" in modal
Post by: sumanguj on March 25, 2014, 12:36:43 PM
Apart from hard-coded example, is there any other way where i could have a size chart displayed as a modal in the product page?

Any tip would be great. I'm using the latest version of virtuemart and joomla 2.5

See screenshot: How to choose my size?

[attachment cleanup by admin]
Title: Re: How to: Add a "Size Chart" in modal
Post by: K&K media production on March 25, 2014, 15:23:42 PM
Add the class="modal" to your link
Title: Re: How to: Add a "Size Chart" in modal
Post by: sumanguj on March 26, 2014, 07:11:29 AM
which link? and where?!

i hope you mean the product page
Title: Re: How to: Add a "Size Chart" in modal
Post by: StefanSTS on March 27, 2014, 17:58:48 PM
How to choose my size? is underlined. Looks like a link. If you click there, another window appears, right?

Since you ask, if there is another way than hard coded: What exactly do you mean by hard coded?

You have to make an Override to the productdetails, no other way crosses my mind just now.

Override productdetails Virtuemart will give your search engine good food. It is not as bad as you might think.
So try to read about the Override, find out, if you have one already and then you can post the content of your default.php and we can add what you need.

So long
Stefan