Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Passing the Cart info to another site how?


babeskidoodle

Recommended Posts

I need help with this one, I'm putting up a new site were I'm just a affiliate for a supplier. I have all the items in a data feed from them and have the data mapped into osc database and everything is working well. My problem is during checkout, when a user checks out I want to put the order in my database as shipped and pass the contents of the cart to the supplier. the supplier has provided a way to pass to them product id and qty through a "form post" to one of there .asp pages. this will load the suppliers cart and from this point the customer would complete the checkout on the suppliers system.

 

I assume I would have to install the purchase without an account addon but I'm a little lost on where to add the passing of the information to the supplier.

 

Thanks in advance for your help,

 

Thanks

Link to comment
Share on other sites

I assume I would have to install the purchase without an account addon but I'm a little lost on where to add the passing of the information to the supplier.

Probably best to put it in checkout_process.php.

 

Matti

Link to comment
Share on other sites

I was just looking at the checkout_process.php and I was wondering if this isn't too late in the process? I don't want to collect anything about the user (name,address,etc), I don't want to calculate shipping or tax I just want to save the cart contents (i'd assumed I put it in the order table) and pass the qty and product id on. the supplier will capture all the personal information and calculate the shipping/taxs/etc. So is the checkout_process the right place? or should I just write a whole new checkout module that the "checkout" button calls?

 

thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...