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: Call product through a custom field

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Call product through a custom field › Reply To: Call product through a custom field

November 11, 2009 at 4:14 am #15911
zac
Member

Thank you for the reply. Not quite what I need but closer… would it be possible you think for me to use the custom field just to put in the product id? Something like:

<?php if ( get_post_meta($post->ID, ‘productOne’, true) ) { ?>

<?php echo get_button_code_for_product(<?php echo get_post_meta($post->ID, “productOne”, $single = true); ?>”>); ?>

<?php } ?>

Then the custom field the client could just enter their product number.. would this work ??

… well I know that doesnt work… but something like that.. I am not sure how to write the php… or if it is possible ??

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