{"id":1782,"date":"2017-05-16T09:10:09","date_gmt":"2017-05-16T08:10:09","guid":{"rendered":"https:\/\/www.orionorigin.com\/?p=1782"},"modified":"2023-08-16T12:06:21","modified_gmt":"2023-08-16T11:06:21","slug":"create-products-list-woocommerce-discounts","status":"publish","type":"post","link":"https:\/\/www.orionorigin.com\/create-products-list-woocommerce-discounts\/","title":{"rendered":"How To Create a Products List using Conditional Discounts for WooCommerce?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">A product list is a subset of your shop\u2019s products that you can target in the discount conditions or the products on which they apply while setting up a dynamic pricing strategy. A list can be used in multiple discounts and can contain an unlimited amount of products even those that did not exist when the list was created, as long as it matches the list filters. <\/span> &nbsp; <span style=\"font-weight: 400;\">To create your first list, click on the menu <\/span><b>Discounts &gt; Products Lists<\/b><span style=\"font-weight: 400;\"> to access the existing lists. Then click on the <\/span><b>New List<\/b><span style=\"font-weight: 400;\"> button next to the page title. There are two different types of lists that can be created using <a href=\"https:\/\/goo.gl\/lywsL2\" target=\"_blank\" rel=\"noopener\">Conditional Discounts for WooCommerce<\/a>: the static list and the dynamic list.<\/span><\/p>\n<h2>Static products lists<\/h2>\n<p><span style=\"font-weight: 400;\">A static list is created by listing the product&#8217;s IDs or the variation&#8217;s IDs that should be part of the group of products that make the list. This type of list is advised if you have a very precise idea of the products you want to target and they don\u2019t have a common property you can use to dynamically add them to the list. To create a static list, just select \u2018By IDs\u2019 as the extraction type on the list creation page. Once it\u2019s done, enter the different IDs in the products IDs field, each ID separated by a comma as below:<\/span> &nbsp; <a href=\"https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1790 aligncenter\" src=\"https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list.png\" alt=\"WooCommerce All Discounts static list\" width=\"1926\" height=\"878\" title=\"\" srcset=\"https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list.png 1926w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list-300x137.png 300w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list-600x274.png 600w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list-1024x467.png 1024w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list-150x68.png 150w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list-768x350.png 768w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/static-list-1536x700.png 1536w\" sizes=\"auto, (max-width: 1926px) 100vw, 1926px\" \/><\/a> &nbsp; <span style=\"font-weight: 400;\">Then click on the <\/span><b>Evaluate<\/b><span style=\"font-weight: 400;\"> button to make sure <a href=\"https:\/\/goo.gl\/lywsL2\" target=\"_blank\" rel=\"noopener\">Conditional Discounts for WooCommerce<\/a><\/span><span style=\"font-weight: 400;\">&nbsp;is able to fetch all products based on the given IDs properly. Once everything is set up according to your needs, please click on the <\/span><b>Publish<\/b><span style=\"font-weight: 400;\"> button to save your list.<\/span><\/p>\n<h2>Dynamic products lists<\/h2>\n<p><span style=\"font-weight: 400;\"> The dynamic products list allows you to dynamically create a list of products based on the properties they all have in common such as the author, their categories, their tags, metas, prices, stock status, attributes, or any other product property. To create a dynamic list, just select <\/span><b>Dynamic request<\/b><span style=\"font-weight: 400;\"> as the extraction type on the list creation page. Once it\u2019s done, you\u2019ll be able to set the list criteria such as: <\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><b>Author<\/b><span style=\"font-weight: 400;\">: allows you to filter a list by its author(s)<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Exclude<\/b><span style=\"font-weight: 400;\">: this allows you to exclude some products from the list by setting their IDs separated by commas.<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Taxonomies<\/b><span style=\"font-weight: 400;\">: this allows you to filter the list by tags, categories, product attributes, or any other taxonomy. You can learn more about the taxonomies <\/span><a href=\"https:\/\/codex.wordpress.org\/Taxonomies\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400;\">here<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><b>Metas<\/b><span style=\"font-weight: 400;\">: allows you to filter the list using the product&#8217;s properties such as the stock status, quantity left, product type, and more. This setting is mostly used by developers who know what the metas are and how to use them.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Then, click on the <\/span><b>Evaluate<\/b><span style=\"font-weight: 400;\"> button to make sure <a href=\"https:\/\/goo.gl\/lywsL2\" target=\"_blank\" rel=\"noopener\">Conditional Discounts for WooCommerce<\/a>&nbsp;is able to fetch all the matching products properly. Once everything is set up according to your needs, please click on the <\/span><b>Publish<\/b><span style=\"font-weight: 400;\"> button to save your list.<\/span> &nbsp; <span style=\"font-weight: 400;\">Here is an example of a product list built by <\/span><b>Dynamic request<\/b><span style=\"font-weight: 400;\">:<\/span> &nbsp; <a href=\"https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1789 size-full\" src=\"https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list.png\" alt=\"WooCommerce All Discounts dynamic list\" width=\"2068\" height=\"1318\" title=\"\" srcset=\"https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list.png 2068w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list-300x191.png 300w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list-600x382.png 600w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list-1024x653.png 1024w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list-150x96.png 150w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list-768x489.png 768w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list-1536x979.png 1536w, https:\/\/www.orionorigin.com\/wp-content\/uploads\/2017\/05\/dynamic-list-2048x1305.png 2048w\" sizes=\"auto, (max-width: 2068px) 100vw, 2068px\" \/><\/a> &nbsp; <span style=\"font-weight: 400;\">This product list is made of all the products that contain the tag \u201cSimple\u201d and are published in the \u201cClothing\u201d category except the products whose IDs are 8, 99, 96, 93, 90, 87, 83 and 79.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A product list is a subset of your shop\u2019s products that you can target in the discount conditions or the products on which they apply while setting up a dynamic pricing strategy. A list can be used in multiple discounts and can contain an unlimited amount of products even those that did not exist when [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1797,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[416],"tags":[43,92,36,75],"class_list":["post-1782","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-discount","tag-discount","tag-product-list","tag-woocommerce","tag-woocommerce-all-discounts"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/posts\/1782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/comments?post=1782"}],"version-history":[{"count":11,"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/posts\/1782\/revisions"}],"predecessor-version":[{"id":135734,"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/posts\/1782\/revisions\/135734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/media\/1797"}],"wp:attachment":[{"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/media?parent=1782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/categories?post=1782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.orionorigin.com\/service\/wp\/v2\/tags?post=1782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}