Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Category navigation

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-23-2014, 08:20 AM
 
TheSarcasmShop TheSarcasmShop is offline
 

Member
  
Join Date: Nov 2010
Posts: 24
 

Default Category navigation

When you scroll to the bottom of a page to view products and click on the next page you are taken to the bottom of that next page. Normally you would be taken to the top of the next page. Is this a glitch or a settings problem?
__________________
Bob

http://www.sarcasmshop.com
5.1.10
Reply With Quote
  #2  
Old 11-24-2014, 05:47 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Category navigation

Please report the problem to bt.x-cart.com, it seems as a bug to me.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote

The following user thanks tony_sologubov for this useful post:
totaltec (11-24-2014)
  #3  
Old 11-24-2014, 06:05 AM
 
TheSarcasmShop TheSarcasmShop is offline
 

Member
  
Join Date: Nov 2010
Posts: 24
 

Default Re: Category navigation

Also, when you go back to a previously viewed category with multiple pages it remembers the last page you visited and takes you there instead of starting on the first page. I have never had this happen on any other site. I have also noticed these things in the admin panel.
__________________
Bob

http://www.sarcasmshop.com
5.1.10
Reply With Quote
  #4  
Old 11-24-2014, 12:22 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Category navigation

Tony,
It is not a bug. It is the way it is designed to work. See http://demostore.x-cart.com/toys

When you click to page 2 of the product results it doesn't go back to the top, because the page does not reload (this is a feature not a bug!). The next page of products is loaded via Ajax.

To change this behavior, we merely need to add some anchor tags in the correct place on the page: <a name="pageId=1"></a>, <a name="pageId=2"></a>, etc.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #5  
Old 11-24-2014, 12:34 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Category navigation

How is this a feature? Load the page. Scroll down to second navigation and click on page 2 - products load and page jumps to "Sales" section - this is 2 sections below the navigation. It happens because there are not enough products to fill in the space. You can't call this feature or improvement. Not by any standards. Improper behavior.
Or did you mean it as a joke?
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
totaltec (11-25-2014)
  #6  
Old 11-25-2014, 06:09 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Category navigation

@TheSarcasmShop, this is a bug as well. Please report it to bt.x-cart.com as well.

@totaltec Steve is right. X-Cart should bring you to the beginning of the next page, not leave you on the bottom of the page. That is why I call this bug.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote

The following user thanks tony_sologubov for this useful post:
cflsystems (11-25-2014)
  #7  
Old 11-25-2014, 03:33 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Category navigation

Quote:
Originally Posted by tony_sologubov
@totaltec Steve is right. X-Cart should bring you to the beginning of the next page, not leave you on the bottom of the page. That is why I call this bug.
Okay, well I agree that I don't like this functionality, but I do not think it can be classified as a bug, the code performs as expected.

I 100% agree that it should be changed.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:48 PM.

   

 
X-Cart forums © 2001-2020