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

WP eStore shortcode not working on a custom template

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore shortcode not working on a custom template

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by wpCommerce.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 9, 2015 at 11:23 pm #12861
    liquidbarrel
    Member

    Hi All, I have a sales letter as a custom template on WP in PHP. The WP e store code is in the PHP file however not working to effect a buy now button etc. Is it possible to get e store working in conjunction with a custom template? At present the e store code is just appearing on the page.

    July 10, 2015 at 12:17 am #70763
    wpCommerce
    Moderator

    Hi, How you are using the shortcode in the template file? You can filter a shortcode in the template file by passing it through the do_shortcode function. For example:

    echo do_shortcode('[wp_eStore_buy_now_button id="1"]');

    https://codex.wordpress.org/Function_Reference/do_shortcode

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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