Jump to content

Dynamic Html From Module On Hook


Recommended Posts

Hi,

 

I have a module that adds rows to a table on the hook "displayShoppingCart" when the "plus" button of the shopping cart is pressed. The problem I have is that whenever I press for a second time on the plus button, it resets the hook contents to the default html of the module template, instead of adding another row to the table. Is there any configuration that sets that the hook html content must be reset everytime javascript of the module is executed?

 

Thanks a lot,

xavi

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...