Repository - The WordPress/Woocommerce plug-in can be downloaded via this link, https://gitlab.exposit.com/wizart/woocommerce-feeting-roomwordpress.org/plugins/wizart-home-interior-design-solutions/
Install:
Insert correct api token into const CLIENT_TOKEN in file public/class-wizart-public.php.
...
Then install as normal WP plugin via Plugins -> Add New.
Plugin adds integration:
On the homepage as a floating button in the lower right corner
On the category page as a entry point after price (used hook woocommerce_after_shop_loop_item. Visual Hook Guide)
On the single product page as a entry point after add to cart (used hook woocommerce_after_add_to_cart_form. Visual Hook Guide)
Two-way shopping cart synchronization
On the category page and single product card, the existence of the article in the PIM is checked by the vendor code (SKU).
...
Example display cart with the same articles:
Woocomerce: https://prnt.sc/vl9g8p
Fitting Room: https://prnt.sc/vl9h0v
To change the display of buttons, need to use the deployment kit in the file public/class-wizart-public.php in the functions:
...