Calling Developers!
We are reenergizing our code contribution process! Learn More

Unable to add attributes in New or Existing Products

Options
ashutosh.mishra
ashutosh.mishra Spryker Solution Partner Posts: 3 🧑🏻‍🚀 - 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: 20 🧑🏻‍🚀 - Cadet
    Answer ✓
    Options

    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,016 ⚖️ - Guardians (admin)
    Options

    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: 3 🧑🏻‍🚀 - Cadet
    Options

    Hi @fsmeier ,

    The problem has been fixed.

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

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

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

    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 (_).