News:

Looking for documentation? Take a look on our wiki

Main Menu

Product Description Problem

Started by romatvirtue, May 13, 2013, 22:43:31 PM

Previous topic - Next topic

romatvirtue

Dear Virtuemart community,

I need to implement the following functionality:

I need 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... Can anyone help me with this? I need to solve this ASAP.

Thank you in advance,
Billy.

romatvirtue

Just to simplify my issue, I need to change the product description of a specific product based on the page I am on.

I figured I need to create a method (possibly) where it would check if Page ID equals to Product ID and then it would display a specific description (Article ID) for that product.

Anyone, please?

romatvirtue