In order to create a new E-Commerce Back-Office Domain with Shopify Integration, follow the mentioned steps:
1. Create new Domain
- Contact Sir Irfan and ask him to add the domain to Cloudflare
- Visit http://crm.cartzlink.com.local/admin/indexyii.php?r=domain/NewDomain
- Enter the new domain name and create new domain
- Follow the steps mentioned in the next screen.
2. Domain Configuration
- Visit the new domain’s configuration screen, similar to the following URL: http://tpc.primeerp.top.local/admin/?r=settings/DomainConfiguration
- Enter the required details and click save.
3. Shopify Integration
- Go to Shopify partner portal and open Settings -> Notifications -> Webhooks

- Add the following webhooks (replacing the domain with your domain name):
- Order creation: https://denim600.primeerp.top/admin/indexyii.php?r=orders/webhooks
- Order update: https://denim600.primeerp.top/admin/indexyii.php?r=orders/webhooksupdate
- Order cancellation: https://denim600.primeerp.top/admin/?r=orders/cancelOrderFromShopify
- Order Fulfillment: https://denim600.primeerp.top/admin/?r=orders/fullfillOrderFromShopify
- Go to Apps -> Apps and Sales Channel Settings

- Click “Develop Apps”
- Add a new app with name, “CartzLink”
- Go to “Api Credentials”
- Click “Install App”
- Select all permissions, then generate API token
- Visit the Shopify Integration (https://denim600.primeerp.top/admin/?r=orders/shopifyIntegration) screen and enter the API token + your store’s URL
- Click integrate.
- Add the following URLs to CRON job (replace with your domain name):