Basically I am building a simple admin area for them from scratch.
These users entering puppies are not involved in the rest of the site, they purely enter individual animals such as puppies but on a pretty much daily basis and somtimes they have to enter 10 or so puppies. As they do this they have to retype the same store information in 1 particular textarea over and over again for every new animal they add.
the admin area I created for them is just a password protected directory using .htacess and .htpassword with very limited controls over data. The directory was created and protected using features found in cpanel and it is not connected to the actual oscommerce site other than it does enter some data into the product related tables.
With livestock such as puppies there are no inventory or stock controls, no online buying options, customers have to go to the particular store to buy the puppy because each puppy is unique and once sold it is deleted from the database.
Basically the staff log into this "simple admin area" to enter a new puppy and to remove them once sold and that is all there is for them to do.
So there are only a couple of options to "add Puppy" "edit Puppy" or "Delete Puppy".
When they login and click "Add Puppy"
the script simply ads a new product to the inventory with a product_id
so in step1 a table in the oscommerce database called products_to_categories gets a new entry
eg
table: products_to_categories
this has 2 columns/fields only
prod_id cat_id
they click submit and that table is updated and they are taken to another page for step2.php where they enter some information that goes into the second table called products
this has things like prod_id, price, product_title, product_image etc
they click submit and go to step3.php
Because oscommere is not set up for multiple locations there is no information on the different stores contained in the database or the frontend store.
So now on step 3 they enter information into the 3rd table called products_description which contains only a single textarea for the puppies description and since it is the only place that can tell a "customer" which store the puppy can be found at, All the information must be supplied that is submitted to a single field in the products_description table. This has to be a block of html code because straight text comes out in the shopping cart as a block of text with no formating or links.
The issue I have is to make it easy for them to quickly get that textarea filled in
so It needs to contain a prewritten html template with relevent store information so they simply edit the prefilled textarea with a few details for the new puppy and not have to edit the template with the store location,phone number, link to map etc
there is just one field here which is why I was first trying to have a link for say "store1" which when clicked will change the prefilled textarea containing generic html code to better reflect store1 or store2 etc
If necesary I can set up a php login rather than the simple .htpassword protected directory and use cookies or a session and create a new table in the database for this purpose whcih can hold any necesary information but I dont know how to go about making this simple because its a single field being edited so as far as I know all of the info would have to go into one field rather than seperate fields in a database table anyway.
Your sugestion to have the textarea get autofilled depending on which store is "entering the new puppy" is great but means that there has to be some kind of dynamic "textarea" in step3 that is loaded in the form depending on which store is logged in. It seems logical to me to have somthing that basically says If user A is logged in then include textarea A else if user B is logged in include textarea B
Hope that makes sense, sorry for the long post, just trying to give as much info as I can..