xela Posted January 28, 2003 Share Posted January 28, 2003 Hello everyone specially the pros :wink: I want to add a button or link that adds the product directly into the osC basket on external websites/pages and brings up the register/login page. has anybody allready done this can it be acomplished and how. I am not a programer :( . I thought this could be realized with a form button that passes the same values the add to basket button passes within osC. where do I find this code :?: and how do i do it this line of a form example code action= :?: :!: :idea: :roll: would be very much apreciated :) many thanks for your HELP. I have searched hundreds of messages in the forums and the net without succes :( Alex Quote Link to comment Share on other sites More sharing options...
Guest Posted January 29, 2003 Share Posted January 29, 2003 Hi there, If you need those stuff, this is an easy way: - Open the product you want customer to buy in Internet Explorer as ussual. This page called /catalog/product_info.php - Then, click to view source. You will find a form like this: ------------------------------------ <td width="100%" valign="top"><form name="cart_quantity" method="post" action="http://www.yourdomain.com.au/store/product_info.php?products_id=95&action=add_product"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr height="40"> <td class="pageHeading">DI 1017</td> <td align="right" class="pageHeading">$32.00</td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td> </tr> <tr> <td class="main"><table border="0" cellspacing="0" cellpadding="2" align="right"> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<a href="java script:popupWindow('http://www.yourdomain.com.au/store/popup_image.php?pID=95')"><img src="images/1017.jpg" border="0" alt="DI 1017" title=" DI 1017 " width="100" height="142" hspace="5" vspace="5"><br>Click to enlarge</a>'); //--></script> <noscript> <a href="http://www.yourdomain.com.au/store/images/1017.jpg"><img src="images/1017.jpg" border="0" alt="DI 1017" title=" DI 1017 " width="100" height="142" hspace="5" vspace="5"><br>Click to enlarge</a></noscript> </td> </tr> </table><p>Code: 1017 <br> Colour: Light Pink, Hot Pink <br> Dimension: 33x18x6 cm <br> Description: Silk, Zip top, Double Straps, Embroidered.</p> </td> </tr> <tr> <td align="center" class="smallText"><br>This product was added to our catalog on Sunday 26 January, 2003.</td> </tr> <tr> <td><br><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><a href="http://www.yourdomain.com.au/store/product_reviews.php?products_id=95"><img src="includes/languages/english/images/buttons/button_reviews.gif" border="0" alt="Reviews" title=" Reviews " width="100" height="24"></a></td> <td align="right" class="main"><input type="hidden" name="products_id" value="95"><input type="image" src="includes/languages/english/images/buttons/button_in_cart.gif" border="0" alt="In Cart" title=" In Cart "></td> </tr> </table></td> </tr> <tr> <td><br> </td> </tr> </table></form> ------------------- Just cut and paste to the area you want it to be appreared o the page you want. Of course you need to alter a few bit :) Good luck. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.