How to Configure Default Field Values in Magento 2

When creating new products for stores using Magento 2 platform, Product Workspace allows you to save time by providing a number of default field values. These values are referenced from some other fields such as product name, or product description. Magento 2 set the following fields automatically to default values:

  • SKU: Based on Product Name field.
  • Meta Title: Based on Product Name field.
  • Meta Keywords: Based on Product Name field.
  • Meta Description: Based on both Product Name and Product Description fields.

The text that is put in double-curly braces are placeholders and it refers to the value of the base field(s) (Product Name, for example). Any attribute code included in the product attribute set can also be used as a placeholder.

Admin can edit the value of placeholders by the following steps:

Step 1: In the backend mode, go to Admin Sidebar and click Stores.

Step 2: Next, select Configuration under Settings.

Step 3: Expand Catalog on the left panel then choose Catalog.

Step 4: Drop down the Product Fields Auto-Generation section. After that, enter the text that you want to replace the placeholder values. Remember to unmark the Use System Value checkboxes before filling the blanks.Default Field Values

For instance, you want to enclose the word “Magento 2” to the meta descriptions of all products, you just need to enter “Magento 2” in the Mask for Meta Description field. By doing this, the phrase “Magento 2” will be shown up to all of the descriptions.

Step 5: Click Save config on the upper-right corner to confirm your settings.

Below is a list of common placeholders used by many admin:

{{color}}

{{country_of_manufacture}}

{{description}}

{{gender}}

{{material}}

{{name}}

{{short_description}}

{{size}}

{{sku}}

Now you can log in the backend mode and try out setting new values for some placeholders.

In short, here are all the details about Configuring Default Field Values in Magento 2 we want to share with you. For the Magento developers, it’s our pleasure to receive your comment and recommendation on our FAQ extension list. If you want to add or erase any item in this FAQ list, feel free to contact us. Don’t forget to Like, Share, and Subscribe to Magestandard for more informative Magento extension review articles.

What Is Catalog URLs in Magento 2?

The URLs of your online products and categories are extremely important to SEO (Search Engine Optimization). The friendlier your URLs are, the higher possibility that your products will be shown on customers’ search results. Therefore, it is necessary to consider the URLs format and URLs components for your Catalog URLs.

Catalog URLs

URLs format: There are 2 types of format available here:

  • Dynamic URL: is the link comes out when a customer search for products by searching tools. This type of URL can contain a query string, or a product’s ID. An example can be: http://onlinestore.com/catalogsearch/result/?q=+Savvy+Shoulder+Tote
  • Static URLs: is a unique address of one specific page. It is friendlier with SEO than Dynamic URLs are. It haves cues that is helpful when a customer looks for a product. For example: http://onlinestore.com/overnight-duffle.html

URLs components:

  • URL Key: Describes the product or category, should consist of normal characters with hyphens to separate words.
  • HTML Suffix: The suffix is controlled by the system configuration and can be either include or exclude from the product. Normally, it is set as “html” or “htm”. 

URL with suffix: http://onlinestore.com/gear.html or  http://onlinestore.com/gear.htm

URL without suffix: http://onlinestore.com/gear

  • Category Path: Like HTML suffix, this component is optional. It can be excluded to stay clear from being indexed to multiple pages with the same content. Magento 2 does not include this path in product URLs at the default setting. For instance: http://onlinestore.com/women/tops-women/hoodies-and-sweatshirts-women/mona-pullover-hoodlie.html

Configure Catalog URLs

In order to set up Catalog URLs, you need to sign in with your admin account first. Then follow 6 steps below:

Step 1: Click Stores in the navigation column on the left.

Step 2: Under Setting, tap Configuration.

Step 3: Expand the Catalog by clicking on the dropdown sign, then choose Catalog.

Step 4: Move downward until you see Search Engine Optimization sidebar. Select and/or fill in three options including:

Product URL Suffix: You can set this as “htm” or “html”. Remember that the period is not needed here because it is filed automatically.

Category URL Suffix: Either “htm” or “html” is ok. No period is needed.

Use Categories Path for Product URLs: You have three options here: Use system value/ Yes/ or No.

Search-Engine-Optimization-in-Catalog-URLs

Step 5: Click on Save Configuration on the upper-right corner to save your set up.

Step 6: When complete, tap the Cache Management link on the notice box and flush Magento cache to finish your work.

How to Master Catalog Workspace in Magento 2?

Are you using Magento 2? And you find it difficult to manage your online products? Don’t worry!! This article will provide you detail information about Product Catalog in Magento 2. After reading this, you will absolutely get the key to Catalog Workspace in Magento 2.

Where can you find Product Catalog?

From the backend mode in Magento 2, you can easily manage the Catalog as you want to. Firstly, you need to sign up with the admin account. Then click on Product category. There you can see three sub-categories: Inventory, Catalog and Categories. Pick up Catalog and you are in Magento 2 Catalog Workspace.

Where-to-find-Product-Catalog

What do you have in Catalog Workspace?

Once you are in the Catalog Workspace, you can see all of products listed on The Catalog grid. It allows you to control over every single products on the list: either edit the existing product or add a new one.

Workspace Control Tools

Workspace-Control-Tools

  • Add product: If you want to create a new product, click on the button. The down arrow provide you with 6 types of product: Simple, Configurable, Group, Virtual, Bundle, and Downloadable Product. You can choose one of them for your new product.
  • Filters: Provide catalog search with multiple attributes
  • [Default] View: Show the current layout. You can simply choose another grid column view (if any is available) or make up a new one.
  • Columns: You can choose different attributes to show on the Catalog grid columns by marking the checkbox in the first column of each. The most important ones are ID, Name, Price, SKU,…
  • Actions: Product list actions offers three options: Delete, Change Status, and Update Attributes.

Columns control

  • Checkbox : You can choose the product one by one or choose all of them by selecting “Select All” option. There also is “Select all on this page” choice, which help you choose all products on the current page.
  • ID: A unique number for a single product.
  • Thumbnail: Show a small picture of product.
  • Name: Name of the product.
  • Type: Type of the product.
  • Attribute Set: Show which categories the product belongs to.
  • SKU: A unique code of product in inventory.
  • Quantity: Indicate the current number of product in stock.
  • Visibility: Show the place that a product can be seen in the catalog: Not Visible Individually/Catalog/Search/or Catalog, Search.
  • Price: Unit price of one product.
  • Action: Click “edit” to come to edit mode.

Now you definitely can master the Product Catalog on our Magento 2!