Justin French <mailto:[EMAIL PROTECTED]>
    on Thursday, December 04, 2003 6:03 AM said:

> 2. Javascript pop-up -- you could take this part of the process out of
> the main window, and into a JS pop-up window which let's the user dig
> through categories, do searches, WHATEVER to find each product.  Then
> some JS code on the pop-up could talk back to the main window and
> 'fill in' 3 text-fields / hidden fields with the related product ID's
> / descriptions / etc.

I like this idea best. Except let me suggest a few changes.

Let's say you have a section of page like this (this is the part on the
product page where the customer chooses the related products).

+----+----------------------------+----------+
| ID | Product ID                 | Category | <a>Add Item</a>
+----+----------------------------+----------+

When the user clicks the Add Item link a popup will appear. This popup
will allow the user (like Justin describes) to find their product using
any number of methods (searching, scrolling through dropdowns, etc.).
When the user has chosen their product they will click an Add Item
button. This popup will POST to another page that will add an entry to
your related item's table for the specific product loaded in the parent
window. The add related item popup will then refresh to a blank page
ready for more searching.

When the user is done adding products (let's say they've added 15
related products already*) they have two options. One is to click a link
titled "Finished Adding Products" and two is to click the X on the
window to close it. Your js will be setup in such a way that when the
window gets closed (either by method 1, or method 2) it will instruct
the parent window to reload. Upon reload the parent window will now
display all the related products and the categories those related
products are in (along with their order) like my picture shows above.

Make sense?


HTH!
Chris.

* You'll want to make sure you use a seperate table for the related
items so that the user can add as many as they want and are not limited
to a specific number (i.e. 3).
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to