{"id":30122,"date":"2022-11-04T10:14:15","date_gmt":"2022-11-04T10:14:15","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/"},"modified":"2023-03-10T16:15:40","modified_gmt":"2023-03-10T16:15:40","slug":"showcasing-woocommerce-up-sells","status":"publish","type":"tips-and-tricks","link":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/","title":{"rendered":"Showcasing WooCommerce Up-sells"},"content":{"rendered":"\n<p>Up-sells is a Woocommerce default field. You can check it in the _postmeta table. The field key is &#8216;_upsell_ids&#8217;<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/upsell-ids-database.png\" alt=\"upsell ids database\">\n\n\n\n<p>Please follow the instructions below:<\/p>\n\n\n\n<h2 class=\"item-1 wp-block-heading\" id=\"create-a-query-with-the-query-builder\"><strong>Create a Query with the Query Builder<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p class=\"offset\">Go to <strong><em>WordPress Dashboard &gt; JetEngine &gt; Query Builder<\/em><\/strong> and create a new <strong>Query<\/strong>.<\/p>\n\n\n\n<p class=\"offset\">Please note that you can build <strong>Posts Query<\/strong> and <strong>WC Query<\/strong>; it works either way.<\/p>\n\n\n\n<p class=\"offset\">Give your new query a <strong>Name <\/strong>and choose the <strong>Query Type<\/strong> &#8211; \u201cPosts Query\u201d. All the settings will depend on the <strong>Query Type<\/strong> you have chosen. Let\u2019s take a closer look at the setup.<br>Select the <strong>Post Type<\/strong> \u2014 \u201cProducts\u201d:<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/post-type-query-builder.png\" alt=\"post type query builder\">\n\n\n\n<p class=\"offset\">In the <strong>Post In<\/strong> field, you should select the \u201cCurrent meta value as a string\u201d macro. With this macro, you can get comma-separated values from fields that contain arrays. You can use it with multiple select options.<\/p>\n\n\n\n<p>Additionally, press the &#8220;<strong>Advanced settings<\/strong>&#8221; button to set the context.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/upsell-ids-query-builder-full-1024x372.png\" alt=\"upsell ids query builder\">\n\n\n\n<p>Here, we define the <strong>Context <\/strong>if needed and complete the <strong>Fallback <\/strong>field with the title we want to show whenever there are no products found.<\/p>\n\n\n\n<p>Then, press the &#8220;<strong>Back<\/strong>&#8221; button to return to the general settings menu and save the changes by hitting the &#8220;<strong>Apply<\/strong>&#8221; button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/post-in-field-dynamic-tag-advanced-settings-full-1024x372.png\" alt=\"post in field dynamic tag advanced tag\">\n<\/div><\/div>\n\n\n\n<h2 class=\"item-2 wp-block-heading\" id=\"place-the-product-grid-widget-to-the-single-product-template-and-use-the-custom-query\">Place the Product Grid Widget to the Single Product Template and Use the Custom Query<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/products-grid-query.png\" alt=\"products grid query\">\n\n\n\n<p class=\"offset\">Then you can enable the Carousel and play with the settings:<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/carousel-products-grid-settings.png\" alt=\"carousel products grid settings\">\n\n\n\n<p class=\"offset\">Note, you can use any widget where you can enable <strong>Custom Query<\/strong>: <a href=\"https:\/\/crocoblock.com\/widgets\/listing-grid\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a> or <a href=\"https:\/\/crocoblock.com\/widgets\/products-grid\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Products Grid<\/strong><\/a>.<\/p>\n<\/div><\/div>\n\n\n\n<p>Result:<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/carousel-upsells-full-1024x525.png\" alt=\"carousel upsells\">\n\n\n\n<p>There you go; now you can showcase WooCommerce Up-sells products on your WordPress website by using the <em>JetEngine <\/em>plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check how to display the WooCommerce up-sell products dynamically on a single product page.<\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","format":"standard","tipstricks-tags":[359,361],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Showcasing WooCommerce Up-Sells | Crocoblock<\/title>\n<meta name=\"description\" content=\"Create a query to display WooCommerce Up-sell products on the WordPress Single Product page with the help of the JetEngine plugin.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Showcasing WooCommerce Up-Sells | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Create a query to display WooCommerce Up-sell products on the WordPress Single Product page with the help of the JetEngine plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-10T16:15:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/upsell-ids-database.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/\",\"name\":\"Showcasing WooCommerce Up-Sells | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-11-04T10:14:15+00:00\",\"dateModified\":\"2023-03-10T16:15:40+00:00\",\"description\":\"Create a query to display WooCommerce Up-sell products on the WordPress Single Product page with the help of the JetEngine plugin.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tips & tricks\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Showcasing WooCommerce Up-sells\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Showcasing WooCommerce Up-Sells | Crocoblock","description":"Create a query to display WooCommerce Up-sell products on the WordPress Single Product page with the help of the JetEngine plugin.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/","og_locale":"en_US","og_type":"article","og_title":"Showcasing WooCommerce Up-Sells | Crocoblock","og_description":"Create a query to display WooCommerce Up-sell products on the WordPress Single Product page with the help of the JetEngine plugin.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/","og_site_name":"Help Center","article_modified_time":"2023-03-10T16:15:40+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/upsell-ids-database.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/","url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/","name":"Showcasing WooCommerce Up-Sells | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-11-04T10:14:15+00:00","dateModified":"2023-03-10T16:15:40+00:00","description":"Create a query to display WooCommerce Up-sell products on the WordPress Single Product page with the help of the JetEngine plugin.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showcasing-woocommerce-up-sells\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Tips & tricks","item":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/"},{"@type":"ListItem","position":3,"name":"Showcasing WooCommerce Up-sells"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tips-and-tricks\/30122"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tips-and-tricks"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/tips-and-tricks"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=30122"}],"wp:term":[{"taxonomy":"tipstricks-tags","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tipstricks-tags?post=30122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}