Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel2
maxLevel3

...

This option allows you to enable automatic synchronization. If disabled, the synchronization still can be performed manually.

Note

Important: Also you need to start related consumers:

  • tnwSalesforceSyncQuoteDb

  • tnwSalesforceSyncQuoteAmqp

Follow the manage message queues documentation and add the following listeners to your /app/etc/env.php file.

To Enable automatic synchronization

...

To check if the Abandoned Cart was not synchronized on the Customer page:

  • Go to Magento Admin panel - Customers - All Customers

  • Click on Select - Edit link on customer record

  • Select “Shopping Cart“ tab

...

  • Go to Magento Admin panel - Customers - All Customers

  • Click on Select - Edit link on customer record

  • Select “Shopping Cart“ tab

  • Click on ”Sync with Salesforce” button

...

Abandoned Cart Status

...

Default Owner

This default owner will be assigned to the Salesforce Opportunity when created

  • go to Magento Admin panel - Salesforce (sidebar menu) - Abandoned Carts - Abandoned Cart Configuration tab

  • Set the set Automatic Automated Synchronization“ option to “Yes

  • Click on Expand the Abandoned Cart StatusDefault Ownerdrop-down list

  • Select Opportunity Status

...

  • go to Magento Frontend and Login as a customer

  • Add some product to ”Cart” - Click on “Cart” icon - “Proceed to Checkout” button

  • fill all required fields on “checkout/#shipping” page and click the “Next “button

  • Open Salesforce Opportunity

...

Record type

Sales Cycle Length

Enable Contact Roles

This option enable Opportunity Customer Role Integration

If the “Enable Contact Roles” option is set to “No“ Opportunity Customer Role will not be populated in Salesforce Opportunity

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Order Configuration tab

  • Set the “Automatic Synchronization“ option to “Yes

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Set the “Create Opportunity” option to “For every order”

  • Set the “Enable Contact Roles“ option to “No

...

  • go to Magento Frontend and place an order

...

If the “Enable Contact Roles” option is set to “Yes“ you are able to choose Opportunity Customer Role which will be populated in Salesforce Opportunity

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Order Configuration tab

  • Set the “Automatic Synchronization“ option to “Yes

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Set the “Create Opportunity” option to “For every order”

  • Set the “Enable Contact Roles“ option to “Yes

  • Select Customer Role from the “Opportunity Customer Role“ drop-down list

...

  • go to Magento Frontend and place an order

...

Sales Cycle Length

The “Sales Cycle Length” option allows you to set the number of days needed to close the Opportunity

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Order Configuration tab

  • Set the “Automatic Synchronization“ option to “Yes

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Set the “Create Opportunity” option to “For every order”

  • Set the “Sales Cycle Length“ option to “15

...

  • go to Magento Frontend and place an order

As a result, “Close date“ is on 15 days after the Opportunity creation date

...

  • and choose an owner

...

Info

Default Owner will be applied in case when Account Default Owner is not selected and Sales Rep is not specififed on Customer page

  • go to Magento Frontend and login as a Customer

  • add some product to Cart

  • do to Magento admin panel - Sales - Abandoned Carts - scroll to the newly created record

  • Click on the “Salesforce ID“ link

...

Abandoned Cart Status

This option allows you to choose Opportunity Stage Name when checkout process begins

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders Abandoned Carts - Order Abandoned Cart Configuration tab

  • Set the “Automatic Synchronization“ option to “Yesgo to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Click on the “Abandoned Cart Status” drop-down list

  • Select Opportunity Status

...

  • go to Magento Frontend and Login as a customer

  • Add some product to ”Cart” - Click on “Cart” icon - “Proceed to Checkout” button

  • fill all required fields on “checkout/#shipping” page and click the “Next “button

  • Open Salesforce Opportunity

...

Record type

This option allows you to choose Opportunities Draft status in which Opportunity will be placed when Magento needs to make updates

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Order Configuration tab

  • Set the “Automatic Synchronization“ option to “Yes

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Click on the “Default Opportunity Draft Status” drop-down list

  • Select Opportunity Status

...

go to Magento Frontend and place an order

...

Go to Magento Admin panel and Edit create order

...

Check Opportunity Stage History

...

Convert Opportunity

If set “Convert Opportunity” option to ”No” - Opportunity Stage name will be kept as defined on the “Opportunity Status mapping” pageselect one of two Opportunity record type:

  • Abandoned Cart

  • Shopping Cart

...

This will help you to find Opportunity records related to Abandoned Cart quotes - just create a new Opportunity list view and filter them by the Record Type

Sales Cycle Length

The “Sales Cycle Length” option allows you to set the number of days needed to close the Opportunity

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders Abandoned Carts - Order Abandoned Cart Configuration tab

  • Set the “Automatic Synchronization“ option to “Yesgo to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Set the Convert OpportunitySales Cycle Lengthoption to “No

...

To set Opportunity Status mapping” do next:

  • Magento Admin panel - Salesforce (sidebar menu) - Field Mappings - Opportunity Status

...

  • 15

...

  • go to Magento Frontend and place an order

...

  • Edit create order - Click “Ship” button - Click “Submit Shipment“ button

...

  • Edit create order - Click “Invoice” button - Click “Submit Invoice“ button

...

  • Edit create order - Click “Credit Memo” button - Click “Refund Offline“ button

...

If set “Convert Opportunity” option to ”Yes” - Opportunity Stage name will be updated if the order is paid in Magento and set the Stage name to match the value in the “Converted Opportunity Status” field.

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Order Configuration tab

  • Set the “Automatic Synchronization“ option to “Yes

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Set the “Convert Opportunity” option to “Yes

...

Converted Opportunity Status

The “Converted Opportunity Status” option allows you to select the status which Opportunity will receive when the order will be marked as "Paid".

...

As a result, “Close date“ is on 15 days after the Opportunity creation date

...

Enable Contact Roles

This option enable Opportunity Customer Role Integration

If the “Enable Contact Roles” option is set to “No“ Opportunity Customer Role will not be populated in Salesforce Opportunity

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders Abandoned Carts - Order Abandoned Cart Configuration tab

  • Set the “Automatic Synchronization“ option to “Yes

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Set the “Convert OpportunityEnable Contact Rolesoption to “Yes

  • Click on the “Converted Opportunity Status“ drop-down list

  • select Opportunity Status

...

  • No

  • go to Magento Frontend and place an order

  • Edit create order - Click “Invoice” button - Click “Submit Invoice“ button

...

Use Invoice date as close date

This option allows you to define the “Close date“ for Opportunity

If set “Use Invoice date as close date“ option to “Yes” - Opportunity “Close date“ will change to the Magento Invoice date when Opportunity receives “Converted Opportunity Status“. (for ex. “Closed - Won“ )

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Order Configuration tab

  • Set the “Automatic Synchronization“ option to “Yes

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Set the “Convert Opportunity” option to “Yes

  • Click on the “Converted Opportunity Status“ drop-down list

  • Select “Closed - Won“ as “Opportunity Status”

  • Set “Use Invoice date as close date“ option to “Yes

...

  • go to Magento Frontend and place an order

  • Edit create order - Click “Invoice” button - Click “Submit Invoice“ button

...

If set “Use Invoice date as close date“ option to “No” - Opportunity “Close date“ depends on “Sales Cycle Length“ option.

...

  • go to Magento Frontend and add product to Cart

...

If the “Enable Contact Roles” option is set to “Yes“ you are able to choose Opportunity Customer Role which will be populated in Salesforce Opportunity

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders Abandoned Carts - Order Abandoned Cart Configuration tab

  • Set the “Automatic Synchronization“ option to “Yes

  • go to Magento Admin panel - Salesforce (sidebar menu) - Orders - Advanced tab

  • Set “Sales Cycle Length“ to “15

  • Set the Convert OpportunityEnable Contact Rolesoption to “Yes

  • Click on Select Customer Role from the “Converted Opportunity StatusCustomer Role“ drop-down list

  • Select “Closed - Won“ as “Opportunity Status”

  • Set “Use Invoice date as close date“ option to “No

...

  • go to Magento Frontend and place an order

  • Edit create order - Click “Invoice” button - Click “Submit Invoice“ button

...

  • add product to Cart

...

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@11ce5
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "IWS"
labelskb-how-to-article
Page Properties
hiddentrue

Related issues