Home Documentation PAPs Installation (Premium Version) Basic Product Attribute Pictures Installation (Virtuemart)
Basic Product Attribute Pictures Installation (Virtuemart)

Fresh Installation

Step 1 - In your Joomla admin control panel, install the following:

Component - com_paps_vm1.1.x_j1.5.x.zip
Module - mod_paps_vm1.1.x_j1.5.x.zip


Step 2 -

NOTE: The next step will 'hook' the PAPs functionality into your product info pages. The PAPs code requires a license file to operate and if this license file is not present an error message will be generated and your product info or shopping cart page will not display fully. If you have problems adding the license file, comment out the added lines until the issue is resolved. To get a license, see the licensing section.

Open the file components/com_virtuemart/themes/YOUR_THEME/templates/product_details/flypage.tpl.php

FIND THIS CODE:

<tr>
<td colspan="3"><?php echo $product_type ?></td>
</tr>


ADD THIS BELOW IT:

<?php
//BOF PAPs
include('modules/mod_paps/includes/modules/paps.php');
//EOF PAPs
?>


NB - If you are using other product page templates apart from flypage.tpl.php, please perform this change to them.
NB - You will need to remember this step and repeat it if you upgrade your version of Virtuemart


Step 3 - Open the file components/com_virtuemart/themes/YOUR_THEME/templates/basket/basket_b2c.html.php
OR - basket_b2b.html.php or ro_basket_b2b.html.php or ro_basket_b2c.html.php (depending on which one your configuration uses)

FIND THIS CODE:

<td><?php echo $product['product_name'] . $product['product_attributes'] ?></td>


AND REPLACE IT WITH THIS:

<td><?php echo $product['product_name'] . $product['product_attributes'] ?>
<?php
//BOF PAPs
include('modules/mod_paps/includes/modules/paps_layout/paps4cart.php');
//EOF PAPs
?>
</td>


Step 4 - Ensure the following folders are fully writeable by the server:

images/paps
images/paps/linked
images/paps/merged
images/paps/fonts
images/paps/swatch_enl
images/paps/swatch_enl/tmp
images/paps/tmp

Step 5 - Upload the /ioncube folder from the distribution zip into the root folder of your web store.


Installation is now complete.

IMPORTANT: If you get a white/blank page when trying to access the PAPs admin panel then the Ioncube Loader required to run PAPs has not been properly installed on your server. Please go to http://yourdomainname/ioncube/loader-wizard.php for details on how to solve this issue.

Once you have your installation running properly, please delete the loader-wizard.php file for security reasons. You are now ready to proceed to the User Guide and follow the steps outlined there, or continue below for further (optional) installation steps.

 
Share

Copyright © 2012 Product Attribute Pictures. All Rights Reserved.