Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Controlling how Payment Module appears from checkout pricing..

Controlling how Payment Module appears from checkout pricing..

Locked

Views: 891

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Jan 2009, 4:14 PM
#1
sam_m avatar

sam_m

New Zenner

Join Date:
Nov 2007
Posts:
71
Plugin Contributions:
0

Controlling how Payment Module appears from checkout pricing..

Hello,

I have a query, With any payment module is there a way to edit when the module is actually shown at the checkout (enabled on or off going by final checkout cost), by inserting some code?

For example, I want to allow the use of the bank transfer module, but only to be availble if the checkout comes to £300 and over? likewise with say another module to only show, if the total checkout is up to £300?

Thank you very much
Sam

22 Jan 2009, 6:04 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Controlling how Payment Module appears from checkout pricing..

The Payment modules are displayed based on the:
$this->enabled

is true ...

If you set that to false, based on another condition, such as in an IF statement or CASE statement, you can control when the module actually is displayed as an option ...