Hello.
Im just a newbie learning PHP, so i would really appriciate your help. Well here is my problem :
When clicking on main category which contains subcategories, the subcategories are allso displayed on main page. My Idea is that when you click on category, the main page stays the same like before the click (whatever there was, it should stay there, no default page, just the same content). the change will only occour in categories window.
This should affect only solution where subcategoryes are choosen from. other situations like product listing should display on main page like default.
The one thing i found affecting this case is category_depth == 'nested' in index.php but im not sure if there is needed to change somthing in there.
Thank for suggestions and Please excuse my bad English.
Latest News: (loading..)
category_depth == 'nested'
Started by zaro, Jun 25 2012 08:25 PM
3 replies to this topic
#1
Posted 25 June 2012 - 08:25 PM
#2
Posted 25 June 2012 - 09:18 PM
the default value in the case structure gives you the front page, no categories selected.
if for instance you change the 'nested' in there to 'idontwantnested' I think it will just fall through into the default category and you'd be fine.
just try it, easy change ...
if for instance you change the 'nested' in there to 'idontwantnested' I think it will just fall through into the default category and you'd be fine.
just try it, easy change ...
Hava a nice day !
Carine Bruyndoncx
PS frustraded by the lack of feedback
<!--
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
post your findings in my responsive liive shop review thread ?
-->
Carine Bruyndoncx
PS frustraded by the lack of feedback
<!--
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
post your findings in my responsive liive shop review thread ?
-->
#3
Posted 25 June 2012 - 09:29 PM
Yes if i try it this way, it gives me the default page in my case the "news" page, but. i woult like it not to redirect me to default page, but instead do nothing, for example. im wathing at some product. i click category, for example "cars". now it canges the main page to default, the "news" but i want it to keep there the car, untill i select another product or another subcategory.
If u understand what i mean. im not sure if it is possible this way tho.
If u understand what i mean. im not sure if it is possible this way tho.
#4
Posted 27 June 2012 - 05:54 PM
Hmm; Î think you are looking for something like a javascript menu
https://www.google.com/search?q=oscommerce+category+menu
using above google search will give you some possibilites, I'd think one of them should offer what you are looking for
https://www.google.com/search?q=oscommerce+category+menu
using above google search will give you some possibilites, I'd think one of them should offer what you are looking for
Hava a nice day !
Carine Bruyndoncx
PS frustraded by the lack of feedback
<!--
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
post your findings in my responsive liive shop review thread ?
-->
Carine Bruyndoncx
PS frustraded by the lack of feedback
<!--
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
post your findings in my responsive liive shop review thread ?
-->









