Hello Magento Kins,

How are things going? I will guide How to Add Frontend Product URL Column to Admin Product Grid in this article of Magento 2 How To series. You shall get some good ideas from the previous tutorial about Magento 2: Show Related Products On The List Page.

Name:  How-to-Add-Frontend-Product-URL-Column-to-Admin-Product-Grid-m2-950x500.png
Views: 10
Size:  388.2 KB

Basically, there is a requirement to view the product on the front-end or if you want to see a product in your front end then you have to search that product by name or with the help of SKU from the front end. And one has to find the SKU and product name manually by visiting the product grid and then copy that SKU or the product name and after this search that product from the Front-End.

Therefore, to overcome this problem here is the solution in which there is some code of implementation and with the help of that user can effortlessly redirect that product from the product grid from the admin. Here, just after writing some mandatory code we successfully add one column on the product grid which contains a link which is simply redirected to view the product on the frontend.

Steps to Code
Step 1: First you need to create product_listing.xml in following path:

app\code\Vendor\Extension\view\adminhtml\ui_compon ent\product_listing.xml

for more information: https://magecomp.com/blog/magento-2-...-product-grid/

View more threads in the same category: