Up for a DIY Apache OFBiz challenge? Today’s HotWax DIY project will empower you to set up an e-commerce store (simple out-of-the-box, single product and category) in 15 minutes or less, using OFBiz Setup Wizard.
After reading this post, time yourself while setting up your store. Then be sure to use the blog comment field to post your time. (Best times win official bragging rights!)
To get started, be sure JDK is installed on your computer.
- Ensure computer has JDK 1.6 installed.
- Download Apache OFBiz 13.07 from here.
- Unzip the downloaded file and place it in a location of your choice.
- Start Terminal and go to the home directory of Apache OFBiz.
- To load the data, use command ‘./ant load-extseed’
- To create a user, use the command ‘./ant create-admin-user-login’ (Note: You can create any desired user, however the password will default to ‘ofbiz’)
- Type command ‘./ant start’ to start the server. This command builds the application and prepares it for the setup process.
- Access OFBiz instance from your browser using http://localhost:8080/ofbizsetup/control/main
- Login into the application using:
Username: admin (This will be the user created using the ‘./ant create-admin-user-login’ command)
Password: ofbiz (This is the default password)
- You will see a form to ‘Create New Organization’. Fill-out the form by providing the required organization details. Note:Make sure party ID field value is not be more than 7 characters.
Click on the Facility menu item and fill-out the form
- Click on the ‘Product Store’ menu item and enter store name.
- Click on the ‘Website’ menu item and submit the form after entering details.
- Click on the ‘First Customer’ menu item and enter the details for a customer. Remember the username and password you entered.
Click on the ‘First Product’ link and provide details about catalog, category and product.
- After completion of all of the above steps, now click to ‘Set To Complete’ link. This will redirect you to the catalog component. Use username=admin and password=ofbiz to login into the catalog application.
- Receive inventory for new product
- Go to https://localhost:8443/catalog/control/FindProduct and search for your newly created product.
Click on the product link and go to the Inventory section of the product by clicking the ‘Inventory’ link.
Click on ‘Receive Inventory’ and enter the value for ‘Quantity Accepted’ and ‘Per Unit Price’ fields.
Congrats! your store is ready to take orders. Now visit your E-commerce store by following the link: http://<PUBLIC_IP>:8080/e-commerce/control/main
Login into the E-commerce store using customer credentials created above.
Add products into your cart and complete the one page checkout process.
Just follow these quick steps to setup your store and enjoy exploring your OFBiz store. To find out more about OFBiz, please get in touch with us. Thanks for your time!
Finish Line for DIY Apache OFBiz Challenge:
Congratulations on creating your new e-commerce store! This exercise yields a single product and category — to add more products and categories, use the catalog component ( http://localhost:8080/catalog/control/main) of OFBiz.
Next HotWax DIY Project:
Don’t miss our next post: Find out what happened when we load tested Apache OFBiz 13.07 against a 1,000 OPD scenario.
Help line: 877-736-4080 .
→Give HotWax Media a call for expert design, implementation, and support of your enterprise OFBiz system.
Arun Patidar is a Manager of Enterprise Software Development with HotWax Systems. Arun is an e-commerce ERP enthusiast and full time developer with expertise on OFBiz. He enjoys participating in the OFBiz community and sharing his thoughts on new interventions in the OFBiz community.