Modify "Add to shopping cart" button in plugin

I already got my plugin bootstrap file and custom tpl file in the plugin directory.
I actually subscribed to the Enlight_Controller_Action_PostDispatchSecure_Frontend event and I want my custom „Add to shopping cart“ button in my frontend/listing/index.tpl smarty file.

The problem is that I don’t know how to make the button dynamic, i.e. to work for some specific article.