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

Show the grey guy shopping cart in widget.

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Show the grey guy shopping cart in widget.

  • This topic has 14 replies, 5 voices, and was last updated 11 years, 4 months ago by Louis.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • April 9, 2010 at 1:34 am #1043
    Jimmy
    Member

    How do I display the Shopping cart guy like you have on you /products page and it’s image:

    http://www.mysite.com/wp-content/plugins/wp-cart-for-digital-products/images/cart_empty.jpg

    In the sidebar widget, I want it to show the grey guy when the cart is empty-

    When an item is added it will switch to the cart with the green check mark.

    Just like on your site.

    I tried the PHP Widgify plugin and got the small cart to show all the time- But how to make it switch back and forth?

    Thanks very much,

    Jimmy

    April 9, 2010 at 3:41 am #19514
    Ivy
    Member

    Hi Jimmy, Please try the following PHP code: <?php echo wp_digi_cart_always_show(); ?>

    This should show the little grey guy. =)

    Let me know how it goes.

    Cheers,

    Ivy

    April 9, 2010 at 3:46 am #19515
    Jimmy
    Member

    Thanks Ivy,

    But it only shows the “shopping_cart_icon.gif”

    Not the little grey guy “http://www.tipsandtricks-hq.com/wp-content/plugins/wp-cart-for-digital-products/images/cart_empty.jpg&#8221;

    April 9, 2010 at 4:09 am #19516
    Jimmy
    Member

    I just did a fresh install and am having the same problem.

    In my PHP Widget— Using: <?php echo wp_digi_cart_always_show(); ?> makes the small cart with the green check mark appear when cart is empty.

    The same one that appears when you add an item to a cart.

    Can’t seem to get the grey guy to show up at all.

    Thanks,

    Jimmy

    April 9, 2010 at 5:33 am #19517
    amin007
    Participant

    In the “General Settings” menu of the eStore plugin have you specified the URL of the little guy in the “Text/Image to show when cart empty” field? If you haven’t then it won’t show it.

    April 9, 2010 at 1:44 pm #19518
    Jimmy
    Member

    Hey- Thanks for the help everyone! I just bought the plugin yesterday- and really love it!

    admin007: I made adjustments in “General Setting” and now they are now BOTH showing when cart is empty.

    Grey guy disappears when something is added, but the other cart remains all the time.

    You can see it here: http://hedgepigfred.com/monkey-peeler

    I am adding <?php echo wp_digi_cart_always_show(); ?> to the PHP Widgify Plugin. Nothing eles is there but that line.

    Sorry for my ignorance…

    Thanks,

    Jimmy

    April 9, 2010 at 5:50 pm #19519
    Jimmy
    Member

    Ok, It’s working now.

    In the General Settings I ticked the “Hide Shopping Cart Image” box.

    Now only the Grey Guy shows until an item is added.

    Thanks very much you guys…

    Great plugin!

    Jimmy

    April 10, 2010 at 12:55 am #19520
    Ivy
    Member

    Hi Jimmy, I am glad you got this working. Please let us know if you need anything else.

    Cheers,

    Ivy

    November 13, 2011 at 4:26 pm #19521
    Louis
    Member

    Hi, I posted something here: https://support.tipsandtricks-hq.com/forums/topic/show-grey-shopping-cart-guy-in-the-sidebar#post-24851

    I hope I am not confused, but basically, if I hide the shopping cart image, then obviously the “normal” cart picture does not show anymore, wether when the cart is empty or not.

    Is it possible to have it behave that when the cart is empty, it shows the empty cart picture only, and when a product is added it shows the normal cart picture? Like a simple image swap on different behaviour. This is the short code I am using: [wp_eStore_cart]

    November 13, 2011 at 6:53 pm #19522
    Louis
    Member

    Actually, how did you get this to work here: http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-plugin-demo-175 ?

    I have visited some of the members’s website and it doesn’t behave like on your website.

    November 13, 2011 at 7:19 pm #19523
    Louis
    Member

    Ok, I know where the issue is, after tweaking for a while… I tried all possible options.

    The “empty/non empty cart image” works fine if you use a widget, so I assume that on your website, you’ve inserted the shopping in a side bar, correct? Please let me know.

    I am not able to get this to work properly in a page. Any idea?

    November 14, 2011 at 12:35 am #19524
    admin
    Keymaster

    Use an image URL (the image you want to show) in the “Text or Image to Show When the Cart is Empty” field of eStore settings.

    Now, use the following shortcode:

    [wp_eStore_cart]

    November 14, 2011 at 1:27 am #19525
    Louis
    Member

    I have setup the url for the image properly, that’s not the issue.

    As explained before, this short code [wp_eStore_cart] shows both, the empty and full cart pictures, when the cart is empty, and when the cart has an item in it, it shows the full cart picture.

    This short code [wp_eStore_cart_fancy1] shows only the empty cart picture when the cart is empty, as expected.

    On the other hand, the full cart picture does not show when there is an item in the cart.

    Could you show me an example with this [wp_eStore_cart] or [wp_eStore_cart_fancy1] short code within a page?

    November 14, 2011 at 10:01 pm #19526
    admin
    Keymaster

    They are two different shortcodes and meant to present the shopping cart slightly differently (that is why the other one is called “fancy1”). The fancy1 does not show the shopping cart icon in the title.

    November 15, 2011 at 12:50 am #19527
    Louis
    Member

    Understood. Is there a way to show the empty cart icon only here: http://louisg.org/cart/

    I mean, would it be hard to do it?

    An other question:

    Setting:

    Shopping Cart Header

    Leave empty if you do not want the shopping cart header to appear

    I left it empty, it’s not behaving as it should? As seen above.

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