Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Reply To: coding question for simple cart wp plugin with custom field template plugin

by

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

July 25, 2010 at 3:15 pm #15800
bobsnead
Member

Well I figured out something that will work. I mainly needed to be able to put the cart button in the sidebar, so for the time being I’m using this:

<?php

$product = get_post_meta( post->ID, ‘product’, true);

echo print_wp_cart_button_new($product);

?>

Then I just put the full shortcode string with all variations into the ‘product’ meta field of my post. Quick and dirty, I don’t mind that.

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ