vaikis![]() 2007-05-09 12:18 | In "order details" page I need to show the sub subcategorie name near item name. |
merci![]() 2007-05-09 12:20 | 1) edit file core/orders.php, under this line:
$content = null;
$aCategories = throwProductsCategories( );
$fSummary += $aList['fSummary'];
$aList['sCategories'] = throwTreeForProduct( $aCategories[$aList['iProduct']], $sFile );
<!-- BEGIN TREE_PARENT --><a href="?p=productsList&iCategory=$aListTree[iParent]" >$aListTree[sParent]</a><!-- END TREE_PARENT -->
|
vaikis![]() 2007-05-09 15:30 | Thank you very much!!!!, this was what i need. you are geniuos ;) Greetings from Lithuania ;) |
vaikis![]() 2007-05-09 15:40 | ups, one problem, when i push Order button this happens: |
merci![]() 2007-05-10 09:46 | vaikis - the solution I gave you is tested in Quick.cart v 2.1 and works good, so maybe you have some plugins installed in your Quick.cart and they cause the problem. |
vaikis![]() 2007-05-10 16:25 | i checked on fresh 2.1 version, and seems all is working, but in order list page (admin menu) if you push "More" button to see order you will get: |
vaikis![]() 2007-05-11 08:04 | no solution? |
merci![]() 2007-05-11 10:35 | vaikis - open file admin.php and paste there near 40 line
require_once DIR_CORE.'categories-'.DB_TYPE.'.php'; You have to also paste in templates/admin/orders_details.tpl blocks:
<!-- BEGIN TREE_PARENT --><a href="?p=productsList&iCategory=$aListTree[iParent]" >$aListTree[sParent]</a><!-- END TREE_PARENT --> Does it work? |
vaikis![]() 2007-05-11 11:08 | yes, it works! |
qwerty@de.hu![]() 2007-05-11 12:49 | dose this work in 1.4 version? |
treewood (OpenSolution)2007-05-11 15:17 | qwerty@de.hu - nope but You can try to do it maybe You will get this in v1.4. |