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

Problem with PHP Function

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Problem with PHP Function

Tagged: php function references

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 3 months ago by amin007.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 4, 2010 at 6:41 am #2319
    marcusc
    Member

    I have been trying to add a Fancy Buy Now button directly to my template, basically the PHP version of this shortcode: [wp_eStore_buy_now_fancy id=2]

    I downloaded and installed the Extra Shortcodes plugin and used:

    <?php echo show_wp_eStore_product_fancy(2,2,2); ?> where I am using Product ID 2, Buy Now Button, and Fancy Button 2. The problem is that I still get the Add To Cart button, not the Buy Now button.

    Any ideas?

    December 4, 2010 at 6:45 am #27044
    marcusc
    Member

    Had to use this to get it to work:

    <?php echo show_wp_eStore_product_fancy(2,2,1); ?>

    Guess it only works with Fancy 1 option???

    December 4, 2010 at 10:31 am #27045
    amin007
    Participant

    The following should work fine:

    <?php echo show_wp_eStore_product_fancy(2,2,2); ?>

    As explained in the documentation it will work with any fancy style. You need to make sure you have the latest version of the extra shortcodes plugin. So delete the one you have completely then download a fresh one from here and try it out:

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • 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
  • WP PDF Stamper Documentation
  • WP Photo Seller 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
  • WP Photo Seller Video Tutorial

Our Other Plugins

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

Copyright © 2023 | Tips and Tricks HQ