Page 1 of 1
External link to "add to cart"
Posted: Tue May 26, 2009 1:17 pm
by osxfil
Hi, i need make link from external flash catalogue into Cart module in CMSMS. My idea is following: click on the "Add to cart" button in flash catalogue add item into cart and showing cart in DHTML window. I have installed modules Cart, Products and Orders. But i don't know how i can make link to ad cart from external site. DHTML window isn't problem, but the link... Any idea?
Re: External link to "add to cart"
Posted: Fri Aug 14, 2009 1:36 pm
by kendo451
You could open the Cart module and find the code that generates the link. Then write a php script that does the same thing. Put that script in a private folder somewhere and invoke it from your flash catalog, assuming it is on the same webserver.
Re: External link to "add to cart"
Posted: Fri Aug 14, 2009 2:31 pm
by calguy1000
The 'add to cart' stuff is a form.... so you'll have to simulate that form.