We have a requirement where we need to show product details using the product id or product handle using the product object in a custom page template, not the product template. So, how we could achieve that.
Not sure what level of web development you have but I’m going to assume you’ve got a fair level.
Take a look at this page as it talks using all_productsLiquid. That’s useful to use in Liquid templates to grab product data using the handle, and saves looking at JavaScript methods.
This is my recommendation for your question. Please create new product template in Templates/product.custom.liquid and each product choose templates suffix.