postcodeservice/postcode-magento2

[BUG] TIG street field is shown before filling postcode and house number

basvanpoppel opened this issue · 7 comments

To Reproduce
Steps to reproduce the behavior:

  1. Start new session, add something to cart
  2. Go to checkout with Netherlands as default and Postcode Checkout for NL enabled

Expected result
While NL is selected as country, until postcode/house number are filled, street and city fields are hidden.

Actual result
Street field (tig_street) is shown, only city field is hidden

Workaround
I've created a patch for now, changing 'visible' to 'false' in Plugin/Model/ResourceModel/Country/CollectionPlugin.php

Screenshots
If applicable, add screenshots to help explain your problem.

** Please complete the following information**

  • Magento version: 2.4.3-p2
  • PHP version: PHP 7.4

Hi @basvanpoppel ,

I can reproduce this issue, I will place this on our backlog to fix the issue.
Thank you for bringing this to our attention.

Have a great day,
Jeffrey

Is there an update regarding this issue? I have encountered this same issue with:

  • Magento 2.4.5
  • OneStepCheckout: 1.2.059
  • Extension version: 1.5.1
  • PHP: 7.4

Hi,

We have a fix ready, but is not live yet. If you want to fix it at this moment, you can edit: Plugin/Model/ResourceModel/Country/CollectionPlugin.php

at line 104-106 you will have
'tig_street' => [ 'sortOrder' => $sortOrderBase + 3 * $sortOrderIncrement, 'visible' => true,
You can change the true into false here to make it not visible.

Have a great day,
Jeffrey

Hi @Paulsky ,

Like I said in #51 this issue should be fixed in our newest version of the extension. If it still does not work for you, I would like to ask you to contact us via support@tig.nl

Have a great day,
Jeffrey

Hello @tig-jeffreybranderhorst thank you for your reply. This issue is from August. The last release is in July. When is the new version released?

Hey @Paulsky ,

According to my documentation, it should already be released, but I see it is not yet released. I Just asked and at this moment we do not have a release date yet. I will open this issue so we won't lose track of this.

Have a great day,
Jeffrey

Hi @Paulsky ,

We just released a new version, and we fixed this issue in that version.
If you still got question after updating the extension, don't hesitate to contact us at support@tig.nl

Have a great day,
Jeffrey