Kryptronic Software Support Forum

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.

#1 11-19-2009 10:36:28

RobH
Member
Registered: 02-12-2009
Posts: 117

adding remote product from a plain html link - possible?

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

 

#2 11-19-2009 10:39:38

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: adding remote product from a plain html link - possible?

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

 

#3 11-19-2009 12:59:13

RobH
Member
Registered: 02-12-2009
Posts: 117

Re: adding remote product from a plain html link - possible?

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

 

Board footer