Featured products woocommerce shortcode. product_page() : string Show a single product page.
Featured products woocommerce shortcode So, now to answer your question of how to add featured products in WordPress. If you use the classic WordPress editor or want to display featured products within your WordPress theme, you can use this method. WooCommerce inclut plusieurs codes courts qui peuvent être utilisés pour insérer du contenu dans des publications et des pages. For instance, this CSS rule may hinder your WooCommerce shortcodes from working. Best While [products] with the featured attribute covers most needs, WooCommerce offers other shortcodes that might be useful depending on your specific goals: [featured_category]: This shortcode (deprecated since version 3. To implement the shortcodes, we need to navigate to the product page and edit. Any page can have a checkout or shopping cart added to it, make carousels or product sliders, display product search forms, show account information for customers, plus a lot more Jan 1, 2021 · WooCommerce has a shortcode for featured products, that is: [featured_product] Now, you can adjust the number of products shown per column by adding them into the above shortcode. Apr 2, 2024 · Using WooCommerce Shortcodes 🛒. Alternatively, select Quick Edit and then the Featured option. Sep 5, 2024 · For example, [featured_products] is a basic shortcode that displays a store’s featured products. php template. Using the latest products WooCommerce shortcode Displaying the products in a specific order Aug 15, 2024 · WooCommerce shortcodes provide excellent benefits with little effort. Nov 8, 2024 · In WooCommerce, you can display featured products to highlight your best-sellers, new arrivals, or high-converting items in different ways to boost sales. As you probably guessed, it displays your products. These simple code snippets allow you to enhance your online store by adding various features directly to your pages and posts without any coding knowledge. Jul 15, 2024 · Exploring the Examples of WooCommerce Product Shortcodes with Parameters. Setting a Featured Product The [products] shortcode is one of WooCommerce's most robust shortcodes. A smooth checkout process is crucial for customer retention. Jul 8, 2021 · on a page on your WooCommerce store, all the products that are marked featured will be displayed on that page. product_categories() : string List all (or limited) product categories. You can sort product by category by adding category ID in the shortcode as a shortcode parameter. Mark a product as Featured ↑ Back to top. WooCommerce Product Category shortcodes. Today we will show you 3 ways of adding them. You can also use [woocommerce_product_filter_stock] for a live filter, displaying only Jan 3, 2025 · WooCommerce shortcodes give you the flexibility to customize your product pages according to your needs. Shop page shortcodes: Customize shop pages with unique layouts or sorting options. The Featured products WooCommerce shortcode lists featured products separately from the rest of your store: [featured_products per_page="6" columns="3" orderby="date" order="desc"] Use it to list featured products anywhere you like, for example in blog posts or other pages. Jul 12, 2024 · Similarly, the [featured_products] shortcode can be used to display products marked as featured in your WooCommerce store. product_page() : string Show a single product page. Nov 19, 2024 · It’s also possible to show the featured products on a single post or page using the older featured_products shortcode (or the new products visibility="featured" shortcode) ⭐. Among the array of shortcodes available, the Featured Products shortcode is a standout Jan 10, 2020 · What types of WooCommerce Shortcodes are there? As it’s hard to say how many shortcodes WooCommerce offers, we’ll list them based on their category. 2 (previously, you had separate shortcodes for featured products, best-selling products, etc. For instance, if you want to change the color of the text in a product shortcode, your CSS might look like this:. Product shortcodes: Product collection block (and others*) [product_category] Displays products in a specified category; has attributes. You can use some attributes with the shortcode: products_limit – to limit the number of displayed featured products (default is 100) archive_template – to choose the template to display featured products (default is the selection in product settings) Jul 13, 2021 · So, it’s easy to understand that WooCommerce Products Shortcode is one of the most powerful and popular shortcodes in WooCommerce. . Jun 17, 2021 · WooCommerce provides you with a wide range of shortcodes that you can use to display featured products in your store. Showing 1–15 of 297 results) Limit (50 products) Orderby (for FEATURED products) Also to display the "Order Dropdown" I know the base shortcode is [products] , but want to build on this. Showcase featured products: Product Carousel PLUS+ shortcode: Apr 25, 2022 · You are making mistake with woocommerce hook and if we neeed to print a shortcode in a php file it works with do_shortcode(); Hope it will work on your side I have already tested it. With the [products] shortcode, there is no need to fiddle with old product shortcodes such as [featured products], [sale_products], [best_selling_products] and such. Once you setup some featured products, you can either display them throughout your website with a shortcode or with a widget. O shortcode [products] permite que você exiba produtos por ID dos posts, REF, categorias, atributos, com suporte para paginação, classificação aleatória e tags dos produtos Aug 27, 2019 · I'm using the following shortcode to show featured products on my custom page: [products limit=”6″ columns=”3″ orderby=”rand” visibility=”featured” ] It works correctly with WooCommerce 3. Other Shortcodes [woocommerce_cart]: Displays the shopping cart page. Thanks Nov 8, 2024 · Whether you want to promote special offers, showcase featured products, or efficiently manage user accounts, shortcodes are your go-to solution. WooCommerce Featured Products Shortcode. To mark a product as featured, go to Products > All Products and select the Star in the featured column. By simply inserting concise code snippets into your pages, posts, or widgets, you can watch as your website comes to life with dynamic content. Are there any limitations to using WooCommerce shortcodes? Jul 28, 2022 · 3 Ways of Adding WooCommerce Featured Products. The page should display the Products in the same order the http post is. Since you can’t manually choose the related products, this shortcode is best used on individual product pages for cross-selling. On the “Edit Product” page you can mark a product as featured from the Catalog Visibility settings. But before all that, let’s get to know what product shortcodes are in WooCommerce. You could adjust the limit value to 6 and the columns value to 3 to keep it looking neat. Try this. Shortcodes allow you to create your own custom homepages with featured products [featured_products], best-sellers [best_selling_products], on sale [sale_products], etc. Here is a quick overview of the WooCommerce shortcodes that we’ll cover in this guide: Page Shortcodes; Products Shortcodes (this is the most robust category) Product Page Shortcodes May 2, 2024 · So far, you have learned what shortcodes are, why they are a good idea, and how to use them. 2, WooCommerce shortcode [featured_products] is now replaced by: [products visibility="featured"] The following will add the product description to featured products shortcode: Jul 25, 2017 · I tried to get array of featured products to use theme in my own plugin with jquery slider I have made this function and get attrs from class-wc-shortcodes. Sep 24, 2024 · With WooCommerce shortcodes, you can build a custom home page that showcases featured products, best-sellers, recent products, and products on sale. Oct 16, 2022 · What are WooCommerce Featured Products? In WooCommerce, featured products are the products that have been specially selected by the store owner to be showcased on the shop page. Nov 17, 2023 · Featured Products ([featured_products]): An excellent way to highlight certain products in your store, displaying them in the location you want. Nov 3, 2014 · I am trying to create a custom shortcode for WooCommerce, I want to display featured products from a specific catagory at the end of a post. May 7, 2024 · To start customizing the look of your WooCommerce shortcodes, you can add custom CSS directly to your theme’s stylesheet or use a custom CSS plugin. Sep 8, 2024 · Certain types of products are in demand at different times of the year If you sell seasonal products – such as shorts and jackets, recreation items, or back to school products – then you might consider using WooCommerce featured products to showcase items that are seasonally high in demand. 0 but I can't show the featured products on my theme, I googled a while and get WC deleted the _feature and add this in taxonomy. The following attributes are available to use in conjunction with the product’s shortcode. [recent_products]: Provides a list of the newest items added to your catalog, so your material is always up to date. O shortcode [products] permite que você exiba produtos por ID dos posts, REF, categorias, atributos, com suporte para paginação, classificação aleatória e tags dos produtos Nov 8, 2023 · The base shortcode is: [featured_products] However, if you want to display two items in one row, the shortcode will look like this: [featured_products limit=”2″ columns=”2″] On-sale products. Jan 19, 2015 · Featured products are a great way to promote specific items on your website and are easy to setup in WooCommerce. Customize the display with attributes like per_page, columns, orderby, and order. I want to get products from a specific product category and the maximum number of products to show. Sep 4, 2024 · Method 3: Using WooCommerce Shortcodes to Add Popular Products to Product Pages WooCommerce has built-in shortcodes you can use to customize your product pages and other areas of your online store. Product category shortcodes: Product collection block With just a few lines of code, you can showcase specific products that you want to highlight and attract customers’ attention. The problem I'm having is that I would like to add a quantity input field to each product, before Add to cart button. Product shortcodes: Display product lists, featured products, or recent products on your site. Let’s explore how to use WooCommerce shortcodes to show featured products effectively: Featured Product Shortcode: The [featured_products] shortcode is the simplest way to display featured products on any page or May 10, 2021 · To display lists of WooCommerce products, WooCommerce now only gives you a single product shortcode as of WooCommerce 3. Finally, we have two powerful 💪 WooCommerce shortcodes to show products by category and product categories! Jun 29, 2023 · The WooCommerce Featured Products Widget is a built-in tool in WooCommerce that allows you to display your featured products in widget areas like the sidebar or footer. You can use shortcodes to display WooCommerce featured products. The WooCommerce Featured Products Shortcode [featured_products] can be used to display your featured products within your posts or pages Jul 15, 2024 · Featured Products Shortcode. featured_products per_page="12" columns="4" Product Aug 30, 2017 · Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand Nov 9, 2017 · Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand Aug 30, 2024 · Make sure this is inside of the [products] shortcode. But it may sometimes interfere with your shortcodes display. You should better try to use [recent_products] shortcodes instead, setting in all your featured products a "Featured" category (with "featured" slug)… Then you could use the shortcode Oct 2, 2017 · Display WooCommerce Featured Products via a shortcode custom loop like so: View the code on Gist . To remove an item simply locate the product list and deselect the star next to the featured product. You can do so by using the shortcode provided above. What is the shortcode for WooCommerce product stock? A: The shortcode to show WooCommerce product stock is [woocommerce_product_stock]. If you’ve ever wanted to customize how WooCommerce featured products appear on your classic product grid (Shop, Category, Tag, archive, search, shortcode pages) or Product Collection block, you’re in the right place! For example, adding a custom label gives your featured products the attention they deserve and helps them stand out, catching the eye of […] Apr 11, 2018 · It looks like you are using a plugin which is handling your wishlist functionality. To display the featured products anywhere on your website, enter the following To display products assigned as featured, you can use the [show_featured_products] shortcode. Live Product Search Field Shortcode [woocommerce_product_search] — shows a live Product Search Field that shows results […] Product Slider/Carousel for WooCommerce is the best product slider to slide your WooCommerce Product, Best Selling Product and Featured Product. So you can use woocommerce_shortcode_products_query filter to overwrite WooCOmmerce shortcode. Dec 31, 2024 · In this article, we will explain how to use WooCommerce product shortcode and how you can integrate any special section, such as featured products or specific products, into your pages, posts, widgets, sidebar, etc. WooCommerce also offers lot of product shortcodes and you can make use of them to show your featured items. Utilizing shortcodes is a straightforward way to exhibit featured products on your WordPress site. Dec 5, 2021 · Let’s now check some of the other useful WooCommerce shortcodes. El shortcode [products] te permite mostrar productos por ID de publicación, SKU, categorías, atributos, con soporte para paginación, clasificación aleatoria y etiquetas de productos; reemplazando la necesidad de múltiples Oct 15, 2024 · Featured products shortcode. You can mark a product as featured by navigating to Jul 31, 2024 · WooCommerce provides several shortcodes to help you display your products in various ways, and one of the most useful is the Featured Products Shortcode. Sep 20, 2021 · The selection of items on the WooCommerce featured product list is easy to manage. In this blog, we will share how to set up featured products in WooCommerce and showcase five different methods for displaying them at different stages of the shopping journey. WooCommerce has traditionally utilized shortcodes to add dynamic content and features to WordPress pages. WooCommerce Related Products Shorcode [related_products max_count=”4″] Displaying related products on the product page is a great way to increase sales. Also note that many WordPress themes call for featured products in templates, so you can follow this Dec 26, 2024 · Depending on the shortcode, you can exhibit featured products, recent products, best-selling items, discounted or any specific category’s products, a CTA button, and many other actions. Through the featured products WooCommerce shortcode, users can list featured products exclusively. Insert a “Shortcode” block and copy paste the following shortcode for showing your featured products. *note: it will be the the last option. There are multiple ways of adding WooCommerce featured products to your store. This removes the previous need for multiple shortcodes, including: [featured_products] [sale_products] Dec 22, 2024 · Adding this shortcode to a product page prompts WooCommerce to show related products based on the categories and tags shared by the current product being viewed. If you’re not familiar with shortcodes, check out this guide to learn what they are and how to use them. Apr 24, 2018 · The [products] shortcode allows you to display products by post ID, SKU, categories, attributes, with support for pagination, random sorting and product tags, replacing the need for multiples shortcodes such as: [featured_products] [sale_products] [best_selling_products] [recent_products] [product_attribute] [top_rated_products] Jul 4, 2022 · What shortcode by WooCommerce can i use to achieve: Product category (e. Using the WooCommerce Featured Products Shortcode, you can easily showcase selected products anywhere on your site, whether it’s on your homepage, a blog post, or a dedicated landing page. woocommerce ul. Line number 5 of the code snippet sets up an array of orderby values, it does this to avoid updating the orderby value of the query if the orderby value is already set to a value that WooCommerce recognizes. 23 WooCommerce Shortcodes You Should Try. In this article, I will explain briefly how to add featured products in WooCommerce and how to display those featured products on your site using the shortcodes and widgets that are available in WooCommerce. What are WooCommerce Shortcodes? Oct 10, 2024 · [best_selling_products]: This WooCommerce featured products shortcode draws attention to the best-selling items in your business. After some researched I found that the right way to do this was through a custom loop,( I do not Oct 7, 2018 · The product shortcodes is one of the most useful shortcodes available in WooCommerce, as it allows you to display products by ID, SKU, category and has support for pagination as well. Dec 20, 2020 · Showcasing Featured Products with Shortcode. You can add featured products in WooCommerce in the following ways: Quick edits; All product page Dec 22, 2024 · Adding this shortcode to a product page prompts WooCommerce to show related products based on the categories and tags shared by the current product being viewed. For instance, combining [featured_products], [best_selling_products], and [sale_products] shortcodes can create a dynamic home page that automatically updates based on your inventory and sales data. on your WooCommerce store. There is a standard shortcode: [featured_products per_ I updated WooCommerce to version 3. This shortcode would look something like this: [featured_products] May 10, 2016 · Is there a way to modify the WooCommerce Products shortcode to order by a list of product sku's? A search engine send a Post to the page with a list of sku's. [rsfvw] – This shortcode is for displaying a set featured video of the individual product anywhere on the same product page (remember this shortcode only works on the product page content where the product video is set). Shortcodes are simple codes that enhance functionality across posts, widgets, and pages. If you want to showcase on-sale products, WooCommerce shortcodes can be of great help. This shortcode displays six featured products in a three-column layout. Above is pretty much the same as the previous loop – this time shortcode is created which needs to be added to an area to display it, only 3 products will show. php Go to wp-admin/ Woocommerce > Settings > Products > Display View settings drop down order by random will be a new option. Here, we will discuss the examples and implementation of WooCommerce product shortcodes using the parameters. Mar 9, 2017 · Product has a custom field as _featured which is set as yes for featured product and no for non-featured product. 2. For example, to display five products from the sports category, use this shortcode: [products limit="5" category="sports"]. The search engine also provides equivalent Blocks. Cart and checkout shortcodes: Manage and customize the cart and checkout process for users. Everything seems to be set up within the actual looping of your product. These shortcodes make it easy to display your popular products on your existing WooCommerce product pages. Woocommerce Product Carousel Slider Without Plugin. This flexibility allows you to create tailored displays, whether you’re using WooCommerce product category shortcodes or WooCommerce featured products shortcodes. Comment utiliser les codes courts Où utiliser des codes courts Les codes courts peuvent être utilisés sur les pages et les publications. products() : string List multiple products shortcode. The choice will depend on the number of featured products you want to show on your WooCommerce pages/posts. 0. It also provides shortcodes to build dynamic shop pages. The second and third methods offer fewer customizations options but allow you to display featured products using WooCommerce’s built-in widgets and shortcodes. This section will cover the WooCommerce shortcodes you should know. Display Products by ID. Available product attributes. WooCommerce Single Product Page Shortcode Feb 4, 2024 · Shortcodes on WooCommerce can be used to show items as featured products, recently added products, or products from particular categories on any page or post ar, etc. Shortcodes. Un modo inteligente de usar shortcodes de WooCommerce en los widgets de texto sería en combinación del plugin JP Widget Visibility, que te permite especificar dónde se mostrará (o no) cada widget, pudiendo añadir shortcodes personalizados que muestren listados de O shortcode [products] é um dos nossos shortcodes mais robustos, no qual pode substituir várias outras strings usadas nas versões anteriores do WooCommerce. products { display: none;} Still don’t know how to use WooCommerce shortcodes? Don’t be intimidated! In this video, I’ll show you how to use shortcodes to display products from your sh Sep 11, 2022 · Method 2: Using Shortcodes to show WooCommerce featured products. Mar 17, 2023 · This WooCommerce shortcode results in a neat grid of 8 products, divided into 4 columns. Jul 25, 2024 · First, we’ll share a super easy method that lets you customize your product feed to suit your website style and branding without code. 2) can still be used with some themes, but it’s recommended to use [products] with the category attribute instead. Available Product Category attributes Examples of Product Category Scenarios Show Top Level Categories Only Imagine you only wanted to show top level categories on a page and exclude the sub categories, well it’s possible with the following shortcode. Product Slider/Carousel for WooCommerce is the best product slider to slide your WooCommerce Product, Best Selling Product and Featured Product. O shortcode [products] é um dos nossos shortcodes mais robustos, no qual pode substituir várias outras strings usadas nas versões anteriores do WooCommerce. WooCommerce shortcodes có thể thêm trực tiếp vào bài viết, trang. Dưới đây là danh sách tổng hợp tất cả WooCommerce shortcodes thường dùng và ví dụ đi kèm rất dễ hiểu. There are also shortcodes to embed featured videos on any post, page, or content area you want. You can also display WooCommerce featured Jul 24, 2019 · Line number 1 registers the woocommerce_shortcode_products_orderby function with the woocommerce_shortcode_products_orderby action. Mar 8, 2018 · In Woocommerce, I use 3 different shortcode functions that are displaying: The product categories list, The product SKU Values for a specific attribute. These products can be featured in a variety of ways, such as by being displayed in a carousel, in a widget or on shop page. Nov 21, 2023 · If you want to display all your featured products in one place, like on your store’s homepage, you can do so easily with a shortcode. Here is the shortcode they can easily use: [featured_products per_page="8" columns="4" orderby="date" order="desc"] This shortcode lets users display featured products anywhere according to their specific needs. These two shortcodes will display your product categories on any page. With WordPress’s evolution toward the Gutenberg block-based editor, the focus has shifted from shortcodes to more interactive and visually integrated blocks. Since you’ve added a featured product to your WooCommerce store, you have to display the new featured product as well. Note that adding spaces to basic shortcodes will incorrectly display the code. After adding the shortcode, you can update to see the products you choose to showcase, like featured products or specific categories. The [products] shortcode is one of WooCommerce’s most robust shortcodes. woocommerce-products {color: #333333; /* Adjusts the text color */} Jul 24, 2017 · I have to make a Wordpress plugin which adds shortcode for WooCommerce. Product page shortcode: Custom product page templates can be made using the store editor [products] Displays products by specific parameters; has attributes. Now let’s go ahead and display it. Example php and mysql select (the code like this worked in my old shop system where I can use SQL syntax): Brief overview of the most common types of WooCommerce shortcodes. My 3 function looks like this: function Jul 25, 2024 · List products with an attribute shortcode. To achieve this, all you’d need to do is create a product shortcode that asks for all featured products to be shown. Live Product Display – Dynamic Shop Page Shortcode The [woocommerce_product_filter_products] shortcode shows the products like on the shop page and works together with the live Product Filters. Let’s see how: Classic Editor. There are a ton of parameters which allow you to customize the types and quantities of products displayed. If you are using the WordPress Classic Editor, you can simply paste the shortcode in the post or page editor and click the Publish button. product_category() : string List products in a category shortcode. Dec 31, 2024 · WooCommerce featured products are a great way to promote specific products on your online store and are easy to set up in WooCommerce. WooCommerce comes stocked with a number of custom shortcodes. [featured_products limit="6" columns="3"] Display six featured products in a three-column layout. If you want this is very each to change into a grid of say, 3. Don't forget to replace my-custom-text with your shortcode. ). Custom CSS can be very useful in WordPress. php but no results add_shortcode(' Jun 5, 2024 · You can use the shortcode [products] to display all products in WooCommerce, for example, [products limit=”4″]. WooCommerce Product Search comes with several shortcodes that you can use to insert live search and live filtering facilities inside pages and posts. You can easily display this product slider in your theme using shortcode. For example, the (products featured) shortcode can showcase products on your homepage, creating a stylish product Check Your Custom CSS Files if WooCommerce Shortcodes are not Working. Via product shortcodes, business owners can inform their customers about incoming products, advertise new offers or discounts, promote related products. [woocommerce_checkout]: Displays the checkout process page. g. 3. Display the Featured Products. Additionally, WooCommerce shortcodes can be modified with certain product attributes to customize the layout and presentation. In a nutshell, they are shortcodes for: Products Aug 19, 2020 · Since WooCommerce 3. Once you set up featured products in WooCommerce, you have the option to either display them throughout your WooCommerce store with a shortcode or with a WooCommerce featured products widget. Q4. Don’t worry, we have divided the tutorial into small basic steps and images so that you can follow along easily. recent_products() : string Jan 20, 2018 · USAGE: There is 4 available optional arguments that you can add to this shortcode: columns (The number of columns) - Default is 4; limit (the number of products | -1 will display all ) - Default is 20 Apr 16, 2022 · Excellent! You have a featured product for your eCommerce store. Si vous utilisez l’éditeur de blocs, recherchez le bloc « Code court » : […] Sep 23, 2024 · The [products] shortcode is one of the most powerful and widely used shortcodes in WooCommerce. Aug 26, 2024 · For example, you can filter products by category, sort them by popularity, and decide how many items to show per page. Aunque WooCommerce incluye unos cuantos widgets por defecto nada como usar shortcodes para personalizar tu tienda a tu gusto. El shortcode [products] es uno de nuestros shortcodes más robustos, que puede reemplazar varias otras cadenas utilizadas en versiones anteriores de WooCommerce. The easiest way to display the featured products is by using shortcodes. Jul 27, 2021 · To customize WooCommerce featured products for your site, you can choose to use one of the shortcodes below. Get FunnelKit Now! Sep 27, 2021 · In this section, we will guide you through How to create WooCommerce featured products along with other functions that can be set up using shortcodes. The following section will cover 23 of the best WooCommerce shortcodes you should know. 7. You can make the shortcode even better by specifying the IDs of the products you want to show and setting the number of columns for display. Learn how to display featured products in WooCommerce using the [featured_products] shortcode. What’s the point of having the chance to “star” some products in your WooCommerce backend, if you can’t really use these featured products properly on the frontend? Yes, you can use a shortcode or a block to return the featured products only… or maybe you want to keep reading for a better (imho) solution! Highlighting […] Aug 11, 2023 · Method #2: Display WooCommerce featured products through Shortcodes. Shortcodes Giải thích [woocommerce_cart] shows the cart page [woocommerce_checkout] Shows the checkout page [woocommerce_my_account] Shows the user account page [woocommerce_order Jul 24, 2015 · I would like to display 6 featured products from my woocommerce store on my home-page. Jan 11, 2021 · “The [products] shortcode allows you to display products by post ID, SKU, categories, attributes, with support for pagination, random sorting, and product tags, replacing the need for multiples shortcodes such as [featured_products], [sale_products], [best_selling_products], [recent_products], [product_attribute], and [top_rated_products Mar 13, 2017 · In this shortcode, attributes works with variable products and your actual shortcode can't really work as featured product functionality is not an attribute. May 29, 2018 · You can use this WooCommerce shortcode to display products that have been set as “featured” in WooCommerce. WooCommerce Products Shortcode. shoes) Product count (e. Such as [featured_products per_page=”4″ columns=”2″], this will show 4 products per page divided into 2 columns. It allows you to display products by post ID, stock-keeping unit (SKU), categories, and attributes, with support for pagination, random sorting, and product tags. Paste code into functions. The shortcode takes the attributes described below, all are optional and the defaults should be suitable for many deployments. Dec 22, 2024 · Adding this shortcode to a product page prompts WooCommerce to show related products based on the categories and tags shared by the current product being viewed. mtpxmbkshjecpjqtxeauaxxosccbaxmoeotrseykyc