Jump to content

Description text for Product Attributes


Recommended Posts

In certain situations it would be very helpful, if I could enter an extra text on my product attributes, that I can also hook/show on the product page, if that attribute is selected.

 

An example: The customer chooses "silver" as a color for their poster. In this case, it is important for me to let the customer know, that since silver ink contains metal, it reflects light more than a non-metallic ink.

 

Writing all that in the attribute name, would be silly, and writing it in the product description seems a bit excessive, as I dont even know what the customer chooses.

 

Any ideas?

 

Cheers, K

Link to comment
Share on other sites

No know modules that will add this feature? :unsure:

 

To clarify what I am looking for: See this module page and its screenshots

 

Unfortunately the homepage and the module seems pretty outdated.

 

Screenshots in this modules are of PS version 1.4.. 

I got the idea what you are looking for.

Let them ask for latest version if they are offering that module.

Link to comment
Share on other sites

  • 2 years later...

You could use the hide / show use of css, by adding div elements directly into your product description like this

 

<div class="attribute1">This is the description for attribute 1</div>
<div class="attribute2">This is the description for attribute 2</div>

 

and then find out the value of the attribute and add some javascript like this

 

 $('.attribute_fieldset.quality select').on('change',function(){
           if ($('.attribute_fieldset.quality select').val() == 59) {
            $('.attribute1').css({'display':'block'});
            $('.attribute2').css({'display':'none'});
        } else if ($('.attribute_fieldset.quality select').val() == 58) {
            $('.attribute1').css({'display':'none'});
            $('.attribute2').css({'display':'block'});
        }
    });

 

That will then only show the description of 1 attribute

 

Regards

 

David

Link to comment
Share on other sites

  • 6 years later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...