Hi,
I am using K2, K2mart and virtuemart to build a t-shirt web store. I have tried to add attribute manager (from breakdesigns.net) with little luck of getting it to work. The developer of attribute manager says to replace the code in "addtocart_advanced_attribute.tpl.php". I know that the K2mart system uses a different 'add to cart' method and thus I have tried to add the following code to both 'item.php' in the K2 and K2mart files.
<?php include('modules/mod_attribmanager_vm/mod_attribmanager_vm.php');?>
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );jimport('joomla.application.module.helper');// this is where you want to load your module position$modules = JModuleHelper::getModules('am_flypage');foreach($modules as $module){ echo JmoduleHelper::renderModule($module); }?>
My php is week, however I know that I need to have a call from the item.php file to the attribute manager file. I just don't know how to do this.
attribute manager -
breakdesigns.net/extensions/attribute-manager
Thank you,Joshua