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

How do you create a fancy 1 or 2 Buy It Now button using PHP?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › How do you create a fancy 1 or 2 Buy It Now button using PHP?

Tagged: buy it now, fancy, PHP

  • This topic has 8 replies, 4 voices, and was last updated 12 years, 3 months ago by designthemedia.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • March 9, 2010 at 1:48 pm #895
    bowerstech
    Member

    Hello,

    We are trying to create a Buy It Now button using fancy1 or fancy2 with PHP. The shortcodes documentation only lists a regular Buy It Now button option with PHP. Please let me know what the appropriate code would be.

    Thanks,

    Bryan

    March 10, 2010 at 12:03 am #18718
    bowerstech
    Member

    Anyone have an idea?

    Thanks,

    Bryan

    March 10, 2010 at 2:30 am #18719
    amin007
    Participant

    This shortcode should help:

    [wp_eStore_buy_now_fancy id=1]

    March 10, 2010 at 7:12 am #18720
    bowerstech
    Member

    That worked… thanks!

    March 10, 2010 at 7:43 am #18721
    bowerstech
    Member

    Whoops. That wasn’t PHP code. Can you please provide the PHP code?

    March 10, 2010 at 3:14 pm #18722
    Ivy
    Member

    Hi, You can find a list of all the shortcodes and PHP functions here: http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    Let us know if you need anything eles.

    Cheers,

    Ivy

    March 11, 2010 at 2:10 am #18723
    bowerstech
    Member

    Hi Ivy,

    If you look at my first post you will see that I have already looked there. I need the PHP code not the shortcode. There is no PHP code example for what I asked for which is why I am asking. :-)

    March 11, 2010 at 4:45 am #18724
    amin007
    Participant

    Use the following:

    <?php

    $id = 1; //The product ID

    show_product_fancy_style($id,$button_type=2);

    ?>

    December 15, 2010 at 8:35 pm #18725
    designthemedia
    Member

    is there a way to customize those shortcodes? or to create other ones? (without killing our future upgrades by hardcoding badly)

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 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 Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ