{"id":30127,"date":"2022-11-04T10:14:15","date_gmt":"2022-11-04T10:14:15","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/"},"modified":"2023-04-01T09:45:11","modified_gmt":"2023-04-01T09:45:11","slug":"displaying-add-to-cart-dynamic-link-in-the-listing-item","status":"publish","type":"tips-and-tricks","link":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/","title":{"rendered":"Displaying Add to Cart Dynamic Link in the Listing Item"},"content":{"rendered":"<div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">Optionally, instead of JetWooBuilder, the <a href=\"https:\/\/crocoblock.com\/plugins\/jetthemecore\/\" target=\"_blank\" rel=\"noopener\"><strong>JetThemeCore<\/strong><\/a> plugin can be installed and activated with <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/creating-custom-post-type-archive-template-with-jetengine-listing-grid\/\" target=\"_blank\" rel=\"noopener\"><strong>Archive Page Template<\/strong><\/a> for the Products post type (for the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noopener\"><strong>Listing Grid<\/strong><\/a> placing) created.<\/p><\/div><\/div>\n\n\n\n<p>The \u201cAdd to Cart\u201d <strong>Source<\/strong> of the <strong>Dynamic Link<\/strong> widget will allow displaying the <strong>\u201cAdd to Cart\u201d <\/strong>button on the single product page (for simple products) and in the listing of products.<\/p>\n\n\n\n<p>To add the <strong>Add to Cart Dynamic Link<\/strong> to the <strong>Listing Item<\/strong>, follow these steps:<\/p>\n\n\n\n<h2 class=\"wp-block-heading item-1\" id=\"item-1\"><strong>Create WC Product Query<\/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\">Proceed to the <strong><em>JetEngine &gt; Query Builder <\/em><\/strong>tab on the WordPress Dashboard and hit the <strong>\u201cAdd New\u201d <\/strong>button.<\/p>\n\n\n\n<p class=\"offset\">Type the query <strong>Name <\/strong>and pick the \u201cWC Product Query\u201d <strong>Query Type<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/wc-product-query-2.png\" alt=\"WC product query\">\n\n\n\n<p class=\"offset\">You can learn more about the other settings from the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-query-builder-wc-product-query-type\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Query Builder WC Product Query Type<\/strong><\/a><strong> <\/strong>tutorial.<\/p>\n\n\n\n<p class=\"offset\">When you finish customizing, push the <strong>\u201cAdd\/Update Query\u201d <\/strong>button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading item-2\" id=\"create-listing-item\"><strong>Create Listing Item<\/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\">To learn more about the listing items, go to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-what-is-a-listing-template\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>What is a Listing Template?<\/strong><\/a><strong> <\/strong>tutorial.<\/p>\n\n\n\n<p class=\"offset\">Go to <strong><em>JetEngine &gt; Listings <\/em><\/strong>and click the <strong>\u201cAdd New\u201d <\/strong>button.<\/p>\n\n\n\n<p class=\"offset\">In the <strong>Setup Listing Item <\/strong>pop-up, choose the \u201cQuery Builder\u201d <strong>Listing source<\/strong> and the recently created <strong>Query<\/strong>, type the <strong>Listing item name<\/strong>, and pick the \u201cElementor\u201d or \u201cBlocks (Gutenberg)\u201d <strong>Listing view<\/strong>. Then, hit the <strong>\u201cCreate Listing Item\u201d <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/setup-listing-item-2.png\" alt=\"setup listing item\">\n\n\n\n<p class=\"offset\">Fill the Listing Item with the widget like the <strong>Archive Thumbnail<\/strong>, <strong>Archive Categories<\/strong>, <strong>Archive Title<\/strong>, <strong>Archive Price<\/strong>, etc.<\/p>\n\n\n\n<p class=\"offset\">Drag-n-drop the <strong>Dynamic Link <\/strong>widget and pick the \u201cAdd to Cart\u201d <strong>Source<\/strong>. In the <strong>Label <\/strong>field, hit the \u201c<strong>Dynamic Tags\u201d <\/strong>button and choose the \u201cWooCommerce Product Field\u201d option. In the <strong>Settings <\/strong>pop-up, set the \u201cAdd to Cart Text\u201d <strong>Field.<\/strong><\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/dynamic-link-widget-source-add-to-cart-2.png\" alt=\"dynamic link widget source add to cart\">\n\n\n\n<p class=\"offset\">Proceed to the <strong>Advanced <\/strong>tab of the <strong>Dynamic Link <\/strong>widget. For applying the WooCommerce \u201c<strong>Add to Cart<\/strong>\u201d button styles, add the \u201cwoocommerce\u201d class to the <strong>CSS Classes <\/strong>field.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/dynamic-link-css-classes-2.png\" alt=\"dynamic link CSS classes\">\n\n\n\n<p class=\"offset\">After you finish, hit the <strong>\u201cUpdate\u201d <\/strong>button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading item-3\" id=\"display-listing-item-with-listing-grid-widget\"><strong>Display Listing Item with Listing Grid Widget<\/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\">Navigate to the JetWooBuilder template (e.g., Shop Page), where you want to display the listing item, and click to edit it with the Elementor editor.<\/p>\n\n\n\n<p class=\"offset\">Place the <strong>Listing Grid <\/strong>widget and select the needed <strong>Listing <\/strong>in the General<strong> <\/strong>settings. To learn more about this widget, move to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid Widget Overview<\/strong><\/a>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/listing-grid-2.png\" alt=\"listing grid\">\n\n\n\n<p>Finally, hit the <strong>\u201cUpdate\u201d <\/strong>button and observe the page with the <strong>Listing Grid <\/strong>on the front end.<\/p>\n<\/div><\/div>\n\n\n\n<p>That\u2019s all. Now you know how to set the Add to Cart Dynamic Link in the JetEngine Listing Item with the WooCommerce \u201c<strong>Add to Cart<\/strong>\u201d button styles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to insert Add to Cart link with the JetEngine dynamic link widget to the WooCommerce product listings. <\/p>\n","protected":false},"author":1,"featured_media":0,"template":"","format":"standard","tipstricks-tags":[359],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Displaying Add to Cart Dynamic Link in the Listing Item \u2013 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to set the Add to Cart Dynamic Link in the JetEngine Listing Item with the WooCommerce Add to Cart button styles.\" \/>\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\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Displaying Add to Cart Dynamic Link in the Listing Item \u2013 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to set the Add to Cart Dynamic Link in the JetEngine Listing Item with the WooCommerce Add to Cart button styles.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-01T09:45:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/wc-product-query-2.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\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/\",\"name\":\"Displaying Add to Cart Dynamic Link in the Listing Item \u2013 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-11-04T10:14:15+00:00\",\"dateModified\":\"2023-04-01T09:45:11+00:00\",\"description\":\"Learn how to set the Add to Cart Dynamic Link in the JetEngine Listing Item with the WooCommerce Add to Cart button styles.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/#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\":\"Displaying Add to Cart Dynamic Link in the Listing Item\"}]},{\"@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":"Displaying Add to Cart Dynamic Link in the Listing Item \u2013 JetEngine | Crocoblock","description":"Learn how to set the Add to Cart Dynamic Link in the JetEngine Listing Item with the WooCommerce Add to Cart button styles.","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\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/","og_locale":"en_US","og_type":"article","og_title":"Displaying Add to Cart Dynamic Link in the Listing Item \u2013 JetEngine | Crocoblock","og_description":"Learn how to set the Add to Cart Dynamic Link in the JetEngine Listing Item with the WooCommerce Add to Cart button styles.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/","og_site_name":"Help Center","article_modified_time":"2023-04-01T09:45:11+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/04\/wc-product-query-2.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\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/","url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/","name":"Displaying Add to Cart Dynamic Link in the Listing Item \u2013 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-11-04T10:14:15+00:00","dateModified":"2023-04-01T09:45:11+00:00","description":"Learn how to set the Add to Cart Dynamic Link in the JetEngine Listing Item with the WooCommerce Add to Cart button styles.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/displaying-add-to-cart-dynamic-link-in-the-listing-item\/#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":"Displaying Add to Cart Dynamic Link in the Listing Item"}]},{"@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\/30127"}],"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=30127"}],"wp:term":[{"taxonomy":"tipstricks-tags","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tipstricks-tags?post=30127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}