If you create an attribute in the e-commerce module the order is always displayed as 0 in the view attributes/create_edit.blade.php (but correctly inserted in the database)
In the view the line:
In the view the line:
{!! CoralsForm::number('display_order','Ecommerce::attributes.attributes.order',true,0,['min'=>0]) !!}
should be:
{!! CoralsForm::number('display_order','Ecommerce::attributes.attributes.order',true,$attribute->display_order,['min'=>0]) !!}
Please login or Register to submit your answer