Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Some products needs type of payment


Guest

Recommended Posts

Posted

Hey there!

 

I have the following problem.

I sell hardware and hosting/domainnames.

 

- hardware : send product, pay later (with an invoice)

- hosting&D: first they have to pay

 

Is it possible to say that some sort of products have a default payment-type than others ?

 

And is it possible to hang a price on each zone (shipment price) except for some products ?!

 

Thanks for the answer.

Posted

First you might like to read the Forum FAQ/Rules, cross posting is not allowed and will not result in a faster answer.

Posted

Dear God,

 

You can check the contents of the cart at checkout time.

Ideally you assign an id to each product in the table products.

You check what it is and split up the payment-method according to that.

 

Sincerely,

One of your lost sheep

 

PS: Why did you let Elvis die?

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Posted

Dear,

 

Can you please give me some more information about how I should do that.

 

Thanks in advance

 

BTW, Elvis looks good here. You have the greetings, he said. :P

Posted

In table products you create another field called payment_type.

1 = pre-pay

2 = invoice

 

Each product you enter in to the db gets that type status.

Next you make a query on the checkout that examines the products you have in your cart... if it's 1 -> tell the shipping module class to show prepay payment module, if it's 2 show invoice module. If it's both... seperate the product prices and have them paid seperately...

It will require some coding knowledge.. but it's sorta like bash :)

 

 

Thank you, thank you very much, you're wonderfull...

Priscilla hand me that burger now honey... :D

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Archived

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

×
×
  • Create New...