What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Creation of super-attributes after product import Hey everybody, we are working on an automatic pro

U018G5AQ5PS
U018G5AQ5PS Posts: 5 🧑🏻‍🚀 - Cadet

Creation of super-attributes after product import

Hey everybody, we are working on an automatic product import from a third-party source into Spryker, right now.
To simplify our import logic more, we would like to create (super-)attributes (via ZED or programmatically) right after the import of a product.
 
This works really nice for the display of product attributes. But for the product configurator functionality, the later added attributes are missing, or the attributes are not connected to the product.
Is there some kind of functionality with which we can rebuild the data structure of the product configurator?

Thanks in advance,
Jonas

Comments

  • U013EK8RD7A
    U013EK8RD7A Posts: 127 🧑🏻‍🚀 - Cadet

    well, attributes and super attributes should be imported either before products, or during product import, but before persisting the product. Super attributes should be also marked as “super” before product import

  • U018G5AQ5PS
    U018G5AQ5PS Posts: 5 🧑🏻‍🚀 - Cadet

    Yes, exactly. My question is only whether there is a possibility or a common way to import the super attributes after the products and then restore the data consistency in a seperate step?

  • U018G5AQ5PS
    U018G5AQ5PS Posts: 5 🧑🏻‍🚀 - Cadet
    edited January 2021

    Saving the product again restores the connection to the attributes, which would be a practicable way for us in the import process. 🙂