pubblishark Posted November 9, 2015 Share Posted November 9, 2015 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 :-) Link to comment Share on other sites More sharing options...
Antonino - Uebix.com Posted November 9, 2015 Share Posted November 9, 2015 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now