Skip to content

Add product attribute type "integer" #29043

@Eddcapone

Description

@Eddcapone

Description (*)

Magento 2.3.5-p1 Enterprise

We need attributes with type integer for products with a certain length, e.g. 100 centimeters,
but Magento 2 does not even have such a type. I found a price type, but thats not what we want.
We need it to be type integer, because otherwise we can't use conditions like "smaller than", "greater than" etc. in sections
where you can define rules or in extensions like Amasty Shipping Rules.

Expected behavior (*)

I expect to be able to create attributes with type integer.

Benefits

You would add support for products like window sills.

Additional information

Steps to reproduce:

Backend:

  1. Stores -> Attributes: Product
  2. Click on Button "Add new attribute"
  3. Attribute Properties: look at available "Catalog Input Type for Store Owner" types:

image

  1. Notice that there is no way to add an attribute with type "integer"

Metadata

Metadata

Assignees

Labels

Area: Admin UIComponent: AdminIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Reported on 2.3.5-p1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

Status

Ready for Grooming

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions