Add function "add to card" opens offcanvas

Add function "add to card" opens offcanvas

Many shop system already have a function when you click "add to card" it opens offcanvas with the cart. Also click on cart button / link opens offcanvas menu.
Here is a YooTheme Pro / Woocommerce-example: https://qyra.lv: