Cookies setting

Cookies help us enhance your experience on our site by storing information about your preferences and interactions. You can customize your cookie settings by choosing which cookies to allow. Please note that disabling certain cookies might impact the functionality and features of our services, such as personalized content and suggestions. Cookie Policy

Cookie Policy
Essential cookies

These cookies are strictly necessary for the site to work and may not be disabled.

Information
Always enabled
Advertising cookies

Advertising cookies deliver ads relevant to your interests, limit ad frequency, and measure ad effectiveness.

Information
Analytics cookies

Analytics cookies collect information and report website usage statistics without personally identifying individual visitors to Google.

Information
mageplaza.com

How to Create Magento 2 Related Products Rules

Vinh Jacker | 11-11-2024

How to Create Magento 2 Related Products Rules

In this article, we will learn how to create Magento 2 related products rules - an effective way to boost sales for online businesses. Related Products Rules allow you to display a selection of items to your consumers as related products. This innovation not only improves the shopping experience for customers by cutting down on searching time but also helps stores provide a dynamic display of targeted merchandising. Let’s check our step-by-step guide on creating Related Products Rules in Magento 2.

Let’s see how to create related product rules in Magento 2 with just 5 simple steps.

Navigate to Marketing > Automatic Related Products > Manage Rules. In the Add Rule section, select Product Page.

Add Rule

Step 2: Fill out General Rule Information

  • Rule Name: Provide a name for the rule. The rule name will be visible to administrators on the Manage Rules Page grid. This field is mandatory, so the system will announce an error message if it’s empty.
  • Status: Select “Active” to enable the rule.
  • Store Views: Choose the store view where you want to apply the rule. Multiple selection is available.
  • Customer Groups: Select the customer group(s) where apply the rule. You can select different customer groups as well.
  • From: Specify the starting date for the rule to be applied on the Product Page.
  • To: Specify the ending date for the rule to be applied on the Product Page.
  • Priority: Assign a number to establish the priority of the rule. The lower the number, the higher the priority.

Rule Information

Step 3: Set What Products to Display

At this point, you need to specify which items should appear in the Magento-related products block. The criteria are only based on product features such as size, color, material, and any custom attribute.

Set what products to display

Step 4: Select the Displayed Products.

  1. Block name: Enter the block’s name, which is only visible in the frontend
  2. Product Layout: There are two modes for choosing how products are displayed
    • Slider: Show products in slider form
      • Product amount on the Slider: Type in the number of products you want to show on the slider. The limit is 5. If empty or 0, 5 items will automatically be displayed on the slider.
      • Product Displayed When Scrolled: Enter the number of items to display each time the slider moves. The limit is 5. If empty or 0, after each before/after clicking on the slider, it will replace the following 2 products displayed on the slider.

Slider

Grid: Show products in grid form

  • Page Column Layout: Type in the number of products you want to show in the grid. The limit is 5. If empty or 0, 4 items will be displayed.

Grid

  1. Display mode:
    • Display Style: There are 2 Display Styles that you can select:
      • Ajax Display: ARP block is loaded after loading pages. This block will take some time to display in the frontend, which is suitable for page loading speed.
      • Block Display: ARP block will always be simultaneously loaded when loading pages and instantly display after loading the page. This option is beneficial for SEO improvement.

Limit number of products

  1. Limit number of products:
    • Limit the product amount to be shown in Block
    • In case you leave it blank or set 0, the system will display all products in the Product List
  2. Display “Out-of-stock” products: select “No” to not display Out-of-Stock products in the Auto Related Product block.

  3. Product order: choose how to sort products in the block
    • Bestseller: more purchased products will be displayed first.
    • Lowest Price: products displayed based on low to high price
    • Highest Price: products displayed based on high to low price
    • Newest: newer products added will be displayed first
    • Random: products are selected randomly from the Product List
    • Most Viewed: products visited the most will be displayed.
    • Note: Enable Reports to allow counting product views, which will be used as data for this Most Viewed block.
    • Product Name A-Z: sort products in the ARP block based on Name from A-Z.

See All in Slider

  1. Show See All in Slider: Select Yes to display the See All button next to the slider to allow viewing all Automatic Related Product block products.

  2. Slider Width (px): Enter px to the Slider Width field, and the slider width will be changed according to the entered value. Note: You should set the appropriate Slider Width to ensure the displayed products in the slider are not affected.

  3. Slider Height (px): Enter px to the Slider Height field, and the slider height will be changed according to the entered value. Note: You should set the appropriate Slider Height to ensure the displayed products in the slider are not affected.

  4. Show Next/Prev Buttons: Select Yes to display the Next/Prev buttons in the slider.

  5. Show Dots Navigation: Select Yes to display dots navigation in the slider.

  6. Auto Play: Select Yes to display the next product automatically in the slider.

  7. Auto Time-Out: Select the time to display the next product in the slider automatically.

  8. Display additional information: choose additional information or/and buttons displayed under products in the block:
    • Price
    • Review Information
    • Add to Cart
    • Add to Wishlist
    • Add to Compare buttons
  9. Add Product:
    • Choose an available related type of products to set for the block (Related Products, Up-sell Products, Cross-sell Products)
    • Each product page can have different related product blocks, which are set on the product set by the admin
    • How to configure Related, Up-sell, and Cross-sell Product documents can be found here

Do not Display Products in Remove products that have been added to the cart or in the Wishlist from the ARP block.

Product to meet Condition

  • Setting:
    • Choose products to be displayed in the ARP block. Only product pages that match the setup conditions, the new rule will be displayed
    • You can add or remove conditions by clicking on + or x
    • You can change the true/false of the condition by clicking the bold text

Product meet Condition

  • Preview Products: You will get a Product List after saving conditions. Click to Preview Products to see products that meet conditions. They will be presented in Block.
  • Apply “Similarity” Condition = Yes: Allow showing products with product attributes similar to the product on the current product page. Product attributes are selected via conditions. Similarity is available only on product pages.

This is where you specify the block where the Product Page is located

Where to display related products

  • Above Content: Auto Related Product block displayed above the Content of the Product Page
  • Below Content: Auto Related Product block displayed under the Content of the Product Page.
  • Floating Left Bar: Auto Related Product block displayed under the left of Product Page Content.
  • Floating Right Bar: Auto Related Product block displayed under the right of Product Page Content.
  • Product Tab: Show the Related Product block in the Native tab on the Product page.
  • Replace Related Products: The new block will replace Magento’s default Related Product Block.
  • Replace Upsell Products: The auto Related Product block will replace the default Upsell Product Block by Magento.
  • Before native Related products: Auto Related Product block displays above the Magento’s Related Product block.
  • After native Related products: Auto Related Product block displays below the Magento’s Related Product block.
  • Before Upsell Products: Auto Related Product block displays above Magento’s Related Product Block.
  • After Upsell Products: Auto Related Product block displays below the Magento’s Related Product Block.
  • Insert Snippet: Auto Related Product block will be displayed according to Widget, Page, and Template after deploying the following command.


automatic related product

Automatic Related Products for M2

Encourage customers to add more items to their cart by showing related products alongside their favorites

Check it out!


Let’s discover the advantages of using the Magento 2 Related Products Rules module.

  • Save time and Effort: Eliminate time-consuming manual setup by automating the process for cross-selling, upselling, and related products in Magento 2. In addition, from the customer’s perspective, it’s also an excellent tool to save time by not having to look for similar products while shopping.

  • Increase Store Revenue: Automatically suggest hot items to customers, encouraging them to make additional purchases and ultimately increasing your store’s revenue.

  • Meet your Goals - Set Rule Priorities: Easily create multiple rules and adjust their priorities based on your current objectives, allowing you to adjust your strategies and achieve specific goals as needed.

  • Improved Cross-Selling: Automatic Related Products Rules Extensions allow you to set up rules based on various criteria such as product attributes, categories, or customer behavior. This enables you to intelligently suggest related products, increasing the chances of cross-selling and boosting average order values.

  • Reduce Cart Abandonment: By recommending relevant products, e-commerce stores enhance customers’ overall shopping experience, ultimately reducing cart abandonment instances. This approach helps to capture customer interest and encourage additional purchases by offering complementary or related items that align with their preferences and needs.

  • Collect Data to Improve Sale Strategy: By analyzing relevant statistics and customer shopping behavior, you can adapt your sales strategy to effectively target customer preferences and optimize conversions, resulting in improved sales performance.

  • Dynamic Content Updates: The extension enables your related product recommendations to dynamically update based on real-time data and changes in your product catalog. This ensures that your recommendations stay relevant and aligned with the latest additions or modifications to your product range.

Conclusion

We hope that this instruction has answered the question you’ve been wondering: How to create Magento 2 Related Products Rules?

Magento 2 Automatic Related Products extension is an efficient tool for online business owners to boost revenue as it suggests more suitable items while their customers are shopping. We hope that it is now clear to configure Magento 2 Related Product Rules with the above steps. Please check out our full User Guide for more details, or contact us if you have any questions.

Table of content
    Jacker

    With over a decade of experience crafting innovative tech solutions for ecommerce businesses built on Magento, Jacker is the mastermind behind our secure and well-functioned extensions. With his expertise in building user-friendly interfaces and robust back-end systems, Mageplaza was able to deliver exceptional Magento solutions and services for over 122K+ customers around the world.



    Related Post

    Website Support
    & Maintenance Services

    Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.

    Get Started
    mageplaza services