Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Shopping Cart Replacement
- This topic has 8 replies, 3 voices, and was last updated 13 years, 7 months ago by drwinn.
-
AuthorPosts
-
April 3, 2011 at 3:11 am #3107drwinnMember
On the Tips and Tricks pages, there is a place in the widget where the shopping cart shows. It has a graphic, the text “The shopping cart is empty, and “Visit the Shop.” When something is added to the cart, this disappears and the shopping cart replaces it. If the shopping cart is then emptied by the customer, the above returns.
Second, on the page where the shopping cart goes when a product is clicked, can the above text or something similar be placed and then be replaced when a product is selected just like in the side bar widget.
How can both of these be accomplished, or at miminum the widget side bar as per T&T pages be accomplished?
Thanks
April 3, 2011 at 10:47 pm #31023drwinnMemberI figured it out with [wp_eStore_cart]. Can you change the graphic in this call?
April 3, 2011 at 11:16 pm #31024drwinnMemberCan you change Visit the Shop to something different?
April 4, 2011 at 12:43 am #31025IvyMemberHi,
1. Yes you can change this image.
Go to WP Content > plugings > wp-cart-for-digital-products > images > Replace “cart_empty.jpg” with the image you want.
Make sure then name is the same as “cart_empty.jpg”
2. You can change “Visit the Shop” in the language file, this forum post will explain more about how to do this:
April 4, 2011 at 2:39 am #31026drwinnMemberT&T Shopping Cart reads in sidebar
Your Shopping Cart
graphic man pushing buggy with “Shopping Cart Empty” in fly out
Shopping Cart is Empty
Visit The Shop
Harmon Press site using [wp_eStore_cart] in sidbar
It reads:
Your Shopping Cart
graphic man pushing buggy with Shopping Cart in fly out
Items in Your Cart
Your cart is empty
Go To Harmon Press Bookstore
When something is added to the shopping cart the man with buggy stays with the same fly out, “shopping cart.”
graphic man stays the same when shopping cart is activated on Harmon Press
graphic man disappears in sidebar on T&T and a different graphic appears on the shopping cart named shopping_cart_icon.gif
Two Questions: How do I match the action of the cart and the graphic of man with shopping cart (empty_cart.jpg) disappears as it does on the T&T site.
Second, Where is the text “Your Cart is empty” coming from. It is not in the Widget which only has [wp_eStore_cart].
Here is one page with shopping cart activated for sale items.
[http://harmonpress.com/bookstore/theology/googling-gods-will-why-keep-searching-for-it-when-its-not-lost/]
I not sure at this point that I am clear, but there is is for the time being.
April 5, 2011 at 12:35 am #31027amin007ParticipantThe “Your cart is empty” message comes from the language file so you can customize it to whatever you want. This post will help:
The shortcode [wp_eStore_cart] is suppose to do what the T&T site does. When you add a product that shortcode is suppose to change and show the items in the cart.
After you add items to your cart have you been able to see the added items in the cart using any of the shortcodes? Do you have a caching plugin installed?
April 5, 2011 at 1:44 am #31028drwinnMemberThe problem is that “Your cart is empty” is not in the eng.php file. It reads:
define(“ESTORE_CART_EMPTY”, “Shopping Cart is Empty”);
I changed the second argument and there was no change. I changed the second argument in the next line to read “Go to Harmon Press Bookstore” and that worked perfectly well.
Yes, I see the information provided with the short code replaced with the cart and a reverse of that when I clear the cart. Again, the problem is the line: Your cart is Empty” which I can’t seem to find anywhere that appears in the cart. I tried it on a different machine with the same results, so it doesn’t appear to be a caching problem.
April 6, 2011 at 12:30 am #31029amin007ParticipantOkay lets start over Please go to the eStore’s Settings menu and find the following field:
Text/Image to show when cart is empty
What value do you have in that field?
April 6, 2011 at 2:43 am #31030drwinnMemberOkay, I’m embarrassed. I was looking for the words in all the wrong places.
Thanks for your patience.
-
AuthorPosts
- You must be logged in to reply to this topic.