Basic shipping
Hi,
I am trying to add a basic $7.50 flat rate shipping cost to any order but I cant see where to add it. I have tried this in WA_eCart_Definition_PHP.php file:
//eCart Rule
//eCart Rule
function WAEC_WA_Store_Cart_Shandard() {
$totalShipping = 7.50;
// if (true && ((sizeof($this->Items) > 0))) {
// $totalShipping += 7.50;//Result
// }
return WA_eCart_FormatNumber($totalShipping, $this->ForceDecimalsC, $this->DecimalPlacesC);
}
but that didn't work and also checkout.php I tried:
$WA_PP_ECO_Set_params[0][$nextIndex] = "ShippingTotal";
$WA_PP_ECO_Set_params[1][$nextIndex] = "7.50";
$nextIndex = count($WA_PP_ECO_Set_params[0]);
neither one added the amount when the user goes to PayPal
the website is sugarforkids.co.nz
CHeers,
Kevin.