Jump to content

How to add divider in address page v1.7


flyerkhong

Recommended Posts

./controllers/admin/AdminAddressController.php

after:

$temp_fields[] = array(
                    'type' => 'text',
                    'label' => $this->trans('VAT number', array(), 'Admin.Orderscustomers.Feature'),
                    'col' => '2',
                    'name' => 'vat_number',
                    'required' => in_array('vat_number', $required_fields),
                );

 

add:

$temp_fields[] = array(
                    'type' => 'html',
                    'html_content' => '<hr style="border-top: 2px dashed red; margin-left: -25%;" />',
                    'col' => '8',
                    'name' => 'divider',
               );

 

obrazek.thumb.png.92fe4eb1659a957be8a692f89d44ca30.png

Edited by Guest (see edit history)
Link to comment
Share on other sites

5 hours ago, Guest said:

./controllers/admin/AdminAddressController.php

after:


$temp_fields[] = array(
                    'type' => 'text',
                    'label' => $this->trans('VAT number', array(), 'Admin.Orderscustomers.Feature'),
                    'col' => '2',
                    'name' => 'vat_number',
                    'required' => in_array('vat_number', $required_fields),
                );

 

add:


$temp_fields[] = array(
                    'type' => 'html',
                    'html_content' => '<hr style="border-top: 2px dashed red; margin-left: -25%;" />',
                    'col' => '8',
                    'name' => 'divider',
               );

 

obrazek.thumb.png.92fe4eb1659a957be8a692f89d44ca30.png

Hi,

really appreciate for help, it is very helpful

please help me again for the below issue

 

thank you and appreciate

 

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