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

Wrong text in Estore_empty_cart

by

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, 7 months ago by Panda.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • October 27, 2012 at 3:27 pm #7763
    Panda
    Member

    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 #50806
    Peter
    Member

    Hi 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 #50807
    Panda
    Member

    Hi, 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 #50808
    Peter
    Member

    Hi 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 #50809
    Panda
    Member

    I have version 6.9.1.2 – is that the latest?

    October 29, 2012 at 9:51 pm #50810
    Peter
    Member

    That 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:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-plugin

    November 1, 2012 at 10:32 am #50811
    Panda
    Member

    Hi 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 #50812
    admin
    Keymaster

    Okay 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 #50813
    Panda
    Member

    Ok 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 #50814
    admin
    Keymaster

    Use 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 #50815
    Panda
    Member

    Thanks :-)

    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 #50816
    admin
    Keymaster

    The 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 #50817
    Panda
    Member

    Ok thanks for all your help! :-)

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • 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
  • 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

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ