

AR button on product page
Tyralix WebAR Place in Room transforms your WooCommerce store by allowing customers to place your products in their actual space using their smartphone camera. This immersive augmented reality experience helps customers make confident purchase decisions, leading to increased conversions and reduced returns.
Actions:
* tyralix_webar_before_ar_button – Before AR button renders
* tyralix_webar_after_ar_button – After AR button renders
* tyralix_webar_model_created – When a model is created
* tyralix_webar_model_updated – When a model is updated
* tyralix_webar_model_deleted – When a model is deleted
* tyralix_webar_ar_session_start – When AR session starts
* tyralix_webar_ar_session_end – When AR session ends
Filters:
* tyralix_webar_button_text – Filter AR button text
* tyralix_webar_button_class – Filter AR button CSS class
* tyralix_webar_model_data – Filter model data before rendering
* tyralix_webar_viewer_attributes – Filter model-viewer attributes
* tyralix_webar_allowed_domains – Filter allowed external model-file domains
* tyralix_webar_rate_limit – Filter API rate limit
[tyralix_ar_viewer]
Display an AR-enabled 3D viewer.
Attributes:
* product_id – WooCommerce product ID
* model_id – Model library ID
* glb_url – Direct GLB file URL
* usdz_url – Direct USDZ file URL
* width – Viewer width (default: 100%)
* height – Viewer height (default: 400px)
* auto_rotate – Enable auto-rotation (yes/no)
* ar – Enable AR button (yes/no)
Example:
[tyralix_ar_viewer product_id=”123″ height=”500px” auto_rotate=”yes”]
[tyralix_ar_button]
Display just the AR button.
Attributes:
* product_id – WooCommerce product ID
* text – Button text
* class – Additional CSS class
* style – Button style (primary/secondary)
Example:
[tyralix_ar_button product_id=”123″ text=”View in AR” style=”primary”]
Base URL: /wp-json/tyralix-webar/v1/
GET /models – List all modelsPOST /models – Create a modelGET /models/{id} – Get a modelPUT /models/{id} – Update a modelDELETE /models/{id} – Delete a modelGET /products/{id}/ar – Get product AR dataPOST /analytics/track – Track an eventGET /analytics/summary – Get analytics summaryGET /settings – Get plugin settingsPUT /settings – Update plugin settingsFor support, please visit Tyralix Support or use the WordPress.org support forums.
This plugin bundles the following open-source libraries: