Is there any way to get a product object in json format, from the front-end of my site?
Yes, call the product model with a plugin, module using ajax(com_ajax for eg.) or use a system plugin. but it's not really safe. Because VM product object include all details.
So best is to use own way or remove all datas to hide to users.
QuoteYes, call the product model with a plugin, module using ajax(com_ajax for eg.) or use a system plugin. but it's not really safe. Because VM product object include all details.
Thanks for the tip.
More details about the com_ajax can be found here:
https://docs.joomla.org/Using_Joomla_Ajax_Interface