<<

NAME

ProductOpener::KnowledgePanelsProduct - Generate knowledge panels around raw data

SYNOPSIS

This is a subpart of Knowledge Panels where we concentrate around raw information

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

Creates a knowledge panel card that contains all knowledge panels related to the product.

This panel card is created for food, pet food, and beauty products.

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

<<