Hi Mike
Well, you can get the idea of how to duplicate the add to cart button from this thread:
http://creloaded.org/forum/82/28625.htmlThe attributes block is basically this:
Code:
$products_id_tmp = $product_info['products_id'];
if(tep_subproducts_parent($products_id_tmp)){
$products_id_query = tep_subproducts_parent($products_id_tmp);
} else {
$products_id_query = $products_id_tmp;
}
if ((defined('PRODUCT_INFO_SUB_PRODUCT_ATTRIBUTES') && PRODUCT_INFO_SUB_PRODUCT_ATTRIBUTES != 'True') || $product_has_sub == '0'){
include(DIR_WS_MODULES . 'product_info/product_attributes.php');
}
which means it's tangled up in subproducts as well (whether you use them or not.) So the most important line:
Code:
include(DIR_WS_MODULES . 'product_info/product_attributes.php');
is of course the file /includes/modules/product_info/product_attributes.php which you might want to check to see how it's laid out, before pasting the block in at the top of the page (inside the <form></form> tags of course.)
Simon