Unable to add attributes in New or Existing Products

ashutosh.mishra
ashutosh.mishra Spryker Solution Partner Posts: 5 🧑🏻‍🚀 - Cadet
edited July 2023 in Spryker Development

Hi Everyone,

  1. Our current framework is B2C-DEMO-MARKETPLACE boilerplate.
  2. We have utilized two files for importing product attributes:
    a. product_attribute_keyb. product_management_attribute

    I have attached both files to this message.
  3. we are getting an error message when assigning these attributes to products.
    "Attribute does not exists"


Best Answer

  • shlok.sharma
    shlok.sharma IT Analyst Spryker Solution Partner Posts: 22 🧑🏻‍🚀 - Cadet
    Answer ✓

    hey @fsmeier , actually the problem was we created the file attribute_key and defined the key in Attribute key field with space and upper case letters. So, the solution was : the key should be small case and we cannot use space in between instead of that we have to use underscore (_).

Answers

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 ⚖️ - Guardians (admin)

    Heyhey @ashutosh.mishra ,
    can you please provide the exception message as well pls?

    All the best,

    Florian

  • ashutosh.mishra
    ashutosh.mishra Spryker Solution Partner Posts: 5 🧑🏻‍🚀 - Cadet

    Hi @fsmeier ,

    The problem has been fixed.

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 ⚖️ - Guardians (admin)
    edited July 2023

    Now I am curious :D What was the problem and solution?

  • shlok.sharma
    shlok.sharma IT Analyst Spryker Solution Partner Posts: 22 🧑🏻‍🚀 - Cadet
    Answer ✓

    hey @fsmeier , actually the problem was we created the file attribute_key and defined the key in Attribute key field with space and upper case letters. So, the solution was : the key should be small case and we cannot use space in between instead of that we have to use underscore (_).