Jump to content

litmit the total value of an order


spidermax

Recommended Posts

i have two payment methods on the site. one is bank wire the other uses both the cheque and paypal system to take card payments via secure hosting. i want to be able to limit it so orders over £1000 cant be taken via card i was thinking of puttig an if statment in paypal.tpl so it just doesnt show for orders over 1000 bu my if statment just stops it showing, any one with any idears. the if statement is below.

 <?php

{if $total < 1000}



       {l s='Pay With Card. This will transfer you to our secure server for payment. We can only accept order to the value of £999.99 via card, Order over this value shoul use bank wire below' mod='paypal'}


{/if}

?>



thanks all

Link to comment
Share on other sites

honestley because i dont normal work with php and what i was reading up and said it needed them for the if statment, so i put them there maybe that just for php files but i couldnt find anything on if statments for tpl files

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...