How can I modify the "Add to shopping cart" button in my plugin to work for an arbitrary article?
In my plugin, I first get some articles directly from the database and then I pass them to a frontend view.
How can I now show the "Add to shopping cart" button for one (or more) of these articles?
I found the defalut button in the
frontend_detail_buy_button smarty block (
themes/Frontend/Bare/frontend/detail/buy.tpl), but I don't know how to modify it for an arbitrary article.
My version of Shopware is 5.2.8.