Jump to content

Adding Show/Hide function to checkout button?


DomsAdmin

Recommended Posts

Hello all Prestashop devotees, good day!

 

I've managed to put the checkout button into the blockuserinfo module with help from the forum-Thanks!

Now what I am trying to do is add some sort of show/hide function to the checkout button to make the checkout button 'SHOW' when someone add item(s) to the cart and 'HIDE' when nothing is in the cart or someone empties the cart, without the page having to be refreshed...

 

Any suggestions on how this can be done using jquery or some sort of scripting?

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