- This topic has 4 replies, 4 voices, and was last updated 9 years, 6 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › Which files generates the table for purchase history?
Hi
I am trying to customise the purchase history html table output when using [wp_eStore_members_purchase_history]
Which files should I look at?
Thank you
Ok got it, it’s “wp-cart-for-digital-products/eStore_misc_functions.php”
Strange i thought I would have found it within emember plugin and not the estore one.
Anyway, got it!
For reference, here is a simple procedure for discovering where the starting point for where a shortcode is processed:
https://support.tipsandtricks-hq.com/forums/topic/hooks
After obtaining the function name for the shortcode, repeat the search for the function name.
Why the amount/price paid shown in the table is without tax?
That’s a little confusing for customers.
I assume for changing this I have to customize this code in line 1229:
$sale_amt = $ret_customer_db->sale_amount;
What is the right code for showing the total amount with tax?
Thanks!
Change the following line:
$sale_amt = print_digi_cart_payment_currency($sale_amt, WP_ESTORE_CURRENCY_SYMBOL);
To the following:
$sale_amt = print_tax_inclusive_payment_currency_if_enabled($sale_amt, WP_ESTORE_CURRENCY_SYMBOL);