News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Integration of Roman cart

Started by paulshillito, October 01, 2012, 17:34:03 PM

Previous topic - Next topic

paulshillito

HI,

I'm trying to add Roman cart as a payment method, it is an external payment provider that uses a form based integration similar to Paypal.

Here is a simple example of their code

<form action=http://www.romancart.com/cart.asp method=post>
<input type=hidden name=itemname value='Another Fantastic Product'>
<input type=hidden name=itemcode value=123456>
<input type=hidden name=storeid value=10000>
<input type=hidden name=quantity value=1>
<input type=submit value='Add to Basket'>
</form>

I want this to replace the add to cart and quantity buttons that are standard in VM2, as it uses its own buttons in the code, then I need to render the stock number in to the itemcode from the php variable. I only need to pass the itemcode or stock number as everything else, stock control, pricing, shipping ( the real reason for using this, as it shipping better than anything else we have seen), etc on the Roman side of the connection, so VM2 becomes effectively a catalogue.

I have tried adding this as HTML to the payment info form but it does not appear and the standard add to cart buttons are still there.

Does this method work for something like or will i have to hack the php code directly and if so which file/s.

Paul