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

sidebar widget question

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › sidebar widget question

Tagged: Compact Cart

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 10 months ago by mattoleary.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 11, 2010 at 7:08 am #1185
    mattoleary
    Member

    I’m using the compact version of the shopping cart widget because my theme’s column is narrow. But I’d like it to be hidden altogether until something is added to the cart.

    May 11, 2010 at 1:09 pm #20427
    amin007
    Participant

    Please open the “eStore_cart.php” file and find the following function:

    $output = eStore_empty_cart_display();

    once you find that function just replace it with the following line:

    return;

    Save and upload the file to the “wp-cart-for-digital-products” directory.

    May 11, 2010 at 2:49 pm #20428
    mattoleary
    Member

    Thank you – that worked.

    However, the title is still there when cart is empty… can I display that only when cart has content as well? See site here http://comealongsongs.com/

    May 12, 2010 at 12:20 am #20429
    amin007
    Participant

    Use the following PHP function to display the code rather than the widget (the widget version will have a title):

    <?php echo eStore_show_compact_cart(); ?>

    If you don’t know how to use PHP function calls then this page will come in handy(read the “How to Display Button(s) on the Sidebar” section on that page)

    WordPress eStore Miscellaneous Tweaks

    Alternatively, you can read this post:

    https://support.tipsandtricks-hq.com/forums/topic/using-php-on-the-sidebar-or-widget-eg-to-display-a-button

    May 12, 2010 at 2:10 pm #20430
    mattoleary
    Member

    Fabulous! thanks

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • 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
  • WP PDF Stamper Documentation
  • WP Photo Seller 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
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ