Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › No wp_shopping_cart.php file in editor
Tagged: no wp_shopping_cart.php file, Thesis 1.7, WP3.01
- This topic has 6 replies, 3 voices, and was last updated 12 years, 6 months ago by amin007.
September 22, 2010 at 2:32 am #1898
I just purchased the WordPress eStore Plugin and am wondering if I got the wrong one. Here’s why.
I am trying to use the instructions on this page http://www.tipsandtricks-hq.com/ecommerce/wordpress-shopping-cart-additional-resources-322
to do the following:
How to Show the Shopping Cart Widget Only When There are Items in the Cart
Search for the following function in the wp_shopping_cart.php file:
Once you find it just add the following piece of code at the start of the function and that should do the job
I’d love to follow your instructions but there is no file in the edit area for the WP eStore plugin that is titled wp_shopping_cart.php
These are the only files listed in the edit plugin area of my WP admin dashboard:
[admin deleted file list]
I am using WordPress Version 3.0.1 and Thesis Theme 1.7
So where is the correct php file to Show the Shopping Cart Widget Only When There are Items in the Cart?
And is this still the correct code for doing that?
Hoping to hear from you very soon!
Thanks from a new customer who is totally flummoxed,
JoySeptember 22, 2010 at 4:00 am #24657amin007Participant
You are following the instruction for the free “Simple shopping cart” plugin which is wrong for your case as you are using the eStore plugin.
eStore comes with option to display the shopping cart only when there are no items in the cart and vice versa.
There are pre-made shortcodes or PHP functions that you can use. They are all listed here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460September 26, 2010 at 8:22 pm #24658
It seems I did not make my question clear.
I am simply trying to get the shopping cart image with the green check in it to show up in my SIDEBAR WIDGET AREA.
I downloaded those shortcode pdfs soon after I bought the eStore plugin. I do not see anything in those codes that answers my question.
Again, I want the cart image with the green check mark to show up in the sidebar when someone adds something to the cart.
I have already had success with nothing showing unless there is something in the cart.
I have already had success with the little gray guy and cart showing on my checkout page when nothing has been ordered.September 26, 2010 at 9:26 pm #24659
Sorry about that last reply. I was trying to edit it before it was sent but must have pushed something that sent it.
This is what I was trying to send you in my reply instead of what accidentally got sent:
It seems I did not make my question clear.
So here is a jingcast link to try again.
JoySeptember 26, 2010 at 9:30 pm #24660wzpModerator
Try using: [wp_eStore_cart_fancy1]
Display the shopping cart with a bit more style on a
post or page (this is the shopping cart display used
on tips and tricks HQ’s checkout page)”
Is this what you were looking for?September 26, 2010 at 9:48 pm #24661wzpModerator
Ooops, your last message was entered while I was typing mine. I’ll let Amin or Ivy try to answer this one.September 27, 2010 at 2:58 am #24662amin007Participant
@SingBabySing, I misunderstood your question. Thank you for the video which makes it all clear
I know you have specifically asked me not to send you back to the “Shortcodes” page but I am gonna have to disappoint you
If you head back to the shortcodes page and download the recently updated extra shortcodes plugin then you will get this additional shortcode functionality that I just added for you:
Now you can use the following shortcode to display the compact cart the way you wanted to:
or use the following PHP code if that suits your situation:
<?php echo eStore_display_compact_cart(); ?>
I have also made it so you can customize a few aspects of the compact cart display. Check the next shortcode in the list to find out more on this.
Regarding your Fancy1 shopping cart display having CSS issue… can you please use the normal (non-fancy) version of the shopping cart on a test page and send me a link to the page? I know it’s a CSS conflict that you are having but before I can give you guidance I need to identify what the actual conflict it.
Let me know how you go.
- You must be logged in to reply to this topic.