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:59 am #15799
bobsnead
Member

I used the same principle to utilize the wordpress custom meta fields to get the same result. So I have a two fields named productname and productprice that I can enter values into and it works great.

<?php $product_id = get_post_meta($post->ID, ‘productname’, true);

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

echo echo print_wp_cart_button_for_product($product_id, $product_price); ?>

My question now is how do I get variations, like for tshirt size?

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