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

Whats the widget php function to display the compact version of the cart

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Whats the widget php function to display the compact version of the cart

Tagged: function

  • This topic has 9 replies, 4 voices, and was last updated 13 years, 3 months ago by Peter.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • February 2, 2012 at 6:21 pm #5460
    james
    Member

    Whats the widget php function to display the compact version of the cart

    i tried

    http://www.tipsandtricks-hq.com/ecommerce/wp-content/uploads/wp-estore-shortcodes.pdf

    but when added to my theme file none show the compact cart version even when checked in the settings page of estore. i also searched the functions phps and cant find it their

    February 2, 2012 at 7:33 pm #41532
    james
    Member

    figured it out <?php echo eStore_show_compact_cart(); ?>

    February 8, 2012 at 8:45 am #41533
    Zain
    Participant

    Hi,

    I’m also currently using this function to display the Compact Cart. However, is there a way of displaying the Compact Cart when it’s not empty? It needs to be visible all the time.

    Cheers,

    Zain

    February 9, 2012 at 1:53 am #41534
    admin
    Keymaster

    The following will show how many items there are in the cart when its not empty. It will show an empty cart when its empty:

    <?php echo eStore_show_compact_cart(); ?>

    So, it will show something all the time.

    February 9, 2012 at 7:56 am #41535
    Zain
    Participant

    Thanks for the prompt reply… although I’ve noticed another slight issue.

    Using eStore_show_compact_cart() doesn’t seem to use the same text contained in the “language/eng.php” file. I’ve already changed the wording in this file, and now I’ve noticed that different text strings are appearing instead.

    Any idea why this may be happening?

    Cheers,

    Zain

    February 9, 2012 at 11:09 pm #41536
    admin
    Keymaster

    Which text string are you referring to? Please post a link to the page where you are using this function.

    February 10, 2012 at 6:46 am #41537
    Zain
    Participant

    Hi Admin,

    The string that appears when using the <?php echo eStore_show_compact_cart(); ?> can be seen here:

    http://www.themaverickshop.com/your-cart/ (top right)

    It’s the text “Your cart is empty” as well as “Visit The Shop”, which are different to the strings used by the <?php echo eStore_display_compact_cart(); (); ?>

    February 10, 2012 at 7:28 am #41538
    admin
    Keymaster

    These two functions are different (they output slightly different stuff).

    There is one “empty cart message” that comes from the following settings option of the eStore plugin:

    Text or Image to Show When the Cart is Empty

    February 23, 2012 at 9:14 am #41539
    james
    Member

    ok where to find ‘class=”eStore_compact_cart”‘ nothing in main css or short codes extra add on css?

    February 23, 2012 at 12:11 pm #41540
    Peter
    Member

    Hi,

    The ‘class=”eStore_compact_cart”‘ can be found in the file called:

    shortcode_include.php

    of the eStore-extra-shortcodes plugin.

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