Jump to content

[Back office] Disabling lang with id=1 but new products still created with lang id=1


huymanutd

Recommended Posts

Hi all,

Replication steps:

1) International / Localization: Import the localization pack for Australia

2) International / Localization / Languages > Add new Language

Name: English (Australia)

ISO code: au

Language code: en-AU

Date format: d/m/Y

Date format (full): d/m/Y H:i:s

Status: Yes

3) International / Localization > Configuration:

Default language : English (Australia)

Set language from browser: No

Default country : Australia

Set default country from browser language: No

Default currency : Australia Dollar (AUD)

Save

4) International / Localization / Languages:

Disable the language with ID =1 , in this case English (English)

5) Catalog / Products > New Product

Name: test

Save

* Expected result:

Going back to Catalog / Products, we can see the new product with the name 'test' in the list

* Actual result:

Going back to Catalog / Products, we can NOT see the new product with the name 'test' in the list. It says 'N/A' instead

Checking in the table 'product_lang' , there are two entries for the new product, one of them contains id_lang =1 . Screenshot attached.

image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...