WordPress.org

Ready to get started?Download WordPress

Forums

TheCartPress eCommerce Shopping Cart
[resolved] Price display options (3 posts)

  1. Joy
    Member
    Posted 3 years ago #

    I got some simple products loaded and found that everywhere the price is displayed, it shows it European style, with the currency after the number.

    First I thought there would be an option for where to put the currency symbol, and then I thought I could change the language file (swap the two parameter just for US English), then I thought I could write a filter to switch it around.
    But now I'm realizing that the cart, the widgets, and everywhere the price is displayed are all hardcoded to be a number and a space and a currency.

    Wow, what a mess for US dollar.

    I think the best way forward is for all the code to use the same function to output the price (which should be the template function). That function should apply a filter. In addition, there could be an option and the language file could be made to easily swap the number and the currency symbol.

    Oh, and the tax, which by default is per product, should work the same way. Right now I'm getting () following the price because there is no tax. (And I don't see a way to apply the tax to the whole order instead of per product.)

    Need some documentation! Shopping carts are not intuitive!

  2. Inigo Gonzalez
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Joy,

    All of this is in the beta version. In the template we have develop a list of function to display prices and taxes. The currency order is set in the language files.

    The Documentation is a very hard task (and expensive for us). We'll try to publish more docs as soon as possible.

    Thanks you very much. Best regards

  3. Joy
    Member
    Posted 3 years ago #

    This has been fixed with a currency format option in the settings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic