Jump to content

Store the delivery & invoice data automatically at the end of checkout with OPC


Recommended Posts

Hi guys
I need to find a solution for the checkout with OnePageCheckoutPs.

When a user logged add data, like delivery and invoice, he must not force to click on the 'Update' button for store the datas but it should do directly at the conclusion of the order.

In the screenshot what i need...

1 The customer insert data of delivery et invoice, normally for store this data he has to clcik on 'Aggiorna dati fatturazione' (Update => #btn_update_address_delivery) but i need that this is doing automatically on clicking on the button 3.

2 In the moment he edit a invoice address, it should happen the same thing of point 1...

3 I thought that a practique solution is when click on the button 3, automatically he click (maybe with jquery) on the button 1 and 2..But i try to edit the code with no success...

I suppose that this should be done in the method placeOrder() or onepagecheckout.js, but i can't find a solution for this...Someone can help me?

Immagine 2022-03-16 121813.png

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