This is a discussion on Shooping Cart Query within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I would like to do some custom pages for a web site and I need to be able to send ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I would like to do some custom pages for a web site and I need to be able to send some products to the shopping cart, if I have the session id and pass the right parameters, can I just use a url with get data or use a post? Any pointers would be much appreciated. Thanks Keith Smith |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| You should not need a session ID. Just go to the product listing page and right click the 'buy now' button and copy the shortcut. Then paste it to your <A> tag and remove the session ID. Now you have a direct link to your cart. For example, click this link to see what I mean: http://demo.oscmax.com/index.php?cPa...;products_id=9
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Michael, Thanks for the reply, I tried that and it works perfect, if I wanted to add multiple items at one time is that possible, I tried using multiple product ids in one post but only one product was added. Thanks Keith |
|
#4
| ||||
| ||||
| Hi, no this is not possible without custom coding. If you cannot do it in regular oscommerce, you cannot do it in a link. osCommerce does not support this if you navigate through the site. You can only add 1 product at a time.
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SQl Query error | dmiles | osCMax v2 Customization/Mods | 2 | 03-05-2007 11:42 PM |
| ssl query | Lara Croft | osCMax v2 Installation issues | 2 | 12-30-2006 12:22 PM |
| General Support Query | jarb | osCMax v2 Features Discussion | 3 | 11-24-2006 05:59 AM |
| Mdb -> Insert Query -> mySQL -> I Happy ! | damnedpig | osCMax v1.7 Discussion | 1 | 07-29-2004 10:11 AM |
| Add Item to Cart, authenticate, then deletes cart contents? | Anonymous | osCMax v1.7 Discussion | 8 | 07-20-2004 11:48 AM |