News:

Support the VirtueMart project and become a member

Main Menu

Can I add multiple descriptions to a product?

Started by rippergr, April 01, 2013, 12:28:45 PM

Previous topic - Next topic

rippergr

Hello
Is there any way that I can add multiple descriptions and show them only in a specific shopper group to a product just like I do with price in virtuemart 2?
I don't mind if this is a hack or a plugin .
Thanks in advance
Visit my webpage www.comworld.gr

bdimov

You can copy products and then every product has 2 copies for 2 shopper groups... if u need more you can copy again...

rippergr

thanks for your reply.
I thought that solution but I was hoping something more easy , becuase that way I must alter many products and it will confuse the client.
Visit my webpage www.comworld.gr

alatak

Hello
You can also create custom fields, or content plugins.

Content plugins migth the easiest way.
Like this, you can add all the infos in the description, and the content plugin decides  wether the specific content is displayed or not.

Both solution requires PHP skills.

rippergr

I didn't understand how can I do that. What do you mean with content plugins? Can you give me an example to understand?
Thanks
Visit my webpage www.comworld.gr

romatvirtue

Hi there. I would also like to find out how to implement the contect plugin.

Thank you in advance.

jenkinhill

Content plugins are Joomla plugins See the docs for how to build them:  http://docs.joomla.org/Plugin_Development
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

romatvirtue

Quote from: jenkinhill on May 13, 2013, 15:45:29 PM
Content plugins are Joomla plugins See the docs for how to build them:  http://docs.joomla.org/Plugin_Development

Thank you for your reply. What I am really looking for is to have multiple descriptions for each product and display the descriptions individually based on what user clicks on. Consider the following example:

Link 1                Description 1
Link 2 Product 1 Description 2
Link 3                Description 3


When user clicks on Link 1, I need to display Description 1 for Product 1;
When user clicks on Link 2, I need to display Description 2 for Product 1;
When user clicks on Link 3, I need to display Description 3 for Product 1.


I am assuming I can do it with "if then else" statement, but not sure how... Any ideas on how to do this?:)


Thank you in advance,
Billy.

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum