storefront-api icon indicating copy to clipboard operation
storefront-api copied to clipboard

Store Front with ADempiere Integration

Open yamelsenih opened this issue 5 years ago • 3 comments

What is the motivation for adding/enhancing this feature?

Hi everyone, this is a great Application and very useful. I am full developer at ADempiere Foundation on https://github.com/adempiere/adempiere and I want to integrate VueStoreFront with ADempiere like is magento, magento2 and others using a custom module.

What are the acceptance criteria

  • Create a Module for VueStoreFront based on ADempiere ERP as backend using https://sfa-docs.now.sh/guide/integration/integration.html#two-steps-for-the-integration
  • Implement current business logic of ADempiere for Web-Store together to VueStoreFront
  • Propose it as new integraion module for StoreFront-API

Can you complete this feature request by yourself?

  • [X] YES
  • [ ] NO

Additional information

Source: http://wiki.adempiere.io/How_to_create_a_WebStore

Web Store

  • Log onto ADempiere with Admin Role
  • Go to the Web Store window and create New Record Webstore_window

For the purpose of our exercise, we will modify the following:

  • URL – valid FQDN i.e. http://www.yourdomain.com
  • Web Context – context root to web store i.e. /newstore
  • Stylesheet – aesthetics of the web store can be changed by modifying the specified file in Cascade Style Sheet (CSS) format
  • Price List – the range of products available to the webstore is restricted by the Price List and whether or not the product is
  • Web Parameter 1 – Site Logo i.e. Adempiere120x60.gif
  • Web Parameter 2 – heading on content page
  • Web Parameter 3 – HTML code to customize the vertical side bar
  • Web Parameter 4/5/6 - HTML code for footers

Click on the Record Info button on the bottom right of the window. Make a note of the W_Store_ID as you will need it later to complete the setup. Webstore_Record_ID

Application Server

  • Shutdown the Application Server

WebStore Template

The WebStore template is stored under the archive file $ADEMPIERE_HOME/lib/adempiereWebStore.war. AdempiereWebStore_war

Creating the WebStore WAR files

  • Rename the directory adempiere.ear under the path $ADEMPIERE_HOME\jboss\server\adempiere\deploy otherwise that can be overwritten during RUN_setup
  • Run the silent setup (RUN_silentsetup) to create WAR file for the New Web Store
  • Rename the newly created EAR directory from adempiere.ear to something like adempiereNEWSTORE.ear
  • Modify the new web context in file .\adempiereNEWSTORE\META-INF\application.xml
  • Modify the web store ID in the file .\adempiereNEWSTORE.ear\adempiereWebStore.war\WEB-INF\web.xml to point to ID# 1000000 (in this example only)

Application Server

  • Run Adempiere Server

Notice difference in Price List and company logo

  • Standard Adempiere Web Store Webstore_Gardenworld

  • New Web Store Webstore_NewStore

Product Images

  • Product images are definable from the Image URL field on Product window

Notes:

I can integrate it with ADempiere ERP and I am happy writing it

Best regards

yamelsenih avatar Oct 12 '20 18:10 yamelsenih

Hello, In this moment, it would be much better for you to create integration for Vue Storefront Next. Please check this: https://docs-next.vuestorefront.io/integrate/ecommerce.html#scope

Fifciu avatar Oct 16 '20 08:10 Fifciu

Hi guys this is the first step with ADempiere changes: https://github.com/adempiere/adempiere/pull/3238

yamelsenih avatar Oct 19 '20 19:10 yamelsenih

Hi @Fifciu is Storefront-API development still active, or discontinued in favor to direct integrations via vsf-next?

schwabing avatar Nov 25 '20 09:11 schwabing