<<

NAME

ProductOpener::KnowledgePanelsReportProblem - Generate knowledge panels to report a problem with the data or the product

SYNOPSIS

Knowledge panels to indicate how to report a problem with the product data, or with the product (e.g. link to report to authorities like SignalConso in France)

create_report_problem_card_panel ( $product_ref, $target_lc, $target_cc, $options_ref )

Creates a knowledge panel card that contains all knowledge panels related to reporting problems.

Arguments

product reference $product_ref

Loaded from the MongoDB database, Storable files, or the OFF API.

language code $target_lc

Returned attributes contain both data and strings intended to be displayed to users. This parameter sets the desired language for the user facing strings.

country code $target_cc

We may display country specific recommendations from health authorities, or country specific scores.

options reference $options_ref

<<