Last Updated 20230809
In the security setup a product store will be required to add your first Employee.
Select Catalog
Select Store
Click
New Product Store
Create Product Store
Product Store ID
Type PS_RS_CA_MAIN
Note: Could be a bug, but it does not matter what you put here it will assign a numeric value.
Note: Thoughts about Product Stores. You can have many stores. Think about a holding company like Rocky Brands. They own many brands of boots. Each of those brands would need there own product store, website, etc... Some of those brands would need a US Product Store and a European Product Store. Each store can have separate inventory options, payment options, shipping options, and currency to name a few.
Type Store Name
Note: Store Name displays on the web browser tab. Title displays to the left of the Shopping Cart Empty in Bold and a larger font. Sub-Title displays right below the Title in a smaller font.
Note: I changed the Store Name to Ruffian Specialties due to it displaying on the web browser tab.
Select Web-Based Store Visual Theme
Set Inventory Facility ID
Click
Update
Note: Payments - Pay To Party ID - Has something to do with Order - Order Entry "Select an agreement for this order". This drop down field will be hidden if the Payments Pay to Part ID is blank.
Create Website based on Product Store
Select Web Sites
Click
New Web Site
Type Web Site ID
RS_WEBSITE
Type Site Name
Ruffian Specialties Website
Select
Visual Theme Set
Select Product Store ID
Click
Submit
Load your Eclipse installation because your going to need to edit the web.xml file.
Select Working Tree
Select plugins
Select ecommerce
Select webapp
Select ecommerce
Note: You should make the same change in sub-directory for ecomseo.
Select WEB-INF
Double Click
web.xml
Locate WebStore
Replace with RS_WEBSITE
Click
Floppy Disk Icon to Save Changes
Shutdown OFBiz
Type gradlew "ofbiz --shutdown"
Press Enter
Be Patient before going on to the next step. It takes a few minutes for ofbiz to completely shutdown. It won't restart if you rush it.
Restart OFBiz
Type gradlew "ofbizBackground --start"
Be patient before going to the next step or your screens won't come up.
https://localhost:8443/ecommerce/control/main
Basic website with no data.
Advanced Tip
Import data with the Web Tools as detailed in OFBiz Facility Setup .
Select Web Tools
Select Import/Export
Select XML Data Import
Paste & Edit Product Store data
Click
Import Text
Note: Error in first import due to inventoryFacilityId="F_CA_MAIN" not being correct. Watch your spelling.
<entity-engine-xml>
<ProductStore productStoreId="PS_RS_CA_MAIN"
storeName="Ruffian Specialties"
companyName="Ruffian Specialties"
title=""
subtitle=""
payToPartyId="5000"
daysToCancelNonPay="30"
prorateShipping="Y"
prorateTaxes="Y"
inventoryFacilityId="RS_F_CA_MAIN"
oneInventoryFacility="Y"
checkInventory="Y"
reserveInventory="Y"
balanceResOnOrderCreation="Y"
reserveOrderEnumId="INVRO_FIFO_REC"
requireInventory="N"
defaultLocaleString="en_US"
defaultCurrencyUomId="USD"
defaultSalesChannelEnumId="WEB_SALES_CHANNEL"
allowPassword="Y"
explodeOrderItems="N"
retryFailedAuths="Y"
reqReturnInventoryReceive="N"
headerApprovedStatus="ORDER_APPROVED"
itemApprovedStatus="ITEM_APPROVED"
digitalItemApprovedStatus="ITEM_APPROVED"
headerDeclinedStatus="ORDER_REJECTED"
itemDeclinedStatus="ITEM_REJECTED"
headerCancelStatus="ORDER_CANCELLED"
itemCancelStatus="ITEM_CANCELLED"
orderNumberPrefix="WS"
authDeclinedMessage="There has been a problem with your method of payment. Please try a different method or call customer service."
authFraudMessage="Your order has been rejected and your account has been disabled due to fraud."
authErrorMessage="Problem connecting to payment processor; we will continue to retry and notify you by email."
storeCreditValidDays="90"
storeCreditAccountEnumId="FIN_ACCOUNT"
visualThemeId="EC_DEFAULT"
prodSearchExcludeVariants="Y"
autoApproveInvoice="Y"
shipIfCaptureFails="Y"
autoApproveOrder="Y"
showOutOfStockProducts="Y"/>
</entity-engine-xml>
<entity-engine-xml>
<WebSite webSiteId="RS_WEBSITE" siteName="Ruffian Specialties Website " productStoreId="PS_RS_CA_MAIN " visualThemeSetId="ECOMMERCE"/>
</entity-engine-xml>