You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi all,
I'm trying to find a way to add a remote product to my cart without using a form, is this possible? I'm doubtful but I have to at least try...
I don't use CCPs own catalogue, I have my own database and am only using CCP6 for the remote add function, all my existing pages use a form to add products. Problem is I want to add a 'special offer' type graphic to my homepage which will add the featured product when clicking a link. I don't think using a form would be possible as I have a single graphic with various offers which can be chosen by clicking the appropriate 'hotspot'. It looks as though I'll have to use seperate graphics and multiple forms with hidden fields :-(
Any observations??
Thanks and regards,
RobH
Offline
You should be able to do it by placing all of the values in the URL but that would probably not be a good idea since there are quite a few hidden form fields you really wouldn't want to be exposed and even easier to change than they are when using a form. Sounds like something that Ajax might be able to help you with though. Have your image links make a call under the covers that submits the form and data to CCP.
Offline
Thanks Dave. In the interim I've used a table with seperate forms in it, it seems to work ok but not the solution I was hoping to use.
I used to use Mals E commerce, this used plain links which were open to manipulation by customers, only happened a couple of times, don't know why they bothered wasting their time, obviously we're not going to sell something fora lower price just because they modified a link...I'll do some experimenting with your suggestions.
Cheers
RobH
Offline