| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
HELP: Advanced Browsing Mod- works, but still has errors | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Our store sells t-shirts from various anime series. Right now, we have over 300 series, so creating categories through x-cart was becoming a bother. Instead of having to create a new category every time we wanted to add a product from a new series, I figured it would be easier to just have param00 to be the name of the series, and write a script to automatically generate a list of the series names in the database. Some of the series names have apostrophes (') in them, so to handle this I added a line
Quote:
To get the listing of all the series, I created a file customer/series.php Quote:
and I added a new template, customer/series.tpl with the following code: Quote:
(searchseries.php is the same as search.php except it searches param00 for the exact string) I then modified customer/home.tpl so that the new series list would show up on the main page. Now all of this works great: all of the series in the database are listed on the main page, and when you click on the name of a series it will return all of the products in that series. There are two small problems, though. 1. The series are listed on the main page, but once you click on the name of a series (and when you are on other miscellaneous parts of the website), the series are no longer listed on the side. 2. When you enter a series name with an apostrophe in it into the search box, it will find the series without error, and properly formats the url. When you click on a one of the listed series names that has an apostrophe in it, however, it will return the same products, but comes up with the error Quote:
I would appreciate any help with this problem; it feels like there is just something stupid that I am overlooking. Hopefully this long post hasn't scared you away! I think this is a neat, fairly simple mod, so if I can get it working, hopefully others can benefit from it too. If you want to see the mod and the problems I was describing, head on over to http://www.animegination.com , but be warned that despite some issues, it is still a live site!
__________________
v3.3.6 |
|||||||
#2
|
|||||||
|
|||||||
![]() Any Luck?
John |
|||||||
#3
|
|||||||
|
|||||||
![]() No luck yet, but I've taken a break from it and will go back at it next week. I'll keep this post updated on any progress
![]()
__________________
v3.3.6 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|