Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Wrong text in Estore_empty_cart
Tagged: estore_empty_cart
- This topic has 12 replies, 3 voices, and was last updated 12 years ago by Panda.
-
AuthorPosts
-
October 27, 2012 at 3:27 pm #7763PandaMember
Hi
I have [wp_eStore_cart_with_thumbnail] on a page and [wp_eStore_display_compact_cart2] in my header. When the cart is empty, the text in my header and on the page is correct. It says “the cart is empty”.
However, when I have items in my cart, the “empty cart” symbol in the cart on the page shows the wrong text when I hover over it. It says “the cart is empty” and not “empty the cart”.
As far as I can figure out, this is because it is Estore_empty_cart that are used both when it is empty and when it is full but you wish to empty it.
How do I change this?
Thanks
Regards Anna
[http://genanvendt.dk/indkobskurv/]
October 28, 2012 at 1:11 am #50806PeterMemberHi Anna,
I went to your site but I cannot seem to add anything to the cart because you don’t have any products available because they are all “Sold Out”.
Can you please create a dummy product so we can try adding something to the cart?
October 28, 2012 at 6:03 pm #50807PandaMemberHi, sorry I have them all set as “sold out” because I am still testing. I have set the letter N as availabe on this page:
[http://genanvendt.dk/traebogstaver/]
Thanks for your help!
October 28, 2012 at 10:42 pm #50808PeterMemberHi Anna,
Ok I can see what you mean now.
Which version of eStore are you using?
In my version the message says “Empty cart”.
I would recommend that you firstly try deactivating and deleting your current eStore version and then get the latest version as per this link:
https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins
This should fix it.
October 29, 2012 at 2:58 pm #50809PandaMemberI have version 6.9.1.2 – is that the latest?
October 29, 2012 at 9:51 pm #50810PeterMemberThat version should be fine.
If for some reason you don’t want to upgrade to the latest then you can easily change the message by modifying the variable called “ESTORE_EMPTY_CART” in the language file.
See this link for more info:
November 1, 2012 at 10:32 am #50811PandaMemberHi Peter
Yes I already did that but then the message is changed in both places, and I think I figured out what the problem is: In English you can say : “Empty cart” in both examples. Both when you wish to empty the cart and when it says that the cart is empty. However, in Danish you can’t do that. It is two different sentences.
Is it possible to change the variable in one of the cases to maybe the variable Estore_cart_Empty?
Anna
November 2, 2012 at 3:49 am #50812adminKeymasterOkay I have introduced a new language variable for the compact cart feature. This new variable looks like the following:
define(“ESTORE_CART_IS_EMPTY”, “Cart is empty”);
Please download a new copy of the eStore plugin and the extra eStore shortcodes addon to get this change.
November 10, 2012 at 5:06 pm #50813PandaMemberOk thanks – I will do that.
How do I get the sales tax amount to be shown in the confirmation e-mail to the customer? This is a requirement by law in Denmark.
Thanks ;o)
November 11, 2012 at 2:20 am #50814adminKeymasterUse the following email tag in the email:
{total_tax}
The documentation for email tags can be found here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
November 11, 2012 at 3:08 pm #50815PandaMemberThanks
In the e-mail to the buyer: Is it possible to have a comma before the decimals in the tax, shipping and total amounts? And how do I get the currency to be shown after the amounts? And can the country name in the buyer adress be spelled in Danish and not in English?
Do you know why PayPal do not send a confirmation e-mail to the buyer when the buyer uses a credit card to pay via PayPal?
Thanks
November 12, 2012 at 4:17 am #50816adminKeymasterThe price amount values come directly from PayPal. So it uses the format that PayPal uses. The email tag will only put the amount value. You can add the currency yourself in the email like the following:
${total_tax}
or
{total_tax}$
PayPal will be able to answer this next question. As far as I know, they send a confirmation email/receipt to the buyer for every single transaction (doesn’t matter how the payment was made). It is likely that the email got lost somewhere.
November 12, 2012 at 8:56 pm #50817PandaMemberOk thanks for all your help!
-
AuthorPosts
- You must be logged in to reply to this topic.