Another option with inserting your own hook.
It's terribly simple. Just understand it.
Open up ./themes/classic/templates/catalog/product.tpl
1. find
{block name='product_add_to_cart'}
{include file='catalog/_partials/product-add-to-cart.tpl'}
{/block}
2. add after your block or hook
{block name='my_module'}
{hook h='myCustomDisplayButton' id_product=$product.id}
{/block}
3. edit your module and add your hook
a) edit install function
public function install()
{
$this->registerHook('myCustomDisplayButton');
....
....
....
b) edit uninstall function
public function uninstall() { $this->unregisterHook('myCustomDisplayButton'); .... .... ....
c) add your hook function
public function hookMyCustomDisplayButton($params) { $idProduct = $params; return '<hr><div style="display:block; width:100%;"><div class="btn btn-primary" style="my-button">Hello Word !</div></div>'; }
4. register your hook
- admin => design => positions
and click to Transplant a module button
5. find your module
6. select your new HOOK
Result: