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

estore create small cart in the header of my theme

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › estore create small cart in the header of my theme

Tagged: cart, Compact Cart, estore, header

  • This topic has 5 replies, 3 voices, and was last updated 11 years, 1 month ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 30, 2012 at 11:49 am #8037
    toddle
    Member

    I want to be able to achieve a cart image, no of items and price within the header of my theme, like the header here: [http://www.micro-scooters.co.uk/]

    Is there anyway of doing this, as the shortcodes seem to have way more going on when you test them?

    Thanks

    Adam

    November 30, 2012 at 10:48 pm #51896
    admin
    Keymaster

    Please check the compact cart shortcodes of eStore:

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-compact-cart-display-templates-1527

    December 1, 2012 at 12:27 pm #51897
    toddle
    Member

    Thanks admin, I just couldn’t find this info for some reason…

    Sadly when I add the following into a page or in sidebar:

    [wp_eStore_display_compact_cart]

    nothing happens it just literally display the above code, doesn’t convert it into a compact cart image..

    Am I doing something wrong?

    December 1, 2012 at 11:25 pm #51898
    admin
    Keymaster

    When you say “sidebar”, do you mean the sidebar widget (example: text widget)? or do you mean the sidebar.php of your theme?

    If you want to use the compact cart from a PHP file then use the following code:

    <?php echo do_shortcode("[wp_eStore_display_compact_cart]"); ?>

    May 7, 2014 at 6:19 pm #51899
    rafsar
    Member

    Hi, I would insert a compact image of cart in the Header and Footer.

    To be clear exactly like in this image [http://screencast.com/t/zd1TnS8uS]

    Well, I guess I have use some php, and I tried to add in the header.php and

    footer.php the code:

    <?php echo do_shortcode(“[wp_eStore_display_compact_cart]”); ?> but in the front-end I got only an echo of this [wp_eStore_display_compact_cart].

    I tried also with <?php echo eStore_display_compact_cart(2); ?> but the front-end was completely broke.

    Any help ?

    Thanks & Regards

    May 8, 2014 at 2:13 am #51900
    admin
    Keymaster

    What version of the plugin are you using? Have you installed the extra estore shortcodes addon?

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

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