Jump to content

confirmFreeOrder() javascript function is not working


jijo009
 Share

Recommended Posts

  • 3 months later...
  • 9 months later...
  • 1 month later...

I'm also looking for a solution and posted another topic here

http://www.prestashop.com/forums/topic/278614-how-to-redirect-confirmfreeorder-to-a-new-page/

 

For me the button works but have to remove a dot

 

Original

<input type="button" class="exclusive_large" name="confirmOrder" id="confirmOrder" value="'.Tools::displayError('I confirm my order.').'" onclick="confirmFreeOrder();" />
 
Changed to
<input type="button" class="exclusive_large" name="confirmOrder" id="confirmOrder" value="'.Tools::displayError('I confirm my order').'" onclick="confirmFreeOrder();" style="margin-left:0;" /></p>';
 
There is a dot in the wrong place
displayError('I confirm my order').'
 
SEE how its after order?
displayError('I confirm my order.').'

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More