Play by Play: Demystifying Salesforce eCommerce

This course provides an in-depth review of Salesforce eCommerce offerings including B2C and B2B Commerce with specific emphasis on use cases & technology stack for each of these offerings.
Course info
Level
Intermediate
Updated
May 8, 2019
Duration
1h 44m
Table of contents
Description
Course info
Level
Intermediate
Updated
May 8, 2019
Duration
1h 44m
Description

Play by Play is a series in which top technologists work through a problem in real time, unrehearsed, and unscripted. In this course, Play by Play Demystifying Salesforce eCommerce, Gaurav Kheterpal and Don Robins demystify the various eCommerce offerings on Salesforce. Starting off with a comparative analysis between B2C and B2B Commerce, they discuss the evolution of eCommerce on the Salesforce platform. Next, they offer a deep dive into B2C Commerce development and demo how to get a simple B2C site up and running from the ground up. By the end of this course, you’ll have a solid understanding of B2C & B2B Commerce and when you would leverage each approach based on the use cases involved.

About the author
About the author

Gaurav Kheterpal has been building mobile, web, and telecom applications for over 14 years. He has been working on the Force.com platform since 2009 and was an early adopter of Force.com mobile development.

More from the author
About the author

Don Robins is a well known Salesforce MVP, instructor, author, and speaker. A custom business application developer for more decades than he cares to admit, he focuses on Salesforce technical instruction and knowledge sharing.

More from the author
More courses by Don Robins
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Welcome to this Salesforce Play by Play with Pluralsight. Salesforce Play by Play is an interactive series where we sit down with Salesforce experts such as MVPs, consultants, developers, and architects to discuss common challenges faced every day by Salesforce customers. In this course, we challenge Gaurav Kheterpal, Salesforce MVP, a certified technical instructor, and Chief Technology Officer at MTX, to help us understand the options available for building B2B and B2C e-commerce solutions with the Salesforce Commerce Cloud. First, Guarav provides us with some history of the Commerce Cloud product line and explains some of the differences between the B2B and B2C offerings. He starts with a quick demo of B2B Commerce, formerly known as CloudCraze, shows off the data model and some of the key features, and summarizes site and caching configuration options. Next, he takes us on a deep dive into B2C Commerce, formerly known as Demandware, provides an overview of the platform, and walks us through the UX Studio development environment, showing how developers can access the API libraries and available documentation. You'll watch as he dissects the folder structure of the site genesis architecture, builds some simple controllers and pages, and demonstrates some of the tools available for debugging and troubleshooting. Along the way, he explores the MVC Architecture; local and remote includes; Forms; expressions; the new Storefront Reference Architecture, or SFRA; and more. By the time we're done, you'll have a clear understanding of the options available, a solid perspective of the differences between the two Salesforce e-commerce offerings, and a clear picture of the development process for each. So whether you're a Salesforce or non-Salesforce developer or architect, or just need to know more about e-commerce on the Salesforce platform, please join us for Demystifying Salesforce eCommerce. We hope you enjoy it.

​​B2B Overview
So Gaurav, give me a little bit more explanation about B2B. What is B2B, and where is it typically applied? Yeah, so B2B Commerce, as I said, was the company called CloudCraze, which Salesforce acquired, and they rebranded it as B2B Commerce. So I'll actually show you how B2B works. And it's actually a native app built on top of Salesforce platform. So it's not an external application that integrates? It's actually a native app you install from the AppExchange? That's correct. Great. Why don't you show me?

B2C Controller Layer
So that was views. Let's talk about controllers, because that's where the magic happens, right? Yes, so controllers is possibly, although all three layers are important, controllers is where you'll write most of the code, and that's the piece which developers would love the most. Of course, and the language is JavaScript. The language is JavaScript because earlier, Pipelines, they were drag and drop, the flowchart kind of functionality which doesn't really scale, so now we have standardized on JavaScript. Which is, of course, the standard --- Yes. --- language, and also it means it's more scalable. It's more scalable. Or testable. It's a very open standard as well. You can use multiple tools to debug controllers, and then there's a bunch of stuff you can do which you could not do with Pipelines earlier. Great. Let's see what it looks like. Yeah, so we'll start off with writing a "Hello, World! " application because that's kind of the gold standard for any language or any framework that you're doing.