Hi Eric,
Thanks. I took your advise and started again.
It looks like the shipping rule now works although I'd like you to have a once over if that's ok. Likewise there's potentially an unusual response with the coupon codes at the end of this reply that if you could comment on it would be appreciated.
I grabbed the original from the zip and added the flat rate below 5.0 kg rule and the flat rate above 5.01 kg rule and got the following error.
Warning: Missing argument 12 for WA_eCartDefinition::WA_eCartDefinition(), called in C:\inetpub\vhosts\ridewerx.com\httpdocs\store\WA_eCart\WA_Store_Cart_PHP.php on line 5 and defined in C:\inetpub\vhosts\ridewerx.com\httpdocs\store\WA_eCart\WA_eCart_Definition_PHP.php on line 42
If I then clicked on My profile the following error also ocurred with the above error.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\inetpub\vhosts\ridewerx.com\httpdocs\store\WA_eCart\WA_eCart_Definition_PHP.php:42) in C:\inetpub\vhosts\ridewerx.com\httpdocs\store\WA_eCart\WA_eCart_Definition_PHP.php on line 465
eCart 5 appears to work on my PS2 store but not here.
The only other changes I have made are the session commit statement for the user and admin login and localised the states and local gateway. The same shipping rule was added in PS2 store. Its the WA_Store_Cart_PHP.php file that appears to cause the problem.
I then downloaded the file and started from scratch again and received as error on line 116 of th WA Store Cart PHP file.
When I started for a third time with both the WA Store Cart and the WA eCart definition file (as eCart5 appears to update both) the same errors ocurred. When I removed the reference to UPS/Fedex/etc it appeared to work regardless of the version of the WA Store cart file.
So is the error in the WA eCart definition file? Is there anything else that I need to check/change?
The other thing I have noticed since making this change is if you enter a coupon code it works fine, if you then enter a coupon for a greater value that works. If you then enter the prior coupon it doesn't update to the prior value. When I added coupons to PS2 the cart updated correctly. Is this correct or can you assist in recifying this as I would prefer the codes to update appropriately? Codes are tesla1 and RWbi042010 respectively.
I've attached the relevant files.
Thanks, Mark.
Part 2- when the same procedure was followed on another site the following error ocurred and the checkout process is not able to be completed.
Fatal error: Call to undefined method WA_Store_Cart_Definition::WAEC_WA_Store_Cart_USPSShipping() in C:\inetpub\vhosts\e-marineworld.com.au\httpdocs\store\WA_eCart\WA_eCart_Definition_PHP.php(13) : eval()'d code on line 1