Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to incorporate Order Module with Payment Type


elton123

Recommended Posts

Hi,

 

I need some assistance please.

 

I would like to use the low order fee module to work with a payment type like e.g selecting paypal etc, as opposed to selecting national or international orders.

 

Refer: http://www.oscommerce.com/community/contri...ons,2276/page,3

 

contains the file that needs to be edited.

 

 

if (MODULE_ORDER_TOTAL_LOWORDERFEE_LOW_ORDER_FEE == 'true') {

switch (MODULE_ORDER_TOTAL_LOWORDERFEE_DESTINATION) {

case 'national':

if ($order->delivery['country_id'] == STORE_COUNTRY) $pass = true; break;

case 'international':

if ($order->delivery['country_id'] != STORE_COUNTRY) $pass = true; break;

case 'both':

$pass = true; break;

default:

$pass = false; break;

 

As you can see the objective is that the low order fee be applied when using using certain payment types.

 

Please advise.

 

Regards

 

Elroy

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...