Jump to content

guest checkout order-opc.js


Kristoff

Recommended Posts

Hello folks,

Currently, I'm changing guest checkout, becouse I want add invoice address.

 

Files:

controlles/OrderOpcController.php (override/controllers/OrderOpcController.php)

/themes/twojszablon/order-opc-new-account.tpl

/themes/twojszablon/js/order-opc.js

 

Controller was modified (remove the default shipping address assigned to an invoice).

I can display invoice address form. Edit order-opc.js

 

$('#opc_invoice_address').show();

 

 

Invoice address form don't show company field. Vat, company fields don't save in data base.

 

I think, that responsible for that is order-opc.js

 

Does anyone have any idea?

  • Like 1
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...