spidermax Posted March 3, 2011 Share Posted March 3, 2011 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 More sharing options...
Burhan BVK Posted March 3, 2011 Share Posted March 3, 2011 Why do you have the php open and close tags in your tpl file? Link to comment Share on other sites More sharing options...
spidermax Posted March 3, 2011 Author Share Posted March 3, 2011 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 More sharing options...
spidermax Posted March 4, 2011 Author Share Posted March 4, 2011 *bump* any one able to help with this? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now