[Skip to main content](#vessel-content)

#   Hikashop 2.1.0 Pagination Bug

##

- **[huiyun](/forum/user/7822-huiyun "View huiyun's Profile")**
- [![huiyun's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7822-huiyun "View huiyun's Profile") Topic Author
- [ Offline](/forum/user/7822-huiyun)

Less More

- Posts: 17
- Thank you received: 5
-
-
-
-

13 years 8 months ago -  13 years 8 months ago [\#90421](#90421) by [huiyun](/forum/user/7822-huiyun "View huiyun's Profile")  *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90421 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")* was created by *[huiyun](/forum/user/7822-huiyun "View huiyun's Profile")*

After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on the URL Rewriting (Joomla Default SEF). Otherwise it worked normally.

Here's the link to the website **AFTER UPGRADE**
[ cavemanprojects.com/ak009/all-tyres/](http://cavemanprojects.com/ak009/all-tyres/)

Before Upgrade (2.0.0)
[ cavemanprojects.com/ak007/all-tyres/](http://cavemanprojects.com/ak007/all-tyres/)

Other system info
Joomla! Version: 2.5.9
PHP Version: 5.3.15
Hikashop Version: 2.1.0 Business Edition

Last edit: 13 years 8 months ago by [huiyun](/forum/user/7822-huiyun "View huiyun's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Huub](/forum/user/5333-huub "View Huub's Profile")**
- [![Huub's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5333-huub "View Huub's Profile")
- [ Offline](/forum/user/5333-huub)

Less More

- Posts: 72
- Thank you received: 3
-
-

13 years 8 months ago [\#90443](#90443) by [Huub](/forum/user/5333-huub "View Huub's Profile")  Replied by *[Huub](/forum/user/5333-huub "View Huub's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90443 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

i have the same problem and also the shopping cart is redirected at all times to the index page and never stays on the page of the product or produces the popup (dpending on the configuration settings) ...at all times it goes back to the homepage ![:(](/media/kunena/emoticons/22.png ":(")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

13 years 8 months ago [\#90783](#90783) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90783 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Hi,

That the issue only happens on some servers and we cannot reproduce it on our end.
The issue is that the URL in the form of the pagination is not correct on your websites. That URL comes from the $_SERVER variable generated by PHP on your server. So it means that PHP is not returning the correct variable. We will need a backend access to your website in order to analyze the problem.
Could one of you provide that via our contact form please ?
[ www.hikashop.com/en/contact-us.html](http://www.hikashop.com/en/contact-us.html)
Please include a link to this thread and write urgent in your subject so that we can look at that as soon as possible.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Huub](/forum/user/5333-huub "View Huub's Profile")**
- [![Huub's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5333-huub "View Huub's Profile")
- [ Offline](/forum/user/5333-huub)

Less More

- Posts: 72
- Thank you received: 3
-
-

13 years 8 months ago [\#90801](#90801) by [Huub](/forum/user/5333-huub "View Huub's Profile")  Replied by *[Huub](/forum/user/5333-huub "View Huub's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90801 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Hello Nicolas,

I just send you the info about the website and login.

What surprises me in this that it used to work before the update as huiyun writes and shows with his double installation of the previous and current version. That makes it hard to have my host provider look into it.

I really hope the solution will soon be found because as it is this makes Hikashop not ready for use for our website.

I hope your magic works again Nicolas ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

13 years 8 months ago -  13 years 8 months ago [\#90837](#90837) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90837 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Hi,

Change the line:
if(!empty($_SERVER["REDIRECT_URL"])){

to: Code:

if(!empty($_SERVER["REDIRECT_URL"]) &amp;&amp; preg_match('#.*index\.php$#',$_SERVER["REDIRECT_URL"]) &amp;&amp; empty($_SERVER['QUERY_STRING'])&amp;&amp;empty($_SERVER['REDIRECT_QUERY_STRING']) &amp;&amp; !empty($_SERVER["REQUEST_URI"])){ $requestUri = $_SERVER["REQUEST_URI"]; }elseif(!empty($_SERVER["REDIRECT_URL"]) &amp;&amp; (isset($_SERVER['QUERY_STRING'])&#124;&#124;isset($_SERVER['REDIRECT_QUERY_STRING']))){

in the file administrator/components/com_hikashop/helpers/helper.php and that should fix the problem.
The problem is that in order to handle the strange $_SERVER configuration of some servers, we had to change the hikashop_currentURL() function for the 2.1 version. However, since your server also has a strange $_SERVER configuration albeit different, it now doesn't work with 2.1.
The fix I propose should allow the hikashop_currentURL() to work properly on all server configurations.

Last edit: 13 years 8 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Huub](/forum/user/5333-huub "View Huub's Profile")**
- [![Huub's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5333-huub "View Huub's Profile")
- [ Offline](/forum/user/5333-huub)

Less More

- Posts: 72
- Thank you received: 3
-
-

13 years 8 months ago [\#90845](#90845) by [Huub](/forum/user/5333-huub "View Huub's Profile")  Replied by *[Huub](/forum/user/5333-huub "View Huub's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90845 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

I made the adjustment you mentioned ...
Code:

if(!empty($_SERVER["REDIRECT_URL"]) &amp;&amp; (isset($_SERVER)&#124;&#124;isset($_SERVER))){ $requestUri = $_SERVER["REDIRECT_URL"]; if (!empty($_SERVER['REDIRECT_QUERY_STRING'])) $requestUri = rtrim($requestUri,'/').'?'.$_SERVER['REDIRECT_QUERY_STRING']; elseif (!empty($_SERVER['QUERY_STRING'])) $requestUri = rtrim($requestUri,'/').'?'.$_SERVER['QUERY_STRING']; }elseif(isset($_SERVER["REQUEST_URI"])){ $requestUri = $_SERVER["REQUEST_URI"];

The result is no change at all .... if i try to go to the next page with products it returns me to the homepage ![:(](/media/kunena/emoticons/22.png ":(")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

13 years 8 months ago [\#90857](#90857) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90857 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Sorry, I was a bit too fast. I've updated my code above. Please use the new code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Huub](/forum/user/5333-huub "View Huub's Profile")**
- [![Huub's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5333-huub "View Huub's Profile")
- [ Offline](/forum/user/5333-huub)

Less More

- Posts: 72
- Thank you received: 3
-
-

13 years 8 months ago -  13 years 8 months ago [\#90858](#90858) by [Huub](/forum/user/5333-huub "View Huub's Profile")  Replied by *[Huub](/forum/user/5333-huub "View Huub's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90858 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Sorry Nicolas ...but unfortunatly this also didnt work ![:(](/media/kunena/emoticons/22.png ":(")

I cleared all caches and still it didnt work ....yet ![:)](/media/kunena/emoticons/3.png ":)")

Can you tell me what is 'strange' about the current $Server congfiguration of my host service.
I might then be able to ask them for support.

Last edit: 13 years 8 months ago by [Huub](/forum/user/5333-huub "View Huub's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

13 years 8 months ago [\#90892](#90892) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90892 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

The forum has removed some of my code in my message. I've added the code tags to avoid that. Please get the code again from my message and try again.

The issue is that the REDIRECT_URL variable is present but with the wrong URL. it is /ak007/index.php instead of /ak007/all-tyres/ which is in REQUEST_URI.
And on the other server for which we had to do a patch for HikaShop 2.1, it was the opposite, the REDIRECT_URL was correct and the REQUEST_URI was not correct.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Huub](/forum/user/5333-huub "View Huub's Profile")**
- [![Huub's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5333-huub "View Huub's Profile")
- [ Offline](/forum/user/5333-huub)

Less More

- Posts: 72
- Thank you received: 3
-
-

13 years 8 months ago -  13 years 8 months ago [\#90895](#90895) by [Huub](/forum/user/5333-huub "View Huub's Profile")  Replied by *[Huub](/forum/user/5333-huub "View Huub's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90895 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

You are a genius Nicolas!

I hereby will suggest to award you with the Nobel-price-for-Joomla-development-and-support!!!!!

IT WORKS !!!!!!!

You have no idea how happy you just made me ![:)](/media/kunena/emoticons/3.png ":)")

(but this means i must manually update the helper.php file if there is an update ..right?)

Last edit: 13 years 8 months ago by [Huub](/forum/user/5333-huub "View Huub's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago [\#90899](#90899) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90899 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Hi,

The fix would be include in the next package release.
So you have to modify it today, but with the next update, the fix would be there !

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Huub](/forum/user/5333-huub "View Huub's Profile")**
- [![Huub's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5333-huub "View Huub's Profile")
- [ Offline](/forum/user/5333-huub)

Less More

- Posts: 72
- Thank you received: 3
-
-

13 years 8 months ago [\#90902](#90902) by [Huub](/forum/user/5333-huub "View Huub's Profile")  Replied by *[Huub](/forum/user/5333-huub "View Huub's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90902 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Thank you so much for pointing that out Jerome ![:)](/media/kunena/emoticons/3.png ":)")
Thats the best solution i could hope for.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[huiyun](/forum/user/7822-huiyun "View huiyun's Profile")**
- [![huiyun's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7822-huiyun "View huiyun's Profile") Topic Author
- [ Offline](/forum/user/7822-huiyun)

Less More

- Posts: 17
- Thank you received: 5
-
-
-
-

13 years 8 months ago [\#90907](#90907) by [huiyun](/forum/user/7822-huiyun "View huiyun's Profile")  Replied by *[huiyun](/forum/user/7822-huiyun "View huiyun's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90907 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Yes the pagination works properly for me as well. Thanks.

However, when I click on add to cart, I am not directed to the check out page.
Attached is my configuration.

On a sidenote, I tried the setting "stay and display a popup notice" and that worked fine.
It just did not work with the setting shown in the attached pic.
[ ![config.JPG](/forum/attachment/8661) ](/forum/attachment/8661 "config.JPG")

- [ ![config.JPG](/forum/attachment/8661) ](/forum/attachment/8661 "config.JPG") [ ](/forum/attachment/8661?download=1 "config.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 8 months ago -  13 years 8 months ago [\#90966](#90966) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#90966 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

Hi,

Are your redirected to the homepage ? Did you stayed on the product page ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 13 years 8 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[huiyun](/forum/user/7822-huiyun "View huiyun's Profile")**
- [![huiyun's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7822-huiyun "View huiyun's Profile") Topic Author
- [ Offline](/forum/user/7822-huiyun)

Less More

- Posts: 17
- Thank you received: 5
-
-
-
-

13 years 8 months ago -  13 years 8 months ago [\#91027](#91027) by [huiyun](/forum/user/7822-huiyun "View huiyun's Profile")  Replied by *[huiyun](/forum/user/7822-huiyun "View huiyun's Profile")* on topic *[Hikashop 2.1.0 Pagination Bug](/forum/3-bug-report/78444-hikashop-2-1-0-pagination-bug#91027 "After I upgraded Hikashop from Version 2.0.0 to 2.1.0, the pagination no longer worked. Whenever I clicked on any of the page number, I was directed to the home page. It happened only when I turned on...")*

I stayed on the product page. However, when I check the cart, the product was correctly added.

Edit:

Ok it might be a template or customization issue on my end since it works properly with Beez2 template.

On the template I am using, if I choose "No" for "Use AJAX when possible for add to cart buttons" setting, then it works. Come to think about it, if a buyer is to be brought straight to "check out" upon clicking on the "Add to cart" button, there is no need for AJAX. Correct me if I am wrong.
Anyway thanks for your time.

Last edit: 13 years 8 months ago by [huiyun](/forum/user/7822-huiyun "View huiyun's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODQ0NC1oaWthc2hvcC0yMTAtcGFnaW5hdGlvbi1idWc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.101 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
