Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › Simple shopping Cart Usage › coding question for simple cart wp plugin with custom field template plugin › Reply To: coding question for simple cart wp plugin with custom field template plugin
October 30, 2009 at 10:54 pm
#15798
Member
Got it worked out. I just put the metadata into a couple of $vars and then use those, as in:
$prodname = <?php echo c2c_get_custom(‘MMTname’); ?>
$prodprice = <?php echo c2c_get_custom(‘MMTprice’); ?>
then when I call the add to cart button, use:
<?php echo print_wp_cart_button_for_product($prodname, $prodprice); ?>