April 9, 2010 at 1:34 am #1043
How do I display the Shopping cart guy like you have on you /products page and it’s image:
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,
JimmyApril 9, 2010 at 3:41 am #19514IvyMember
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.
IvyApril 9, 2010 at 3:46 am #19515
But it only shows the “shopping_cart_icon.gif”April 9, 2010 at 4:09 am #19516
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.
JimmyApril 9, 2010 at 5:33 am #19517amin007Participant
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
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…
JimmyApril 9, 2010 at 5:50 pm #19519
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…
JimmyApril 10, 2010 at 12:55 am #19520IvyMember
Hi Jimmy, I am glad you got this working. Please let us know if you need anything else.
IvyNovember 13, 2011 at 4:26 pm #19521
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
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
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 #19524adminKeymaster
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
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 #19526adminKeymaster
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
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:
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.
- You must be logged in to reply to this topic.