PDA

View Full Version : Mal's e-commerce cart integration


eme43sap
Sep-23-2009, 12:40 PM
Hello - I am brand new to this forum. I have been using smugmug for a month or so as an prototyping platform for my wife's smugmug site.

I found last night Mal's e-commerce service to manage orders through shopping baskets. Their site is at http://www.mals-e.com/

Much like PayPal, cart content is sent via POST requests. As such, I have copied and adapted the code for PayPal cart integration.

I have one challenge that I can't crack... it's using the photo caption (which contains the file name on my computer) as the product name concatenated with the picture size. It works if I create a dummy variable outside of the place where the option box goes... but I either can't find the variable to use or there is something wrong with my code.

I would appreciate if someone had a look at http://eme43sap.smugmug.com/Vacation/Nova-Scotia/ and provide some hints.

Thanks

eme43sap
Sep-23-2009, 05:42 PM
I fixed it... short story, I did not have the javascript in the right spot.

I need to do some tweeking - nevertheless, go and have a look.

http://eme43sap.smugmug.com