Attribute Description Manual

Minimum Requirements

  • Joomla 1.5
  • Virtuemart 1.1.x
  • PHP 5

Installation

Attribute Description is installed using the normal Joomla installation process.

  1. Go to Extensions > Install/Uninstall
  2. Under "Upload Package File" select browse, then choose the com_attributedescription.zip file
  3. Select "Upload File & Install"

4.  Find the file "addtocart_advanced_attribute.tpl.php" in the following directory:

"components/com_virtuemart/themes/default/templates/product_details/includes"

where "default" is the name of your theme.  Backup this file.

5.  Add the following code into "addtocart_advanced_attribute.tpl.php" file:

<div class="vmAttribChildDetail" style="float:left;margin:3px;">
<?php $path = JPATH_BASE.DS.'components'.DS.'com_attributedescription'.DS.'controller.php';
require_once( $path);
$attr_desc =  new ADController(); 
$attr_desc->display_desc($attribute);  ?>
</div>

Insert the above code in-between lines 17 and 18 of "addtocart_advanced_attribute.tpl.php":

Line 17:  </select>

INSERT CODE HERE

Line 18:  </div>

6.  Save the file.

Usage

Once Attribute Description is installed, go to Components > Attribute Description.

You will see the below screen:

There is one sample entry in the list called "Size".  We need to add a new advance attribute, so click the New button.  Fill in the applicable fields, then Save the record.

IMPORTANT NOTE: The Attribute Name in Attribute Description must match your Product's Attribute Name EXACTLY. If it does not, your description will not be displayed! Attribute Description is NOT CaSe SeNsItIvE.

Now go to the site front end and look at the product associated with the Advanced Attribute you entered into Attribute Description. You should now see an icon next to the attribute.

 

Scope

The scope of a specific Attribute Description is set by the "Type" parameter.  There are 3 options:

  1. Site Wide -- any attribute on the site matched by the "Attribute Name" will display the description.
  2. Category Specific -- any attribute in the selected Category that matches the "Attribute Name" will display the description.
  3. Product Specific -- The Attribute Description will only match the "Attribute Name" of the selected Product (and its child products).

 

Get Attribute Descriptions

$10 USD