Guest Posted November 23, 2002 Posted November 23, 2002 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.
Guest Posted November 23, 2002 Posted November 23, 2002 First you might like to read the Forum FAQ/Rules, cross posting is not allowed and will not result in a faster answer.
mattice Posted November 23, 2002 Posted November 23, 2002 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"
Guest Posted November 23, 2002 Posted November 23, 2002 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
mattice Posted November 23, 2002 Posted November 23, 2002 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 :) Recommended Readings for God: http://www.mysql.com http://www.php.net http://www.elvis.com 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"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.