Skip to main content

8 docs tagged with "commercetools"

Recipes that interact with the commercetools platform.

View all tags

Abandoned Cart Notification Emails

Abandoned carts are missed opportunities to convert interested shoppers into loyal customers. Sending an abandoned cart email notification is a way to gently nudge them to come back, whether it is with a personalized message or a special discount. Automating abandoned cart emails requires orchestrating data from your eCommerce system with an email service provider to identify, segment, tailor, and send your messages. Buillding an abandoned cart notification process can be challenging as teams have to manage syncing data across systems, handling high-volume requests, and ensuring flexibility in the style and messaging of your emails.

Get commercetools Order Number from Simple Key or Webhook Payload

You can implement a solution based on this recipe that retrieves an order from Commercetools, parsing the order identifier from either a typical DX Engine Context JSON format or from the structure of a webhook from the Adyen payment provider. This approach should apply to almost any commerce and payment system integration or any wherever incoming data formats contain the same data in different structures.

Merge Product and CMS data

In the following recipe, we will merge content items from the CMS with product records from a commerce engine in order to populate product pages, whether a Product Detail Page (PDP), Product Listing Page (PLP), landing page, or anywhere products are featured with extended information. This is a typical use case in a headless commerce implementation -- needing to match up additional data with product data, be it pricing or inventory or product care instructions. Frequently developers write glue code in the frontend to address this use case and end up making multiple API calls and stitching together data from the backends. An orchestration layer can configure this data unification.

Process Pricelists with DX Engine

This recipe uses the processFileWithDxEngine Job to take price data from a DX Graph Bucket and process it with DX Engine. We are imagining our ERP is the source of truth for our product data, including pricelists, and we want to sync this data into our commerce engine.

Retrieve commercetools Shopping Cart

You can implement a solution based on this recipe that retrieves a shopping cart from commercetools. The same approach would be applicable for other commerce vendors.

Update commercetools Inventory

You can implement an orchestration flow in the DX Engine based on the following recipe that explains how to update the inventory quantity associated with a product variant in commercetools when inventory may be managed in an external system such as an ERP or even a Real-time Inventory Management platform like Fluent Commerce.

Update commercetools Shopping Cart

You can implement a solution based on this recipe that updates a shopping cart in Commercetools. The same approach would be applicable for other commerce vendors.