Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

Tips and Tricks HQ Forum » Simple PayPal Shopping Cart » Simple Shopping Cart Tweaks

Tweaking how the amount is displayed.

(1 post) (1 voice)
  • Started 1 year ago by amin007
  • Related Topics:
    1. Errors After Activating Plugin
    2. Add to cat button does not appear to submit anything
    3. Question about Product Name vs Number
    4. estore payment issue with recurring payment and check out amount
    5. Total sales amount not added up when adding the commission manually

Tags:

  • Simple Shopping Cart
  1. amin007
    Key Master

    If you want to tweak how the total amount is displayed in the simple shopping cart then open the "wp_shopping_cart.php" file and look for the following function:

    function print_payment_currency($price, $symbol, $decimal)
    {
        return $symbol.number_format($price, 2, $decimal, ',');
    }

    This is the function that displayed the amount to two decimal places. Tweak it to however you want to display your price amount.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin