Inhalte aufrufen

Profilbild

Location to store extra product information

Product Customize

4 Antworten zu diesem Thema

#1 CompleteCoders

CompleteCoders

    Advanced Member

  • Members
  • 69 Beiträge

Geschrieben: 24 September 2017 - 16:19

I need to store some a lot of extraneous data for a product.  We are building a custom product template to collect all this data.  I am curious if there is a logical place to store this data.  I can store it in JSON format if I need to but I wouldn't be able to query it well then, but if that makes the most sense then I will.  

 

I thought about creating my own tables to store it, but my concern is that as the product moves from table to table as it moves through the process of being purchased that these values follow it along.  

 

Thanks for any recommendations you can share.

 

Chris

 



#2 robinmuk

robinmuk

    Advanced Member

  • Members
  • 56 Beiträge

Geschrieben: 25 September 2017 - 04:57

Maybe you could use specification attributes


Best regards

 

Robin


#3 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3308 Beiträge

Geschrieben: 25 September 2017 - 10:47

You can use the SyncMapping entity for that. See also here.


Schöne Grüße aus Düsseldorf,
Marcus Gesing


#4 CompleteCoders

CompleteCoders

    Advanced Member

  • Members
  • 69 Beiträge

Geschrieben: 26 September 2017 - 04:18

@Marcus Gesing

 

Thank you for the link.  Is there a existing plugin that implements SyncMapping that you know of?  

 

Is there a downside for doing SyncMapping vs my own entity?



#5 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3308 Beiträge

Geschrieben: 26 September 2017 - 11:19

Yes, there are existing plugins using it but no open source plugin yet. A downside is less performance if there are many plugins storing large amounts of data in SyncMapping.


Schöne Grüße aus Düsseldorf,
Marcus Gesing




Auf dieses Thema antworten