| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#71
|
|||||||
|
|||||||
Quote:
Thank you for the report. Try to apply the attached patch, please (4.1.0)
__________________
Vladimir Semyonov Lead Software Engineer |
|||||||
#72
|
|||||||
|
|||||||
Quote:
Quote:
Try to apply the attached patch, please (4.1.0). Thank you for the report.
__________________
Vladimir Semyonov Lead Software Engineer |
|||||||
#73
|
|||||||||
|
|||||||||
Quote:
|
|||||||||
#74
|
|||||||||
|
|||||||||
When do you think the SQL database upgrade patch will be released. As I need to test my new layout (on v4.1) with my current product list.
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#75
|
|||||||
|
|||||||
Quote:
It is under development at the moment. We are planning to complete the patch and upload to the File area on Friday. However, you can use the '3x-4x import' link in the 'Import/Export data' section to import a CSV file generated by your older version of X-Cart. Please, make sure you have applied patch provided in this post: http://forum.x-cart.com/viewtopic.php?p=134869#134869 before importing.
__________________
Vladimir Semyonov Lead Software Engineer |
|||||||
#76
|
|||||||
|
|||||||
X-cart, I'm not sure if this is a bug or a designed change to the categories Array in V4.1.0.
I have a menu that automatically generates the categories and any subcategories down to 3 subcategories levels, using Smarty SECTION LOOPS and JavaScript. It works perfectly in V4.18. I was testing the same menu code in V4.1.0, and could only generate the 'Books' and 'Games and Toys' ROOT category. No subcategories were produced. I noticed in V4.1.0 ' categories.tpl ', xcart have replaced Smarty SECTION loops with FOREACH loops to produce the categories. This change is not a problem as my code can be modified to use foreach loops if required. The problem is when I loop through ALLCATEGORIES, CATEGORIES and SUBCATEGORIES array variables, they all contain the ROOT categories ONLY; (no sub categories). I checked the file ' include/categories.php ' and made the following changes to correct the problem with the missing subcategories from the ALLCATEGORIES array variable. ORIGINAL file from xcart V4.1 include/categories.php Quote:
CHANGED TO ( Reversed line 4 and 6 to correct problem with accessing SUBCATEGORIES) Quote:
Can you please confirm if the code in the ORIGINAL is an error/bug or a V4.1.0 design change? Regards, Syddos.
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
#77
|
|||||||||
|
|||||||||
Quote:
Just tried that and got the following error message: 'The file you are trying to import does not contain any sections.' also noticed that they is no link at all to a Import 3.x-4.x section in the 'Import/Export data' section and the module is enabled !
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#78
|
|||||||||
|
|||||||||
Fixed it :
Had to remove the AREA_TYPE bit from import_tools.php Code:
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#79
|
|||||||
|
|||||||
Quote:
That is not a bug. The procedure of generating categories was optimized to increase performance and decrease memory requirements, and, as a result, the format of some arrays was modified.
__________________
Vladimir Semyonov Lead Software Engineer |
|||||||
#80
|
|||||||
|
|||||||
Quote:
Thanks for confirming that, I thought it was a design change. I have decided to use the change I made to file ' include/categories.php ', to allow my nested Smarty Section Loops to produce a printed lists of each Root category and its sub level categories (I have 3 sub levels). I will use this list to hard code the menu category data into the template file. This will save even more memory and time when the page is reloaded, however the include/categories.php file will still be doing is job. Regards, Syddos
__________________
Syddos Nothing is impossible, We just don't know how to do it ........Yet! Xcart 4.1.X PRO (Testing Platform: winXP Pro) Perl 5.8.7 (win32) WINAMP 1.6.3 (win32 server package. Includes the following) - phpMyAdmin v2.8.03 - MySql 5.0.21 - Apache 2.0.55 (win32) - php 5.1.4 - SQLitemanager 1.2.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|