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?
Keine Kommentare vorhanden