dalu2k Posted November 19, 2012 Share Posted November 19, 2012 Hi Forum, for testing purpose I need to implement a tracking-code to submit cart-dedails. The Code need to look like this: <html> <body> <form name="affilinetTrackingForm" method="post" action="https://partners.webmasterplan.com/registersale.aspx" id="affilinetTrackingForm"> <input type="hidden" id="site" name="site" value="1234"/> <input type="hidden" id="order" name="order" value="OrderId12345_54321"/> <input type="hidden" id="curr" name="curr" value="eur"/> <input type="hidden" id="vcode" name="vcode" value="superSALE"/> <input type="hidden" id="psub1" name="psub1" value="sub information 1" /> <input type="hidden" id="psub2" name="psub2" value="sub information 2" /> <textarea type="text" id="basket" name="basket"> ArticleNb=ABCD_000055&ProductName=Classic%20wool%20coat%20%22Brasilia%22&Category=Women%20%3E%2 0Coats%20%26%20Jackets%20%3E%20Coats&Quantity=1&SinglePrice=60.99&Brand=Aber%2C%20Cromby%20%26% 20Fich&Property1=White&Property2=New&Property3=Wool&Property4=Made%20in%20UK&Property5= ArticleNb=ABCD_000047&ProductName=Windbreaker%20%22Petersburg%22%2C%20Dark%20gray&Category=Wome n%20%3E%20Coats%20%26%20Jackets%20%3E%20Jackets&Quantity=1&SinglePrice=126.99&Brand=Connvers&Pr operty1=Dark%20gray&Property2=New&Property3=PVC&Property4=&Property5= ArticleNb=ABCD_000039&ProductName=Tbar% 20flat%20heel%20%22Salt%20Lake%20City%22%2C%20Green&Category=Women%20%3E%20Shoes%20%26%20Bo ots%20%3E%20Sandals&Quantity=3&SinglePrice=29.99&Brand=James%20Sheepskin&Property1=Olive&Proper ty2=New&Property3=&Property4=Made%20in%20USA </textarea> </form> <script type="text/javascript"> document.affilinetTrackingForm.submit(); </script> </body> </html> The part <textarea type="text" id="basket" name="basket"> ... </textarea> is where I need some help. [ArticleNb=;&ProductName=;&Category=;&Quantity;&SinglePrice=;&Brand= are the parameters that are required!] The data from th e completed order need to insert dynamic line by line into this area. But what are the parameters to fill it correctly? I still use PrestaV1.2.4 . Maybe someone can help me with this Greetings, Lutz Link to comment Share on other sites More sharing options...
dalu2k Posted November 20, 2012 Author Share Posted November 20, 2012 hey cool, it works now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now