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 Insert New Products List in Widget in Magento 2

Vinh Jacker | 08-09-2016

Insert New Products List in Widget

New product list is necessary to inform customers with the latest products which are marked as “New” and selected from the catalog. The homepage is one of the first places that customers may go to search before buying, hence it is considered a great place to promote new items. Now it is possible for you to create such a list in Magento 2 by adding a widget. The list can be set to display in the default which automatically contains recent added items or demonstrates only new items specified by a Date Range.

This tutorial will help you produce your own New Products List to catch your customers’ attention and boost sales accordingly.

5 Steps to Insert New Products List in Widget in Magento 2:

Step 1: Configure the Date Range

The Date Range will decide the period of time that a product is considered as New. To assign values for Date Range, follow the instruction below.

  • On the Admin sidebar, click Products > Inventory > Catalog.
  • In the grid, choose the product you want to settle the Date Range and click on edit mode in the Action column.
    • Click ADVANCED SETTINGS > autosettings.

    • Enter a valid first date to assign for the item in the Set Product as New From Date field or click on calendar button New Products List in Widget and choose the date.

    • Enter a valid last date to assign for the item in the Set Product as New To Date field or click on calendar button New Products List in Widget and choose the date.

New Products List in Widget

  • Click the Save button in the upper-right corner when you are done.

Step 2: Generate the Widget

Now you will determine how the New Products List display on your storefront.

  • On the Admin sidebar, tap Content > Elements > Widgets.

  • In the upper-right corner, click the Add New Widget button.
  • In the setting section:
    • Set Type to Catalog New Products List.
    • Set Design Theme to the current used theme of your store.
  • Click Continue.

New Products List in Widget

  • In the Storefront Properties section, complete the following fields:
    • Widget Title: Type a specific title for the widget in the field. This title is visible only from the Admin.
    • Assign to Store Views: Choose the store views that the widget is visible.
    • Sort Order: This field is optional, you should enter a number to set the order this item appears with others in the same part of the page, starting from 0.

New Products List in Widget

Step 3: Display on frontend

The appearance of New products List can be modified in the Layout Updates section.

  • click Add Layout Update.
    • In the Display on field, set Specified Page.”
    • In the Page field, set CMS Home Page.
    • In the Block Reference field, set Main Content Area.
    • Set Template to the one you prefer the New Products List to display.

New Products List in Widget

  • Click Save and Continue Edit.
  • If you are notified to refresh the page cache, click the links in the notification, and follow the instructions.

Step 4: Set the List

The content of the New Products List is managed in this part of the guidance.

  • In the panel on the left, click on Widget Options.
    • In the Display Type field, choose All products to display all recently added products or New products to show the items specified with a Date Range and the list will be blank if the Date Range expires.
    • In the Display Page Control field, choose Yes to control the number of products shown on one page or turn it to No to display all items.
      • If the field Display Page Control is Yes, the box Number of Products per Page will appear. Enter the number of products you want to perform on each page.
    • In the Number of Products to Display field, enter the number of new products you want to include in the list or leave it for the default number which is 10.
    • In the Lifetime (Seconds) field, custom the number to set the time interval between each refresh circle of the new products list. If the field is left blank, the cache is set to 86400 seconds by default.

New Products List in Widget

  • Click save when you are finished.
  • If you are notified to refresh the page cache, click the links in the notification, and follow the instructions.

Step 5: Preview {preview}

  • On the Admin sidebar, click Content > Elements > Pages.
  • Find the page that you assign the New Products List to be visible on and in the Action column tab Select > Preview.

Final words

Inserting New Products List in Widget in Magento 2 can bring an engaging frontend, helping online merchants to promote their recently released items effectively. If you find yourself troubled to follow the guideline, please contact us for more support. Share it with your friends or business partners to help them as well. See you in our next posts!

Related topics

x
    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