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

Nested shortcodes not working

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Nested shortcodes not working

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 6 months ago by LANSRAD.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 29, 2017 at 9:17 pm #14545
    LANSRAD
    Member

    I’m using WP eStore with the Toolset Types plugin (paid version).

    Currently I use some shortcodes to pull data from the WP eStore settings into my custom post type created in Toolset.

    That works if I call it like this:

    [wp_eStore_product_details id=7 info=”price”]

    As you can see I am passing the ID ( #7 in this case) and the correct price is pulled from the WP eStore at runtime.

    However in order to not have to keep updating the ID through all the fields as I create a new entry in the custom post type, I have added a field called “WP-eStore-ID” to the fields for the custom post type.

    I’d like to be able to call it like this:

    [wp_eStore_product_details id= [types field=’wp-estore-id’ output=’raw’][/types]info=”price”]

    and the shortcode from Toolset does work:

    [types field=’wp-estore-id’ output=’raw’][/types]

    However when it is nested as shown above I get a runtime error from WP eStore like this:

    You did not specify which information of the product you want to show (the “info” parameter is empty). Please check the shortcode documentation to learn the usage of this shortcode.

    [/types] info=”price”]

    What can I do to get the embedded shortcode from Toolset to work within the WP eStore one?

    Thanks!

    Charles

    November 29, 2017 at 10:27 pm #76831
    wzp
    Moderator

    Maybe this might help:

    https://support.tipsandtricks-hq.com/forums/topic/estore-shortcode-inside-another-shortcode-shortcode-nesting-not-working

    November 30, 2017 at 12:43 am #76832
    LANSRAD
    Member

    Thanks for the link.

    I’d found that one and tried it before posting here, but it made no difference.

    FWIW if I only put the Toolset shortcode there it does return the correct value.

  • 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