PDA

View Full Version : Linking Directly To Products


Martin Smith
12-Aug-2003, 10:12 AM
Hello,

I am attempting to link from an external site to products within an Actinic site using the following syntax:

http://www.domain.com/cgi-bin/ss000001.pl?PRODREF=1796E&ACTINIC_REFFERER=http://www.domain.com/acatalog/&NOLOGIN=1

Loading that URL displays the following error message:

Missing text search join mode. Please specify AND or OR.

I can supress this error message by adding &TB=Oto the URL.

However this loads a SERP rather than the page containing relavent to the product that I am trying to link to.

Anyone have any ideas where I am going wrong?

I don't know if it makes any difference, but the site I am linking to uses frames.

Thanks,

pinbrook
12-Aug-2003, 01:01 PM
you can link direct to a product using the following format

http://www.domain.co.uk/acatalog/page_name.html#product_refno

Martin Smith
12-Aug-2003, 01:20 PM
Thanks, but this method doesn't offer any insurance against the name of one of the HTML pages changing, so I would like to use the cgi script if possible.

pinbrook
12-Aug-2003, 01:28 PM
if you are using V6 then you set the page name yourself so It won't change.

Martin Smith
12-Aug-2003, 01:44 PM
The acatalog is under client's control so I am unable to make this assumption.

Martin Smith
13-Aug-2003, 09:14 AM
bump

cdicken
14-Aug-2003, 02:34 PM
I'm just comparing this to the links we use for knowledge base articles:

http://knowledge.actinic.com/users/kadmin/cgi-bin/ss000007.pl?PRODREF=520&NOLOGIN=1&ACTINIC_REFERRER=http://knowledge.actinic.com/users/kadmin/acatalog/

The only differences I can immediately see are that you have spelt 'REFERRER' wrong and we also have the ACTINIC_REFERRER parameter last.

The reason this works is because of the PRODREF= parameter. If the search script gets this (rather than SS=) then it shouldn't be asking for join modes etc.

Martin Smith
14-Aug-2003, 03:19 PM
Thanks for the reply Chris, still no joy with the referrer spelt correctly :(

Can I pvt you the URL so that you can see the problem please?

Thanks.

cdicken
14-Aug-2003, 04:30 PM
Yes - email communityadmin@actinic.co.uk

cdicken
15-Aug-2003, 09:17 AM
Hmmm... I see what you mean. Very odd.

I think it may be something in your search settings (in 'View | Search Settings') but I'm not 100% sure.

What I would suggest is temporarily create a brochure fragment on the home page of your store (a brochure page) that links to a product. Then see what Actinic produces as the URL for the link in the uploaded store.

If the link that Actinic produces does not work, then you have got a bug in your scripts somewhere. If it does work then you should be able to use the format of that link as a guideline.

Mox
18-May-2004, 06:10 PM
Hi Jo,

I have used your suggested linking in the past...

http://www.domain.com/acatalog/pagename.html#product_refno

yet now when I try to use it, I can't seem to get it to work.

This works:

http://www.dirtbikestore.co.uk/acatalog/DirtBikeStore_com_Tyres__Tubes_And_Accessories_66.html#aRomvelo

yet this doesn't:

http://www.dirtbikestore.co.uk/acatalog/DirtBikeStore_com_SFB_Racing_Billet_Factory_Clutch___Ignition_Covers_142.html#500-100


Is it anything to do with the product reference being a number, or hypened or???!!

I'm very confused!!

Thanks in advance!
Mox
http://www.dirtbikestore.com

Mike Hughes
18-May-2004, 06:42 PM
First of all the second reference should be #a100-500 (note the missing 'a' from your link) but I think you'll find that the product reference you should be looking for anyway is listed as 'a100_2d500' in the source code.

I don't know why it's like this, but if the original product code is right and the effect is consistent then maybe you could just replace '-' with '_2d' in the links.

Mike

Mox
19-May-2004, 09:22 AM
Genius!!

That worked a treat!! Many, many thanks Mike :)

Mox
http://www.dirtbikestore.com