cancel
Showing results for 
Search instead for 
Did you mean: 

Accepting Terms & Conditions During Checkout

Accepting Terms & Conditions During Checkout

Hi, 

 

I'm hoping I can receive some help here. I've enabled Terms & Conditions for the checkout page, however there's a slight alteration that I need. When placing an order without ticking the terms and conditions box, a small pop up window displays detailing "An error occurred:
Please agree to all the terms and conditions before placing the order."

 

I would like to know if there is a way to remove the "An error occurred:" text? 

 

Thank you.

11 REPLIES

Re: Accepting Terms & Conditions During Checkout

Hi @I_K22,

 

What if you create a new validation rule and apply that new rule to that field. Then you'll be able to handle in a better way the error message (for example, triggering a modal or something similar)

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Accepting Terms & Conditions During Checkout

Hi,

 

Are you using any module for checkout? If so, could you name it here please?

Re: Accepting Terms & Conditions During Checkout

Hi asrarau,

 

I'm not using any module for the checkout.

Re: Accepting Terms & Conditions During Checkout

You will have to use a module to change the way this is being used.

Re: Accepting Terms & Conditions During Checkout

Explain what exactly you trying to do. If you want user to accept terms and conditions they click on it if not it will display Please agree to all the terms and conditions.

Is this not doing that?

 

 

Re: Accepting Terms & Conditions During Checkout

Hi drillsar12,

 

Everything is working fine, however when the user does not tick the terms and conditions box, and they proceed to place an order, a pop up box displays detailing that they will need to agree with the terms and conditions before placing the order.

 

In this image, this is what the pop up box looks like: http://pasteboard.co/2yycQ28vg.png

I simply would just like to remove the "An error occurred" text, as shown in the link

Re: Accepting Terms & Conditions During Checkout

Do you want the customer to accept the conditions? If not just go to Sales>Terms and Conditions and click disable.

Re: Accepting Terms & Conditions During Checkout

can you find the exact ‘error’ part from the ajax alert in Mage_Checkout module or in opcheckout.js. When you find that, just change that text.

 

 

Let me know if how you went about on this one :-) 

Re: Accepting Terms & Conditions During Checkout

I do want the customers to accept the conditions, I just want to remove that small piece of text which I outlined in my previous post. By default, I believe the message within the pop up box is the same for anyone else that have the terms and conditions enabled. 

 

Looking through the opcheckout.js file, I am unable to find the text to edit.