cancel
Showing results for 
Search instead for 
Did you mean: 

Create button using layout processor

Create button using layout processor

Hi all.

 

I'm trying to create button below estimate shipping form in checkout cart page by using layout processor. I have tried this code:

 

'estimate_button' => [
    'visible' => true,
    'formElement' => 'button',
    'label' => __(''),
    'value' => __('Estimate'),
    'sortOrder' => 115
]

But the button looks like this:

Selection_010.png

What is the correct way for creating button in layout processor?

 

Thanks for your response.