diff --git a/src/Elcodi/Plugin/StoreSetupWizardBundle/Resources/views/Wizard/wizard.html.twig b/src/Elcodi/Plugin/StoreSetupWizardBundle/Resources/views/Wizard/wizard.html.twig index e9673062..945902c3 100644 --- a/src/Elcodi/Plugin/StoreSetupWizardBundle/Resources/views/Wizard/wizard.html.twig +++ b/src/Elcodi/Plugin/StoreSetupWizardBundle/Resources/views/Wizard/wizard.html.twig @@ -67,7 +67,7 @@

{{ 'elcodi_plugin.store_wizard.step3.description'|trans }}

{% endif %} -

{{ 'elcodi_plugin.store_wizard.step3.action'|trans }}

+

{{ 'elcodi_plugin.store_wizard.step3.action'|trans }}

{% if not isMiniWizard %}

{% trans with {'%1': minutesStepThree } %}elcodi_plugin.store_wizard.estimated_time{% endtrans %}

{% endif %} @@ -90,9 +90,9 @@ {% endif %}

{% if carrier %} - {{ 'elcodi_plugin.store_wizard.step4.action_range'|trans }} + {{ 'elcodi_plugin.store_wizard.step4.action_range'|trans }} {% else %} - {{ 'elcodi_plugin.store_wizard.step4.action_carrier'|trans }} + {{ 'elcodi_plugin.store_wizard.step4.action_carrier'|trans }} {% endif %}

{% if not isMiniWizard %} diff --git a/src/Elcodi/Plugin/StoreSetupWizardBundle/Services/WizardStatus.php b/src/Elcodi/Plugin/StoreSetupWizardBundle/Services/WizardStatus.php index 9104a77c..a9927120 100644 --- a/src/Elcodi/Plugin/StoreSetupWizardBundle/Services/WizardStatus.php +++ b/src/Elcodi/Plugin/StoreSetupWizardBundle/Services/WizardStatus.php @@ -17,6 +17,7 @@ namespace Elcodi\Plugin\StoreSetupWizardBundle\Services; +use Elcodi\Component\Geo\Entity\Interfaces\AddressInterface; use Elcodi\Component\Plugin\Entity\Plugin; use Elcodi\Component\Product\Entity\Interfaces\ProductInterface; use Elcodi\Component\Product\Repository\ProductRepository; @@ -153,6 +154,7 @@ protected function isAddressFulfilled() ->getAddress(); return + $storeAddress instanceof AddressInterface && $storeAddress->getCity() != '' && $storeAddress->getCity() != null && $storeAddress->getAddress() != '' &&