This is kind of an advanced question about how you would write your template cart button function call when the information about the product and price is contained and managed in WordPress using a Custom Field Template plugin's write screen (these are still just custom field meta data) but the CFT makes it far easier for the end user to manage the content of the site.
For example, your function is called with:
<?php echo print_wp_cart_button_for_product('PRODUCT-NAME', PRODUCT-PRICE); ?>
and to get the info for the name and price via my template, I use the following:
<?php echo c2c_get_custom('MMTname'); ?> or <?php echo c2c_get_custom('MMTprice'); ?>
How can I combine these functions?
I'm generally okay with writing echo statements that write out content and call a function, like
echo '<h2>'.the_title().'</h2>'; and figure it must be something like that, but?
Help greatly appreciated!