PDA

View Full Version : Capturing Personilsed Info on Product Page


MikeBooker
25-Apr-2003, 04:29 PM
How can I set up a product to capture personalised info on the product page that is passed through to the order. I know its easy to do at the checkout, but is it possible to do it on the product page itself? V4

(have spent ages searching the archives but not found a solution)

Jan
25-Apr-2003, 05:03 PM
Norman Rouxel has a solution that allows you to have extended information on the product page, unfortunately it is only available for V5 or V6 but you might be able to work it out for V4. See http://www.rouxel.cwc.net/actinicstuff.html for more details.

Regards,

MikeBooker
25-Apr-2003, 05:16 PM
Jan

Thanks - the V5/V6 solutions are a bit heavy, but I'll have a look to see if something can be done for V4. All that is needed is for AC to accept the additional info and pass it to the next screen.

Unless someone has a simpler solution?

cdicken
28-Apr-2003, 09:16 AM
Well, you've got the 'Other Info' and 'Date Info' prompts - although in v4 these fields appear in the 'Add to Cart' page rather than the product page. If you want them on the product page, you need to upgrade to v6.

MikeBooker
03-May-2003, 03:52 PM
I have now found a way of getting input from a custom field on the product page through to the Info prompt field and thus into the order.

Not the slickest method, as the field re-appears on the order details page (albeit pre-filled with the input from the product page), but better then nothing.

Overview of the solution:

When you click on the order button, AC then returns the Order Details page, and very thoughtfully includes the contents of the previous form input in a hidden field called PREQUERY.

So if you add a custom input field to a product template the contents are available at the order details stage amongst all the other data. This is also the stage where the Other Info prompt field is located.

The solution therefore is to add some Javascript to extract what you want from the PREQUERY field and add it to the Info Prompt field. No Perl mods required.

Note that the script also has to allow for exceptions etc.

NormanRouxel
03-May-2003, 05:13 PM
I posted a lightweight version of doing this recently. It's on the V6 forum but should work in V4 and 5. See:-

http://community.actinic.com/showthread.php?s=&threadid=1584

For details.

Norman

MikeBooker
03-May-2003, 05:23 PM
Norman

Yes thanks for that it works well on the Order Details page against the Info Prompt.

However, the problem I was set was to put the input box (or boxes) on the original Product page, and my solution does just that.

Combining the two would allow multiple boxes on the product page to be carried through.

NormanRouxel
03-May-2003, 06:09 PM
Ooops. I forgot that V4 didn't allow for Quantity on Product Page type products and that's what my patch was really intended for.

Norman