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 for shopping cart display in child theme template

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › php function for shopping cart display in child theme template

Tagged: php function, shopping cart, shortcode, widget

  • This topic has 2 replies, 2 voices, and was last updated 13 years, 10 months ago by mikie.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 8, 2011 at 5:09 am #3756
    mikie
    Member

    Hi, I’m about to go to WPQuestions for this but I want to be sure I give them all the info they need. I want a custom page template for WPFolio that will always display the shopping cart as a widget, or where a widget would be, only on my store related pages. WPFolio does not display widgets on pages, only on posts. this means my template will have to have its own sidebar or some container that expands like a widget for my shopping cart. I’m thinking they can just provide a custom sidebar for those pages and I can add the shopping cart in a text widget (I prefer that to the shopping cart widget of yours, the shortcode cart is prettier and always there when empty). And I want to void any complex widget logic scenario, not even sure conditionals exist for what I need. Finally, getting to my question! Is there some sort of php function code the answerer will need from you (through me) to help do this? I found this code on your forum <?php echo print_wp_digi_cart(); ?> but I want to be sure that code will make the cart function and look as it does with the shortcode [wp_eStore_cart] (my favorite) before I send it along. Thanks.

    July 8, 2011 at 11:46 pm #34111
    amin007
    Participant

    The following line should help:

    <?php echo wp_digi_cart_always_show(); ?>

    When you place the above line anywhere on your theme’s template file it will show the shopping cart just as it does for the [wp_eStore_cart] shortcode.

    July 9, 2011 at 1:42 am #34112
    mikie
    Member

    Wonderful, thank you.

  • 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