| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
"Sort By" Bar Appearing on Products Page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi All,
Having this weird issue where the "sort by" links are appearing at the top of the products page as well as next to the "send to friend" header at the bottom (I'm assuming it would be showing up next to every header for any mod that i enable on the prods pages.) I've been doing some template editing, so I may have screwed something up, but I haven't really touched product.tpl... Any ideas why this might be happening? Seems really random...
__________________
v 4.1.11, v 4.2 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() For 4.2 sort bar is invoked thru dialog.tpl
In our templates we check if there is some specific conditions are met before placing it in dialog title area. Alternatively you can use custom dialog2.tpl for your own dialogs and remove sort bar from here. Please note that for dialogs title with sortbar is applied specific CSS class that sets title's width to 50% Don't forget to customize this class appliance too
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks Victor!
I went ahead and did the following and it now works properly, with the sort bar on the categories pages but not the individual product pages: Code:
I tried doing an if with an || statement about products but it didn't work, so I just did an empty if and then the else if and it works! A bit of a hack, but it solves the issue which is what matters.
__________________
v 4.1.11, v 4.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|