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

PHP function product fancy displays truncated product price

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › PHP function product fancy displays truncated product price

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 9 months ago by shinn.stargazer.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 14, 2016 at 5:01 am #13707
    shinn.stargazer
    Member

    Hello,

    I notice this when I tried to get the product id from URL as a parameter and display the product information using

    <?php echo show_wp_eStore_product_fancy($prod_id,1,10); ?>

    By using the PHP function, the price shown was $9.00 when it should be $229.00, and the old price was $9.95 when it should be $329.95.

    When I use the shortcode

    [wp_eStore_fancy_display id=1 type=1 style=10]

    it works fine (the only problem is I can’t use the parameter I passed from the URL for this option, can I?)

    Thanks,

    Syed

    September 16, 2016 at 12:08 am #74133
    admin
    Keymaster

    Before calling the function, make sure to echo the value of the $prod_id variable and check that it has the product ID value that you are expecting.

    The shortcode basically calls that other function underneath so that function has to be working correctly (otherwise the shortcode wouldn’t work).

    You can also try directly calling the fancy10 product display function using the following function:

    <?php echo show_wp_eStore_fancy10($prod_id); ?>

    September 16, 2016 at 1:48 am #74134
    shinn.stargazer
    Member

    I found what really causing the problem. It was actually the Insert PHP plugin that I’m using.

    I tried creating my own shortcode to call the fancy display 10 function and it works fine.

    Sorry and thanks again for your response.

  • 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 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