Skip to main content

You have the option to integrate a “small” product comparison via shortcode. In doing this, you give the visitor the possibility to compare 2 products directly. For an extensive product comparison, please use an independent page with the respective page-template.

Code

[pastacode lang=”php” manual=”%5Bproduct_compare%20include%3D%22%22%20exclude%3D%22%22%5D” message=”” highlight=”” provider=”manual”/]

Attribute

Name Content Default value Meaning
indclude Number You can specify one (or multiple, separated) product IDs. In the selection menus, the visitors can only choose these products.
exclude Number You can specify one (or multiple, separated) product IDs. In the menu, visitors can not choose these products.
taxonomie slug The output can be filtered according to the applied taxonomies. Instead of “taxonomy”, the specified slug is indicated as “brand”. The slug of the category is used as the value. As an example: “canon”. Thus, all products are issued in the Canon category.

War dieser Artikel hilfreich?

1 Star2 Stars3 Stars4 Stars5 Stars
(No Ratings Yet)

Keine Kommentare vorhanden


Du hast eine Frage oder eine Meinung zum Artikel? Teile sie mit uns!

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*
*