Jump to content

Shopping carts on other websites


gerkintrigg

Recommended Posts

I wondered if there's a way to allow users to easily use our shopping cart functionality without allowing them unrestricted access to our database.

 

I run http://www.truro.com - a free business listing website. The boss wants to allow customers to be able to add a shopping cart system to their own site using an easy-to-install code and I have no clue how to go about doing it - I love the way he throws stuff like this at me and expects me to work it out. :o)

 

Can anyone point me in a direction that might come close to answering it?

 

I've thought of iframes and web forwarding, but I can see huge problems with all of the above.

 

I suppose the issue will be allowing PHP/MySQL access from a server that might not have that kind of functionality.

Link to comment
Share on other sites

HTML-only is a big issue, and forces you to use some form of iFrame solution, or JavaScript solution. JavaScript doesn't play nice with cross-domain interaction (security reasons) though. I don't think it's something you can realistically offer your customers that don't have some sort of server-side scripting language available, and some kind of IT personnel to implement any sort of framework you give them.

 

iFrames won't integrate fluidly into their site, but it would be your only option. I suppose you could use a Flash application to do it as well, but you run into the same issues. You could always host the entire system for them, and have them simply link the customers to their 'shopping cart landing page' hosted on your domain. You can then have some sort of administrative back-end for your customers to add/remove products, check invoices, etc. Regardless, it's going to be a lot of work.

 

'Giving' them the information isn't an issue. You can give each customer an 'API key' tied to their account, that they can use to authorize any polling against you database (the API key would limit them to their own information only). This is kind of pointless on a static web-page though.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.