How to activate neostore customer form extension within Cegid retail Live Store?
Live Store extension
Introduction
Neostore extension replaces the Live Store customer form for customer creation and update.
After creation or modification, the user is automatically redirected to the customer details page of Live Store
Also, we can leverage this extension to display our QR code for self -service registration.
Pre-requisites:
- Live Store v.xxxx
- Neostore tenant activated
- Cegid Retail Y2 CONNECTOR
Neostore config:
- Génération d’un clé API avec tenant.y2.listener
https://admin.neostore.cloud/tenant/xxxxx/apiKeys
API Key : XXXXXX
- Config neostore
-
security.yml : ajouter un accountChallengers - type: livestore
-
Modifier le flow pour rajouter un flowElement livestore
-
rajouter un fichier server/livestore.yml
layout: mobile_ls #layout use by POS - should use the flow livestore useTabletMode: false provider: y2 customerRedirectLayout: mobile_livestore #layout use when customer scan QR code
-
configure both layouts
-
Live Store config:
Newpossettings
TEST: https://XXXXXXXX-test-retail-ondemand.cegid.cloud/Y2/newpossettings/
PROD: https://XXXXXXXX-retail-ondemand.cegid.cloud/Y2/newpossettings/
Extension should be configured at the Global, country or store level. Not available at the register level
LiveStore_Connector_ExternalCustomerForm
active: true
apiEndpoint : https://app.neostore.cloud/api/xxxx/external/livestore/session
endpoint : https://app.neostore.cloud/api/xxxx/external/livestore
headerName : X-API-KEY
headerValue : izxqzgY_KzZuSxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
to force the store we can use at store level
endpoint : https://app.neostore.cloud/api/xxxx/external/livestore?storeId=YYY
Display QR code on customer form:
useTabletMode: True
layout: pos
useTabletMode: true
provider: y2
customerRedirectLayout: mobile