Hevelop / invoice-request

Magento 2 module to generate invoice request field in checkout for italian invoicing
GNU Affero General Public License v3.0
16 stars 12 forks source link

Change location of the options #21

Open cptX opened 1 year ago

cptX commented 1 year ago

Hi, I'm trying to modify this module for using it in the Greek system. In the greek system the only thing needed it to select if you want invoice or receipt and if you want an invoice to write the company infos. I would like to show these options in the position marked with red in the attached picture. I don't want to show the options on every available payment method. So let's say in this page I want the customer to first select if he wants receipt or invoice and then to select the payment method.

Would this be possible? How can I achieve this? Which files do I need to modify?

timologio_i_apodeixi_marked

cptX commented 1 year ago

As a secondary question, if it's not possible to place this field out of the payment options, is there at least a way to modify it's position up or down compared to other custom fields in the checkout? For example I have added a module to allow order comments in the checkout and this now shows above the "I want invoice" field. I would like to move the "I want invoice" above this custom field. How can I achieve this? I have tried to include an extra line 1 in checkout_index_index.xml but I didn't see any difference.