DBProductAttributeProvider.cs: Line 148: public abstract DBProductVariantAttributeValueCollection GetProductVariantAttributeValues(int ProductVariantAttributeID, string LanguageCulture);
SQLProductAttributeProvider.cs: line 341: public override DBProductVariantAttributeValueCollection GetProductVariantAttributeValues(int ProductVariantAttributeID, string LanguageCulture) line 347: db.AddInParameter(dbCommand, "Language", DbType.String, LanguageCulture);
ProductAttributeManager.cs: line 405: DBProductVariantAttributeValueCollection dbCollection = DBProductAttributeProvider.Provider.GetProductVariantAttributeValues(ProductVariantAttributeID, NopContext.Current.WorkingLanguage.LanguageCulture);
I used tely's partial code for ver 1.1 and implement it in 1.2 with this diferences:
1. I send LanguageID and not culture 2. All translations are in 1 database 3. Stored procedures are refactored in that way (1 translation table for all)
I installed this shopping cart 3 days ago for the first time and I liked it. I think tely's slution will have problems when you add language after you have some products so update procedure should also be refacoted to that solution to work.
In my way I have change SP and all of them returns string in selected language and if its not existing then it is returning value that is written in base table (that value is writen only on insert)
I did not keep tracks of changes :( (but I started from tely's and refactor them to suites my needs because its only 3 days I use this software and I still dont know where is what) so I dont know if this will help, but I'll be glad to share idea if you are interested.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.