DIY Apache OfBiz Challenge: Create an E-Commerce Store in Under 15 minutes

Arun PatidarPublished: Updated:

Ready?

blue stopwatch

Are you up for the DIY Apache OFBIz challenge? Create your e-commerce store in under 15 minutes!

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!)

Set.

To get started, be sure JDK is installed on your computer.

Go!

  1. Ensure computer has JDK 1.6 installed.
  2. Download Apache OFBiz 13.07 from here.
  3. Unzip the downloaded file and place it in a location of your choice.
  4. Start Terminal and go to the home directory of Apache OFBiz.
  5. To load the data, use command ‘./ant load-extseed’
  6. 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’)
  7. Type command ‘./ant start’ to start the server. This command builds the application and prepares it for the setup process.
  8. Access OFBiz instance from your browser using http://localhost:8080/ofbizsetup/control/main
  9. 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)
  10. 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.

CreateNewOrg

Click on the Facility menu item and fill-out the form

Facility

  1. Click on the ‘Product Store’ menu item and enter store name.
  2. Click on the ‘Website’ menu item and submit the form after entering details.
  3. Click on the ‘First Customer’ menu item and enter the details for a customer. Remember the username and password you entered.

FirstCust

Click on the ‘First Product’ link and provide details about catalog, category and product.

    FirstProduct   FirstProduct-ProdDetails     

  1. 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.
  2. Receive inventory for new product
  3. Go to https://localhost:8443/catalog/control/FindProduct and search for your newly created product.

FindProductPage

Click on the product link and go to the Inventory section of the product by clicking the ‘Inventory’ link.

ProductDetailPage

Click on ‘Receive Inventory’ and enter the value for ‘Quantity Accepted’ and ‘Per Unit Price’ fields.

ReceiveInvPage

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.

MainPage

Add products into your cart and complete the one page checkout process.

OrderConfirmationPage

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.

Questions?

Help line: 877-736-4080 .

→Give HotWax Media a call for expert design, implementation, and support of your enterprise OFBiz system.

Arun Patidar About Arun Patidar
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.

Comments 1

  1. Avatar for Arun Patidar

Leave a Reply

Your email address will not be published. Required fields are marked *