Shopping carts

Dan Jenkins dan at rastech.com
Wed Feb 9 20:32:23 EST 2011


On 2/9/2011 7:36 PM, Lloyd Kvam wrote:
>  On Wed, 2011-02-09 at 16:44 -0500, Dan Jenkins wrote:
> > Basically, I want to be able to programmatically add items to the
> > cart, preferably by a HTTP request (something like this:
> > http://addcart.example.com?item=1234&desc=Item_being_sold&price=3495.00.
> > (I do not have source code for all the components of some of the
> > sites, and this method will work for them.)
>
>  No suggestion for a cart, but that URL scheme would seem to allow
>  people to name their own price. I'm sure that you have ways to
>  control the price, but publishing that URL as a suggested interface
>  makes me nervous.
>

I absolutely realize that. The url would be invoked solely via a 
localhost interface from one program to the receiving cart. It cannot be 
submitted except from the server itself. The information is not 
published anywhere. It is merely a method of gaming a closed source 
application to pass information to the recipient cart system. If I can 
find a better method, I'd be happy to use it. I might screenscape a web 
page, which is the other interface I easily have. What I want is a 
simple interface (command line, http, whatever) to a shopping cart 
system, whereby I can add items for a session and then check out. The 
actual order must, in most cases, be manually processed due to federal 
regulations. Faking an order is improbable, and easily prevented. All I 
really need is the item numbers. The rest of the information can be 
looked up. Passing it was a bit easier, but not necessary.

Right now I have several different, hand-coded (read, jury-rigged, in 
some cases) solutions. I'd like to consolidate on a single shopping cart 
process across the growing number of specialized web stores I must 
maintain. (Soon to grow from four to 76, which is why I want a better 
solution.)



More information about the gnhlug-discuss mailing list