Jump to content

Product_Lang Table Question


Recommended Posts

Hello all

 

This is my first post, so please let me know if there is any info that I am leaving out.

 

I am running presta shop 1.5, installed less then a week ago.

 

I am exploring all of the product tables as an alternative to using the CSV import method which seems to be timing out per about 1000 products while also skipping over some of my products and leaving me quite clueless whats missing from my catalog after an import.

 

I want to import my products using SQL queries but I came across an interesting "problem?"

 

It seems presta shop stores six Product_Lang records per product? It that necessary? a bug? See my attached .jpg . What am I missing?

 

Thanks everyone for your time.

post-419012-0-60822700-1351537634_thumb.jpg

Link to comment
Share on other sites

Solution:

 

The database builds a language translation record for the default six languages, even if those languages are not enabled.

 

Deleting the languages removed the duplicate reccords. This should be the default, no? Seems rather clunky to have that many duplicate reccords for no reason. Also makes my life easier by not having to standardize the sql im going to write to add five times the data for no reason.

Link to comment
Share on other sites

×
×
  • Create New...