I'd like to achieve a similar thing and I believe this would be done in the template files.
My theme has a template file called post.php where I have each product listed. In that file I've included the code provided by this plugin:
<?php echo print_wp_cart_button_for_product('PRODUCT-NAME', PRODUCT-PRICE); ?>
But to automate this process, I want to include further Wordpress functions in place of those CAPITALISED parts.
As suggested above, I attempted to include <?php the_title(); ?> in place of PRODUCT-NAME. The button clicked through but the product name didn't appear.
My price is set up as a Custom Field called 'price' so I believe there should be a way to pass this through the code dynamically as well, possibly using get_post_meta (http://codex.wordpress.org/Function_Reference/get_post_meta).
What I've done so far has not worked but I know I'm on the right track. If anyone could give me another clue as to the correct terminology to use I would very much appreciate it.
All the best