What's New
This topic contains 16 replies, has 3 voices, and was last updated by futurowebpl Oct '20.
Viewing 17 posts - 1 through 17 (of 17 total)
Viewing 17 posts - 1 through 17 (of 17 total)
You must be logged in to reply to this topic.
This topic contains 16 replies, has 3 voices, and was last updated by futurowebpl Oct '20.
Hello,
There is a serious error in EasyCheckout that prevents integration with ERP,
After unchecking the Use this address for invoice option
The company name and VAT number do not copy to the billing address.
Each ERP uses the invoice address column in its entirety.
The data should be copied in full to the billing address.
When this is corrected, this is a very big problem?
See screens 🙁
See attached pic, you used a piece of css code to hide those fields from the invoice form .
Copying “Company” and “Vat” infoormation from shipping form to invoice form doesn’t make sense for all people.
If you need the feature, you need to edit this \modules\steasycheckout\views\js\front.js file to replace this code #steco_customer_form_register input[name="firstname"],#steco_customer_form_register input[name="lastname"]
by this one #steco_customer_form_register input[name="firstname"],#steco_customer_form_register input[name="lastname"],#steco_customer_form_register input[name="company"],#steco_customer_form_register input[name="vat_number"]
Put this code to the custom Js code field in the Theme editor module.
$(document).ready(function () {
$(document).on('keyup','#st_address_form_delivery input[name="company"],#st_address_form_delivery input[name="vat"]', function(){
var field_name = $(this).attr('name');
var invoice_dom = $('.st_address_form_invoice input[name="'+field_name+'"]').val($(this).val());
});
});
Oh my fault, use this code instead.
$(document).ready(function () {
$(document).on('keyup','.st_address_form_delivery input[name="company"],#st_address_form_delivery input[name="vat"]', function(){
var field_name = $(this).attr('name');
var invoice_dom = $('.st_address_form_invoice input[name="'+field_name+'"]').val($(this).val());
});
});
The only change is changing this code #st_address_form_delivery to .st_address_form_delivery
It’s me, my fault, sorry. This is the correct code.
$(document).ready(function () {
$(document).on('keyup','.st_address_form_delivery input[name="company"],.st_address_form_delivery input[name="vat_number"]', function(){
var field_name = $(this).attr('name');
var invoice_dom = $('.st_address_form_invoice input[name="'+field_name+'"]').val($(this).val());
});
});
See attached pic.
You must be logged in to reply to this topic.