Hey everyone, I've been struggling to add a shopping cart to a site for awhile -I'm sure I'm not the only one. I just managed to integrate FoxyCart. (www.foxycart.com) I'm always hesitant to become dependent on hosted services - but this one is making life much easier right now. Thought I'd share this find in case it can help someone else. Just follow the instructions on their site. I used a version of following code on my image.php file
`
" /> " />
8x10 11x14 16x20
` That was pretty much all I had to do (of course you have to call the scripts into the head of your file)
It's SO easy to configure - I'm not up to the task of creating a plugin - but I'll tell you how to add set it up.
First - you have to go foxycart.com and create an account. it's free for development - then $19.99 a month (or something like that)
Once you configure your account - they'll give you links to the scripts which you'll insert into the head of your pages. (image.php and any other pages you want shopping cart info on - ie a mini cart in your sidebar on the album page etc)
`
` Then on your image.php file: Something like this
`
" /> " />
8x10 11x14 16x20
` That's really all there is to it. There's a bit of configuring to do on the foxycart admin pages - they have really good docs and a forum.
OH - and you can probably ignore my earlier post about the no-conflict...
I did remove any calls to 'edit in place' on my pages which solved conflicts that I was having - it that's important to you, you'll need to work out a solution.
example:
this `<?php printImageTitle(); ?>`
instead of this; `<?php printImageTitle(true); ?>`
Comments
`
jQuery.noConflict();
`
First - you have to go foxycart.com and create an account. it's free for development - then $19.99 a month (or something like that)
Once you configure your account - they'll give you links to the scripts which you'll insert into the head of your pages. (image.php and any other pages you want shopping cart info on - ie a mini cart in your sidebar on the album page etc)
`
`
Then on your image.php file: Something like this
`
" />
" />
8x10
11x14
16x20
`
That's really all there is to it. There's a bit of configuring to do on the foxycart admin pages - they have really good docs and a forum.
I did remove any calls to 'edit in place' on my pages which solved conflicts that I was having - it that's important to you, you'll need to work out a solution.
example:
this
`<?php printImageTitle(); ?>`
instead of this;
`<?php printImageTitle(true); ?>`