frogtaku Posted May 16, 2014 Share Posted May 16, 2014 (edited) Hello, I want to do what is shown on this picture (moving the "add to cart" element to the center-column), except I don't see how this is possible: On a side note, I made a module and it is hooked to displayRightColumnProduct (and the positions menu shows it at the right place), but it is where I want to move the "add to cart" element. Is there a related reason? Thanks in advance for any suggestion. Edited May 16, 2014 by frogtaku (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2014 Share Posted May 16, 2014 in product.tpl file move contents of div: <div class="pb-right-column col-xs-12 col-sm-4 col-md-3"> to this one: <div class="pb-center-column col-xs-12 col-sm-4"> take a look: 1 Link to comment Share on other sites More sharing options...
frogtaku Posted May 16, 2014 Author Share Posted May 16, 2014 Worked like a charm, thanks a lot! Should I create another thread for my issue with my module hooked on displayRightColumnProduct? It is still in the center-column and is now above the "add to cart" element. Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2014 Share Posted May 16, 2014 go ahead here, explain me a little more i have no idea about what module / feature you're talking right now Link to comment Share on other sites More sharing options...
frogtaku Posted May 16, 2014 Author Share Posted May 16, 2014 Well, I created a module using the english documentation here. So far so good, I used the method to hook my module to displayRightColumnProduct and set its position in the back-office. The problem is that the module appears in <div class="pb-center-column col-xs-12 col-sm-4"> instead of <div class="pb-right-column col-xs-12 col-sm-4 col-md-3">. Are those classes irrelevant to the hooks by any chance? Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2014 Share Posted May 16, 2014 and you moved this hook to the correct position in product.tpl file ? or you didn't touch that? 1 Link to comment Share on other sites More sharing options...
frogtaku Posted May 16, 2014 Author Share Posted May 16, 2014 Silly me! I didn't touch that. I have moved the hook to the correct position in product.tpl now. Thanks again vekia! Link to comment Share on other sites More sharing options...
vekia Posted May 16, 2014 Share Posted May 16, 2014 you're welcome ;-) so, finally i can mark this topic as solved happy selling Link to comment Share on other sites More sharing options...
Recommended Posts