News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[FIXED] Parent/child category save issue

Started by Oliver Griffiths, November 23, 2007, 10:47:21 AM

Previous topic - Next topic

Oliver Griffiths

 Hi,

I noticed a bug in build 1046 that when you save/update a category that has a parent, that information is not saved.

Ive identified the problem in ps_product_category.php on line 236/324 that

$d['parent_category_id']

should be

$d['category_parent_id']

Hope this helps.

Oli

jenkinhill

Using rev 1049 the child category is saved OK. But if the child is subsequently edited it is saved as parent (top level) category. This happens despite the correct parent being selected in the category edit page before saving.

Database Version: 4.1.22
PHP Version: 4.4.4
Web Server: Apache
VirtueMart 1.1: Ver. 1049
Joomla! Version: Joomla! 1.0.13 Stable [ Sunglow ]
and
Joomla! Version: Joomla! 1.5 Beta3+ Rev 9328 9 November
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum