Our Blog

Shopify Salesforce Commerce Cloud Connector

Shopify Salesforce Commerce Cloud Connector

Running two online stores on different platforms is tough. It’s stressful.

If you’re juggling between Salesforce Commerce Cloud and Shopify. You know the data gets messy, you repeat work and customers get confused. It’s frustrating.

Our new Shopify Salesforce Commerce Cloud Connector fixes this. It syncs everything, your customers stay consistent and products match up. The orders are correct and the categories are organized.

It’s a huge relief. This connector makes things easy, boosts your efficiency, and gives customers a great experience test.

In this way, you can focus on what matters most: growing your business.

Features of Shopify Salesforce Commerce Cloud Connector

  • Catalog Sync: Sync product catalogs between Salesforce Commerce Cloud (SFCC) and Shopify, so your data is always up to date.
  • Product Sync: Be consistent with your product. Keep product listings in sync between SFCC and Shopify.
  • Customer Sync: Sync customer data, so both platforms have the latest customer info.
  • Order Sync: Sync orders between SFCC and Shopify, so fulfillment is smooth.
  • Real-Time Sync: Get real-time updates on products, customers, and orders.
  • Pricebook: Choose your default pricebook at SFCC and map it to Shopify Markets so pricing is consistent across platforms.
  • Inventory: Map SFCC inventories to Shopify inventories by location so stock is managed and available.
  • Attributes: Map SFCC product attributes to Shopify product fields for flexible product setup.
  • Picklist Value: Match SFCC Product Picklist Attributes to Shopify Product Picklist Attributes. In this way, product variations will be accurate.
  • Records: View synced, unsynced, and errored records with search sort and filter options.

 

Pre-requisites of Installation

  • Node version 12. x.x is required to install the application successfully.
  • Keep the “app_storefront_base” cartridge in the root directory of the project.

 

Installation of Shopify Salesforce Commerce Cloud at Salesforce

The installation of the connector involves two steps.

  1. Salesforce Commerce Cloud Cartridge setup
  2. Site Import for metadata
  3. OCAPI Permission

We will explain all three steps comprehensively so that you can follow the process on your own.

1. Salesforce Commerce Cloud Cartridge Setup

First, you need to upload the cartridge to the Salesforce Commerce Cloud instance. For that-

  • Go to the root directory of the project.
  • Run the ./install.sh command to upload the cartridges to the instance and make sure that the node version is above 12.

shopify salesforce commerce cloud connector

  • Enter the details of the Hostname, Username, WebDAV key, and Version one by one as shown in the image below.

shopify salesforce commerce cloud connector

  • The Success message will be shown in the terminal.

commerce cloud setup

Now, add the cartridge to the cartridge and the business manager path.

Add the “eshopsync_sfcc_shopify_connector_site” cartridge to the cartridge path of the respective site. (recommended to add in the beginning) Configure Cartridge Path

Follow the below steps to add a cartridge.

Click on the Administration and under the Site section open Manage Sites.

shopify salesforce commerce cloud connector

Choose your preferred storefront site from the site list. (Remember you need to come here again to upload another cartridge in the Bussiness Manager.)

select store front site

Then, shift the tab from the General to Settings.

salesforce commerce cloud setting tab

Now, paste your cartridge at the beginning put a separator (:) between them, and click on the Save button.

upload cartridge

Paste another cartridge in the Business Manager. For that click on the Back to List button below.

Then, click on Business Manager and paste the cartridge (eshopsync_sfcc_shopify_connector) in the last separated by (:). Then, click on Apply to save changes.

salesforce business manager cartridge

2. Site Import for Meta Data

Upload the metadata file, saved in the root directory of the application named “wkSFCCShopifyConnectorMetaData.zip”

Click on the site import and export under the Administration option.

shopify salesforce commerce cloud connector

Choose the metadata zip file and upload it.

commerce cloud meta data

Select the uploaded metadata zip and click on import.

commerce cloud meta data

commerce cloud meta importzip

Further, you need to change the Execution Scope of the Jobs.

1. For that, click Jobs under the Administration option.

salesforce commerce cloud jobs

2. Click on WK_OrderRealTimeBGExport job

shopify salesforce commerce cloud connector

3. Go to Job Steps

commerce cloud job step

4. Click on the Scope section, select any site, and then click Assign.

commerce cloud operation scope

commerce cloud assignsite

5. Similarly, change the Execution step of other jobs as well. (refer image under step 2).

3. OCAPI Permission

OCAPI permission is needed for the connector to work.

Click the Open Commerce API settings under the Administration option.

commerce cloud ocapi settings

Save the below resource as the resource value in Shop API first and Save it.

{

“resource_id”: “/order_search”,

“methods”: [“post”],

“read_attributes”: “(**)”,

“write_attributes”: “(**)”

}

commerce cloud ocapi shop

Now switch to the Data API by selecting the Data option from the dropdown (refer to the last image, clicking Shop will open the other options.)

Download and add the resources to the Data API as the resource value and Save it.

Click here to download the file.

How to Setup and Make the Connector Visible

Make the connector visible on the instance. Click on Administration, and under the organization option go to Roles and Permission.

shopify salesforce commerce cloud connector

Open Administrator

commerce cloud administrator

Shift the tab to Business Manager Modules.

commerce cloud business manager

Select the Organisation Context when prompted.

commerce cloud select context

Check all highlighted checkboxes under Shopify Salesforce Commerce Cloud Connector and save it.

shopify salesforce commerce cloud connector

Finally, the SFCC-Shopify Connector will be visible on the Administration page.

shopify salesforce commerce cloud connector

shopify salesforce commerce cloud connector

Furthermore, save the configuration by following these steps.

  • Go to the Configuration Page of the Connector
  • Enter the values as per your instance and save it.

connector ocapi config

  • The below view will be rendered when you click on Shopify Config.

shopify config

Finally, the setup of the application is done from the SFCC end.

Shopify Application Installation and Setup

First, you need to Install the Salesforce B2C Integration Application in the Shopify Store.

  • After successful installation, you’ll be redirected to the subscription page.
  • Here click on Choose Plan and select from the available plans that are suitable for your requirements.
  • Now Go to the Dashboard option (the first option in the left-side menu bar).

Salesforce B2C Integration dashboard

  • Further, click on Configuration to connect your store to the SFCC instance.
  • Enter the configuration details and click save.

Salesforce B2C configuration

  • After saving, a drop-down menu will be available on the view.
  • Select the preferred SFCC site to connect to the Shopify store.

Salesforce B2C Integration

  • The connection will be made to the respective SFCC site and the connection information can be viewed on Shopify Application’s Dashboard or in Shopify Config at the SFCC end.

shopify salesforce commerce cloud connector

Shopify End

Salesforce B2C Integration dashboard

Workflow of Shopify Salesforce Commerce Cloud Connector

After completing the installation process successfully you can sync your data to the Shopify store.

So let’s dive into the process.

Go to your Shopify store, open the SFCC connector then click on Product option in the Navigation panel.

You can sync products from the Salesforce B2C commerce cloud to your Shopify store from here.

products sync

Similarly, you can sync your customer from the Salesforce Commerce Cloud to Shopify.

The application gives you various options to sync your data seamlessly. You can see this in the image below.

sync customers

Finally, in the orders section, sync your order-related data to your Shopify store.

orders sync

Workflow of the Application on the Salesforce Commerce Cloud End

Remember the dashboard after installing the application on the SFCC. For syncing your SFCC store data, go to the application dashboard again.

Open Administration, then click on the Shopify Salesforce Commerce Cloud Connector.

shopify salesforce commerce cloud connector

Here you can sync data on the basis of Category, Customer, Product, and Order. We will explore each section one by one.

Open Category to sync the categories in the Salesforce B2C Commerce Cloud to the Shopify collection.

saleforce commerce cloud category

Next, click on the customer section to sync all the customer-related data to Shopify.

Note: Remember, to refer to the image for more information on the various features to sync your data.

saleforce commerce cloud customers

In the Mapping section, you can map the price books, Inventory, product attributes, product picklist values, and customer details.

All these Salesforce fields can be mapped to Shopify fields for a seamless sync process.

saleforce commerce cloud mappings

Further, sync Salesforce B2C Commerce Cloud products to the Shopify store by clicking on the Product option. This will help in keeping the consistency of the products.

saleforce commerce cloud products

Lastly, sync Salesforce Commerce Cloud orders data with Shopify with the help of the order section.

saleforce commerce cloud orders

Support

Leave a Comment

Comments (0)

Please verify that you are not a robot.

Welcome back

Welcome back! Please enter your details

One or more fields have an error. Please check and try again.

Forgot Password?

Tell us about Your Company

How can we help you with your business?