Jump to content

Adding personalized button on product list


pubblishark

Recommended Posts

Hi to all, there is a method to add personalized button at the product list?

I would to add a button to this part, in attachment.

 

I would add button by module without modify original product-list.tpl file... a would add a button by hook, it's possible?

Thanks for help :-)

post-1116077-0-69653200-1447056876_thumb.jpg

post-1116077-0-94939800-1447056877_thumb.jpg

Link to comment
Share on other sites

Hi pubblishark, the normal and good way is to add the button in the tpl with a custom hook, but if is mandatory to not modify tpl, you can use a workaround (this is a not very good solutions but it works well).
In your module, you can add a javascript in the hook displayHeader, and use javascript/jQuery to add a button where you want in the page.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...