Ok thank you.
That worked for my currency, however I need to make my Tax and Promo Code Dynamic as well.
If I could just deal with my Tax First.
I had hoped I could just apply what I learnt from the currency to make tax dynamic (Which was why I did not say before) however it does not work.
Here is the code.
function WAEC_eCart_SalesTax() {
$totalTax = 0;
if (true && (($this->GetTaxableTotal() > 0))) {
$totalTax += ($this->GetTaxableTotal() * "".$row_Settings['Tax']."");//Result
}
return WA_eCart_FormatNumber($totalTax, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
The bit I changed is "".$row_Settings['Tax'].""
From
0.2
I get an error on the cart page:
Notice: Undefined variable: row_Settings in C:\wamp\www\Siteezy_eCart2\WA_eCart\eCart_PHP2.php on line 149
$48.16
What I want to do is enable the Admin to enter a tax value, which is stored in my database table. I need this in case the VAT % changes in the future. I do not want my clients coming back to me when I built them a website 5 years ago, asking me to change there Tax %.
As you can understand this is why I need to do this.
Hope you can help.
Thank you..