Home > widget-integration > CartDrawerRecommendationController > showSuccessMessage

CartDrawerRecommendationController.showSuccessMessage() method

Show a success message in the recommendation widget after adding to cart.

Signature:

protected showSuccessMessage(productItem: HTMLElement | null): void;

Parameters

Parameter

Type

Description

productItem

HTMLElement | null

The recommendation product item element

Returns:

void