Hello,
I'm currently running version 1.4.4 and only sell downloadable products at http://www.TwoBuckLoops.com. There seems to be a problem when there's an order for more than 10 products at a time. Let's say you order and pay for 15 products and go to your download page. You will see 10 download links on the first page and then should see the 5 others on the second page.
However, you can't get to the second page. When you click on the little number 2 at the bottom to go to the next page, it stays on page 1. Same goes if you have even more pages. It always stays on page 1 and you can't get to your other download pages. There are no errors that pop up. It just simply stays on page 1.
Has anyone else seen this problem? I tried doing a search in the forums but couldn't find anything.
Mike
Last edited by i2Paq on Sat Apr 03, 2010 1:11 am, edited 2 times in total.
Reason: Topic moved
Reason: Topic moved
Yep, this looks like a bug.
In catalog/controller/account/download.php
Add the following to line 35... this will include the newly added seo rewrite tool
$this->load->model('tool/seo_url');
then go down to line 99(or 100 now)
change
$pagination->url = HTTP_SERVER . 'index.php?route=account/download&page=%s';
to
$pagination->url = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=account/download&page={page}');
I don't think you really need to include the seo url part, but I just put it there to stay consistent with the rest of the code. I believe the problem here was that %s should have been updated to {page}
In catalog/controller/account/download.php
Add the following to line 35... this will include the newly added seo rewrite tool
$this->load->model('tool/seo_url');
then go down to line 99(or 100 now)
change
$pagination->url = HTTP_SERVER . 'index.php?route=account/download&page=%s';
to
$pagination->url = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=account/download&page={page}');
I don't think you really need to include the seo url part, but I just put it there to stay consistent with the rest of the code. I believe the problem here was that %s should have been updated to {page}
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Unfortunately, it looks like this bug is still in 1.4.6.
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
Who is online
Users browsing this forum: No registered users and 21 guests