Babylon.js 3D Wordpress Plugin

Hi. I am honestly not that good with wordpress/code, but i was wondering if you could show us how to add the ability to view 3d files for each single product page.

As in, adding the short cut (woocomerce from my understanding already has preset templates?)

What i want is for every simgle product file to have the option for me to chose to add a 3d model or not

Hello and welcome!

Not sure that I fully understand what you would like to have.
There is already the shortcode in Bablon Viewer plugin which lets you to put 3d model at any content place where you want to display it. Since it is plugin, it doesn’t depend on any templates.
There also exists much more powerful Babylon Suite plugin for Wordpress - https://babylonpress.org/ - but I haven’t published it yet.

Hey, sorry for the late reply and thanks for the help!

I just have one last question, how can I make sure that people simply dont just look at the page source and download the stl file through " [babylon] wp-content/uploads/file.gbl [/babylon] "

How can I add privacy to the files to avoid piracy?

1 Like

Thank you very much!

Hello.
How can we the plugin to display the .glb as featured product image ?
I know how to display the 3D model with the shorcode in the product description, but I would like it to be displayed as featured product image, is there a way to do it ?

Thanks

Hello and welcome!

There are different ways to do it, one of the simplest is to use ACF plugin and custom field for GLB. But you’'ll need to change WP template as well.