DragonflyCMS Projects > Amazilla :: Archives > Error browsing featured items :: Archived > Community Forums > Phoenix Netology
Forum Index > eCommerce > Amazilla > Archives

Archived > Error browsing featured items


I have a new install of Amazilla running on Dragonfly. Everything seems to work just fine but when I set "Show More/Previews Buttons:" to yes my first page of items for the category show up fine except every link to additional pages takes me to a single item that isn't even featured.

For example

heroeshideaway.com/Ama...g=dvd.html

If you click on Next or and of the page numbers it takes you to the Fellowship of the Ring Collectors Edition.

ALL LINKS go to the Fellowship of the Ring Collectors Edition.

Most frustrating.

Please enter your server specs in your user profile! 😢


I had a similar problem. With more than 10 featured items, when I clicked on the "next" button or a page number I got a single item (the default as assigned in Amazilla admin). What I discovered was that the page links called for: "index.php?name=index.php?module=amazilla" rather than the expected "index.php?module=amazilla".

After much messing around with the script I finally discovered that $Link, an input for the page_links function, is defined with getlink(). At the same time, the function page_links also calls getlink() for the links it defines. The result of all this is that "?name=$module_name" gets called twice.

To fix this, replace line 732 in includes/Amazilla/functions.php (after backing up thefile!)with :
$Link = "$AMZModule_Name&op=ShowFI&catalog=$AMZSEARCH[2]";


This removed the double call to getlink() and sends the proper information. I've tested this with various searches and it appears to work correctly in all instances. This worked for me; I am not responsible for what it may do to you!

Kaboodle!
www.kaboodleshops.com/dragon/

Please enter your server specs in your user profile! 😢

All times are Australia/Adelaide
This forum is locked: you cannot post, reply to, or edit topics. Forum Index > eCommerce > Amazilla > Archives
Page 1 of 1