2.1
PrintShop Web Web Integration Guide | 12
Custom store front pages
In our example the storefront.php contains a hard coded list of documents. The images on the page
have a hyperlink pointing to the external_login.php file.
A custom store front page
The URL is targeted towards the PSW system running on the localhost and states the entered user
name and the encrypted password returned by the authentication process. The fcFormID parameter
states preview_init_form . This page is used by PSW to determine the data entry workflow (user input
versus database input) and populates the sessions required to create a new order. The fnID parameter
states the internal database ID of the template (primary key). As these IDs are hard coded they need to
match the psw database.
http://localhost/external_login.php?fcUserName=administrator
&fcPassword=H83REb92%2Fd5LiZaXhfx87g%3D%3D&fcFormID=preview_init_form&fnID=1
The page IDs, form IDs and internal IDs can be retrieved easily from the Status bar of your web
browser. Below the Status bar information is shown when hovering the cursor over a template in the
standard Store Front page of PSW.










