Unable to add attributes in New or Existing Products

ashutosh.mishra
ashutosh.mishra Spryker Solution Partner Posts: 2 πŸ§‘πŸ»β€πŸš€ - Cadet
edited July 17 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 βœ“

    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 & Senior Technical Trainer Sprykee Posts: 971 πŸ› - Council (mod)

    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: 2 πŸ§‘πŸ»β€πŸš€ - Cadet

    Hi @fsmeier ,

    The problem has been fixed.

  • fsmeier
    fsmeier Senior Software Engineer & Senior Technical Trainer Sprykee Posts: 971 πŸ› - Council (mod)
    edited July 17

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

  • shlok.sharma
    shlok.sharma IT Analyst Spryker Solution Partner Posts: 20 πŸ§‘πŸ»β€πŸš€ - 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 (_).