Jump to content

Don't allow to validate order if product price is 0


dooban
 Share

Recommended Posts

I am on PS 1.6.1

I do regular automatic imports on 40000 products, when I have product combinations and any of this products are in a cart, the total price changes to 0. The problem is that the id of product combination changes after every import.

But my problem is:

When there is a product in the cart with price = 0 and the order is confirmed, an error is produced and the cart is lost and the order not proceseed. Before I repair this error I need:

I need a validation that doesn't allow to confirm an order, showing a message to the user that says smth like 'You have products in the cart with price = 0, please fix it".

Please help.

 

Thanks

Share this post


Link to post
Share on other sites

  • 1 month later...

Please please

I need a validation that doesn't allow to confirm an order if there is a product in the cart with price = 0. It should show a message to the user that says smth like 'You have products in the cart with price = 0, please fix it".

Thanks

 

 

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