PDA

View Full Version : ordering by part number


Darren B
21-Feb-2003, 11:12 AM
Has anyone or does anyone know if someone has designed a customised page which allows the customer to order by part number.

The reason i ask is we mail out 100 of thousands of catalogues a year and every part has its own part number, these are also on my website, now the way i understand it is all the information is on the website so i need to create a page that allows the customer to enter his part numbers and qty then click buy and providing i get the right routines it should work. This is where i get a bit stuck, trying to find the right commands to make this work.

nice and simple as my MD sees it.

I would love to know if someone has any suggestions.

Cheers
Darren :cool:

cdicken
24-Feb-2003, 08:28 AM
In the AUG, in the section called something like 'Taking Your Customers Directly to a product' it tells you how to create a form field that people can enter a product reference into and then be taken to the correct product.

Darren B
24-Feb-2003, 10:39 AM
Chris

Thanks for that, but i am having trouble making it work.

I keep getting the error back page not found.

I have used the simple form just to test it then to customise it to my requirements.

I have used the example in the AUG for creating the form and have located this on my site at

http://www.casupply.co.uk/acatalog/partorder.html

have i missed something glaringly obvious because of a heavy weekend or am i just being thick. I've tried the form with the actinic referrer statement but all to no avail. At present it just has these line in it

<FORM METHOD="POST" ACTION="http://www.casupply.co.uk/cgibin/ss000001.pl">
<P>If you wish to search by our catalogue numbers then please enter it in the
box below.</P>
<P>Part Number
<INPUT TYPE="text" NAME="PRODREF" SIZE="20">
<INPUT TYPE="submit" VALUE="Find Product">
</P>
</FORM>

Could someone offer me a bit of help with this one?

Cheers
Darren :confused:

cdicken
24-Feb-2003, 01:08 PM
Try including the line

<INPUT TYPE="HIDDEN" NAME="NOLOGIN" VALUE="1">

within the <form></form> tags.

Darren B
24-Feb-2003, 02:28 PM
sorry chris

im still having no luck, i've tried various formats

anyone else out there able to assist?

darren ;)

zmagyar
24-Feb-2003, 10:35 PM
Originally posted by Darren B
anyone else out there able to assist?

If my assistance is suitable... :)

As far as I can see you have set up your Catalog to use .cgi for script extension. Therefore you should refer to your search script in this way in the HTML form. In other words the line

<FORM METHOD="POST" ACTION="http://www.casupply.co.uk/cgibin/ss000001.pl">

should be

<FORM METHOD="POST" ACTION="http://www.casupply.co.uk/cgibin/ss000001.cgi">

Regards,

Zoltan
Actinic Software

paulh69
25-Feb-2003, 03:49 AM
actinic is getting close to a "shop the catalogue" style of ordering
the search script will find multiple codes

e.g. http://www.westons.com/cgi/ss000247.pl?SS=noz3k+aan1s+aap35s&PR=-1&TB=O&SHOP=

and the select items from a list type product
http://www.actinic.co.uk/examples/acatalog/Select_Items_from_a_List.html

but it looks like it would need a new SearchScript to search specifically by several product codes and add an add to cart button and changes to ShoppingCart.pl to handle products from different sections?

something for 6.0.3??

zmagyar
25-Feb-2003, 06:59 AM
something for 6.0.3??
Most likely the next major release rather than the next minor one.

BTW this can be done by a minimal script customisation if you do no use product components and attributes.

Regards,

Zoltan
Actinic Software

Darren B
25-Feb-2003, 11:31 AM
thanks for all your help guys

i'm getting to where i need to be slowly

the next question is

does anyone know how to get it to search for part thats have been hidden. all my parts with various colours & sizes are all associated to hidden parts which have the correct part number. Now i cant put these on the site for the customer because there are some 3500 products.

What i need is

if i have a product call bt25w and the customer searches for this it answers can not find product now is there a way i make it look for bt or btw this would then take them to the right place because bt is unique to this product range and all variants of.

I know you people have a lot more to do than sit and help me but im learning fast

Cheers
Darren ;)

cdicken
26-Feb-2003, 02:59 PM
No ideas on this one I'm afraid.

The search will always compare the search term entered to the beginning of the words in the index. So, for instance, if someone entered 'shoe' and the word 'shoes' was in the index, then it would find it. But if someone searched for 'btw345' and the word in the index was 'bt' then it would not find it. I'm not sure what the way forward would be for you here.