Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to limit payment modules to specific shipping


Gibraltar

Recommended Posts

HI,

 

I have 2 shipping modules active:

- pick up at store (no charge)

- send by mail (weight charges)

 

And 2 payment modules:

- Pay at store when pick up

- UPS (well, sort off)

 

I'd like to implement some sort of limitation so:

- if costumer selects shipping (pick up at store), he can only select the Pay at store when pick up Payment module

- If costumer selects shipping (send by mail), he can only select the UPS Payment module.

 

I'm a complete noob with php and I'm having a dificult time trying to implement this. It seem logical that if a costumer selects to pick up a product at the store he wont select the UPS payment but errors can occour, so I'd like to hide the payment module not pertaining to the shipping module.

 

How can this be done? Can anyone help me?

 

thanks :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...