PDA

View Full Version : AM I MAD-passing a login/password to actinic login page


codec
06-Jan-2003, 02:35 PM
i have just finished a site for a retail client using catalog v6

it has 500 products in 10 main sections, say www.retail.co.uk

for the products in one of these sections, say "section a", the client is the UK importer and wishes to sell these products to the trade

the client has created a brand for these products in "section a", say www.brand.co.uk

the client wishes me to create a new web site to promote the brand www.brand.co.uk

he would like to maintain the products for www.brand.co.uk within Actinic

he doesn't wish to display product prices for "section a" products on the www.brand.co.uk site BUT he wishes to display them on the www.retail.co.uk site

he would like NOT to duplicate any products in 2 seperate Actinic databases.


I had the following MAD thought!:
Upgrade my client from catalog to business

Create a "wholesale" price schedule & a customer called "no_prices"

Setup products as screen capture attached, "wholesale" price zero

Link & pass a login/password to the Actinic login page

Is it possible to link to the actinic login page & pass a know login & password ?

Am i mad in even thinking of such a solution ?

If i am MAD, please release me from my torment.

cdicken
09-Jan-2003, 10:31 AM
Due to the security involved, unfortunately the username and password cannot be passed as parameters to the bb00001.pl login script to do an 'automatic' logging-in.

However, if you created a single buyer with a username and a password. You could then hard code the username and password into the Act_LoginPage.html page as hidden form variables <INPUT TYPE=HIDDEN...>. You could then change the text on the 'login' button to 'Enter Store'. Customers would then just click the 'Enter Store' button to enter the store as a registered customer.

Also remove <Actinic:WELCOME/> from Act_CatalogBody.html and <Actinic:NOWSERVING/>, <Actinic:CURRACCOUNT/> and <Actinic:LOGOUT_SIMPLE/> from Act_Primary.html.

codec
09-Jan-2003, 12:03 PM
thanks for replying

using your method , would unregistered customers still be able to see the retail prices ?

ferretneck
30-Dec-2003, 10:48 AM
Please excuse my ignorance, but what would the rest of the code be?

Ie <INPUT TYPE=HIDDEN...>

Cheers.