Hi!
Can help you with this one.
- Please create the app/addons/my_changes/controllers/frontend/checkout.post.php file with the following content:
<?php
defined('BOOTSTRAP') or die('Access denied');
if ($mode === 'checkout') {
$view = Tygh::$app['view'];
$user_data = $view->getTemplateVars('user_data');;
$user_data['ship_to_another'] = true;
$view->assign('user_data', $user_data);
}
- Go to the Add-ons > Manage add-ons page.
- Find there the My changes add-on, install and activate it, in case it is not installed and activated.
I hope it will help you.