PDA

View Full Version : link to a product


otiz
08-Nov-2006, 03:07 PM
Hello

at present on my site, say a product here http://www.islandentertainmentsonline.com/acatalog/TV___Movie_Costumes.html on this page i have a picture of a cat/dog that links to view the image of a matching costume, can i link the the image with the desription as it does when you use the search box?

ie when you say search for batman and click the link it takes you staight to it, i want to do this for my matching costumes.

i have tried to use the link from the search box but it still takes me to the page and not the item.

thanks

Paul

jont
08-Nov-2006, 03:25 PM
This may be what you are wanting http://community.actinic.com/showthread.php?t=25058

jont
08-Nov-2006, 03:32 PM
Paul - you may want to look at the size of that page linked above - it shows a page size of 1871kb which is a monster page weight.

There is a known issue with long sections (pages) in users clicking the "more info" button before the page has fully loaded (quite possible with that size of page) and causing the pae to reload itself or fail to open the new window.

otiz
08-Nov-2006, 03:33 PM
thanks i'll give that a go

Paul

otiz
08-Nov-2006, 03:36 PM
hi

i have no more info on my pages, i show all details on the page. i am having a new site built around act version 8 and will have it better optimised, ie images etc.

i will try the link at work tomorrow, is the weight of the page to do with the size of the images?

thanks for info

otiz
09-Nov-2006, 02:50 PM
Hi Jont

Link works but how do i go straight to product and not a log in?

http://www.islandentertainmentsonline.com/acatalog/Pirate_Lasses.html

click lady sea robber matching logo

can you give me the exact script without the log in, thanks.

Paul

jont
09-Nov-2006, 02:52 PM
You have not used the whole script in the linked thread above - your link is missing the LOGIN function at the end - check you have copied and pasted the whole line as it extends past the viewable window

otiz
09-Nov-2006, 02:54 PM
i took that off as i read in a forward thread this take them back or something?

Paul

otiz
09-Nov-2006, 02:55 PM
ok, will try the whole link at work tomorrow that shoud go straight to the product then yes?

thanks for help

Paul

otiz
09-Nov-2006, 02:57 PM
it was this i read below, my customers dont log in.

Paul

wow, nice one! I thought the answer would be no for sure...

If I try it with the NOLOGIN then it seems logs the user out...

As this will only be used for logged in users, I assume that if I remove the "&ACTINIC_REFERRER=http://www.site.co.uk/acatalog/&NOLOGIN=1" bit it will work quite happily without logging them out?

I tried it and it seems to but it would be nice to know that it should work this way, rather than it just happens to work that way...

jont
09-Nov-2006, 03:24 PM
That user was experiencing issues with logged in customers being logged out - I use the code as I posted originally to take non-logged customers straight to the product bypassing the login routine which is how I think you want it to work also.

The switch can be swapped from "1" to "0" but it will work "as is" for what I think you are after.

Try it and see what happens.

Jont

otiz
09-Nov-2006, 04:17 PM
many thanks i will try tomorrow.

Paul

otiz
10-Nov-2006, 10:23 AM
hi Jont


!!< <a href="http://www.islandentertainmentsonline.com/cgi-bin/ss000001.pl?PRODREF=1623&ACTINIC_REFERRER=http://www.site.co.uk/acatalog/&NOLOGIN=1>"> <img src="part.jpg" border=0> </a> >!!

tried this get script error?

i have replaced site.co.uk with mine but makes no odds, can you see an error here?

thanks for help

Paul

jont
10-Nov-2006, 10:25 AM
can you see an error here?

ACTINIC_REFERRER=http://www.site.co.uk/acatalog

you need to use your own domain in lieu of the example "site.co.uk" as well as replacing in the first part of the code

otiz
10-Nov-2006, 10:50 AM
Hi

Got this now,... not working get script error below.


!!< <a href="http://www.islandentertainmentsonline.com/cgi-bin/ss000001.pl?PRODREF=1623&ACTINIC_REFERRER=http://www.islandentertainmentsonline.com/acatalog/&NOLOGIN=1>"> <img src="part.jpg" border=0> </a> >!!



A General Script Error Occurred

--------------------------------------------------------------------------------
Error: Input contains invalid characters.
--------------------------------------------------------------------------------
Press the Browser back button and try again or contact the site owner.

Thanks

PAUL

jont
10-Nov-2006, 11:07 AM
Have just tried the link from the Lady Sea Robber and it took me straight to Sea Robber Costume (mens) using Firefox but got the same script error as you when using Internet Explorer.

Check the closing quotation position on the <a> tag ..... <a href="http ........NOLOGIN=1">

you have it outside the >" at the moment

jont
10-Nov-2006, 11:10 AM
Try:

!!<<a href="http://www.islandentertainmentsonline.com/cgi-bin/ss000001.pl?PRODREF=1623&ACTINIC_REFERRER=http://www.site.co.uk/acatalog/&NOLOGIN=1"> <img src="part.jpg" alt="see matching costume" border=0 /></a>>!!

Note ...

positioning of closing "
removal of superfluous >
closing of spaces in the code
addition of the ALT code

HTH

otiz
10-Nov-2006, 11:27 AM
PERFECT!

Thanks

Paul

jont
10-Nov-2006, 11:49 AM
PERFECT

Hoozaah :)

otiz
10-Nov-2006, 01:45 PM
again thanks for your help jont, could i use this script on small images on my description pages to take people to accessories for the costume instead of using the component check box, ie instead of the check box a small image of an accessory, or is there a better script for that?

thanks

Paul

otiz
10-Nov-2006, 01:50 PM
Hi

That little bit of script has spured me on to replace the part.jpg which is my image for a small picture of the costume, think i'll wait until they have finished bespoking version 8 for me, but think picture of the matching costume may be benificial, GREAT!

Thanks

Paul

otiz
10-Nov-2006, 02:15 PM
Hi Jont
sorry to bother you again.

on this web site (same thing as mine) on this this page

http://www.wonderlandparty.co.uk/acatalog/Fancy_Dress_Shop_Gents_Costumes_147.html

i also want to add some text before my components ie they have "Don't forget to add the essential accessories below for the full effect"
dont want to use that but where do you put the text?

they also have the component linked to a pop up image, this is what i need,
is this additional script?

thanks

PAUL