How can I rename properties?

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
karpati
Posts: 14
Joined: 08 Feb 2022, 20:42

How can I rename properties?

Post by karpati » 06 Mar 2022, 15:40

Hello!
I imported a lot of products that have properties.
I see the properties here:
Catalog / Products / [my product] / Characteristics / Properties
Everything is awesome.

The names of the properties are not in my own language, I want to translate them.
If I change the property name in the "Types / Product properties" (Product Property Types) section,
it will not change for the product.

I can see that the name has changed in the "mshop_product_property_type" table,
but unfortunately it doesn't refer to products with an ID.

What is the easiest way to rename properties?

User avatar
aimeos
Administrator
Posts: 7923
Joined: 01 Jan 1970, 00:00

Re: How can I rename properties?

Post by aimeos » 08 Mar 2022, 07:03

If you want to translate property TYPES, you have to add translations, e.g.:
- https://github.com/aimeos/ai-client-htm ... y.php#L452
- https://github.com/aimeos/ai-client-htm ... po#L59-L73
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply