-
Type:
Documentation
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: APIs, Integrations and Extension Points
-
Labels:None
Create a guidance on setting up the environment for Commerce development
- Repo structure
- Environment variables
- Setenv -> JVM properties
- Branches
- Folder structure for the repos
- How we can alter the default bundle location
- Setting up the workspace in Intellij
- Commands to build the modules with profiles
- Using snapshot builds for portal https://grow.liferay.com/share/How+to+Improve+Build+Time#Use-Daily-Snapshot-Builds-and-Test-Servers-ant-nightly
- Best practices when something is not working; drop db, data folder, osgi state, clean repo
Notes:
1) Write - Setup instruction for Commerce
commerce:
7.1.x
7.1.x-next
commerce-private:
7.1.x-private
7.1.x-next-private
!7.1.x
!7.1.x-next
2) – Refreshing after a new build
Product
- Site initializer (Breccia)
- Friendly URL Servlet -> Product Display pages - FriendlyURL Resolver /p/ --> ProductFriendlyURLResolver
- SKU - ID of the real product
- Option -> SKU contributor
- ExternalReferenceCode in service.xml --> entity external-reference-code="true" in commerce-product-service
- Product relations - Static link between products
Settings
- ExchangeRateProvider -> ECB ExchangeRate provider
User segmentation
- OrganizationCommerceUserSegmentCriterionTypeJSPContributor -> OrganizationCommerceUserSegmentCriterionTypeImpl
Permissioning - Catalog rules
Search container replacement:
- CODMMERCE-755-aaaa
Requirements
- Product Endpoint
- Async
- Versioning
Tommerce: com.liferay.commerce.application.list.internal.CommercePanelCategory