I'm a bit stuck on this:
What I want it to do is if there is something in the 'usr_vatexemptionform' field I need it to perform the following code:Code:<cfif (rsCompanyDetails.usr_billcountry eq 'UK') OR (rsCompanyDetails.usr_vatexemptionform NEQ '')> <cfset session.final_price = session.total_cost + session.shipexchange + session.handlingcharge> <cfset session.total_vat = session.final_price * 17.5 / 100> <cfset session.ordertotal = session.final_price + session.total_vat > <cfelse> <cfset session.final_price = session.total_cost + session.shipexchange + session.handlingcharge> <cfset session.ordertotal = session.total_cost + session.shipexchange + session.handlingcharge> </cfif>
The 'usr_vatexemptionform' will only be filled in by people from the 'UK' though...Code:<cfset session.final_price = session.total_cost + session.shipexchange + session.handlingcharge> <cfset session.ordertotal = session.total_cost + session.shipexchange + session.handlingcharge>
Any help here would be appreciated!









Bookmarks