Author Topic: Products per page different in Firefox and Chrome  (Read 365 times)

dml311071

  • Beginner
  • *
  • Posts: 11
  • A beginner
Products per page different in Firefox and Chrome
« on: November 22, 2018, 18:26:28 pm »
Joomla 3.9.0
VM 3.4.2
PHP 7.1.24

I have had this problem for a while now: Virtuemart > Configuration > Template > Pagination Sequence

Frontend default items per list view is set to 24. It divides better over various web portals (2, 3, 4, 6, 8 & 12 divide well). So on Firefox all is well, 24 products shown by default on category layout pages.


Chrome however, refuses to show more than 10 so my pages look off balance, instead of 6 rows of 4 products, I get 2 rows of 4 and 1 row of 2. This misleads the customer into assuming that there are no further pages to navigate.

Also, you cannot set Chrome to show more than 10. You cannot even change number displayed manually using the display numerator at the foot of the page

Has anyone come across this? And know how to solve it?




GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8558
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Products per page different in Firefox and Chrome
« Reply #1 on: November 22, 2018, 21:38:00 pm »
is it cached in Chrome?  the userstate is set by the initial load then held in session

make sure u have cleaned the Chrome cache which caches imho far more strongly than FF etc
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

dml311071

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Products per page different in Firefox and Chrome
« Reply #2 on: November 23, 2018, 12:13:30 pm »
Hi,

Thanks for the reply. I have now cleaned the full cache to browser levels on 4 of my web enabled devices. Chrome still misbehaves, but now I am confused as Firefox has now also started behaving the same way. The html output code from the page source is as follows

Code: [Select]
<div class="paginaton-cont top-pagination hidden-xs"><div class="row row-condensed"><div class=col-sm-6><div class=pagination-counter-limit-cont> <span class=page-counter>Page 2 of 4</span> &nbsp; <span class="category-result-counter hidden-xs"> <label for=product_list_limitbox>Show</label> <select id=product_list_limitbox name=product_list_limitbox onchange=document.location.replace(this.value); class="form-control selectpicker"> <option value="/carp-fishing-tackle/carp-accessories?start=10&amp;limit=10" selected=selected>10</option> </select> <span>per page</span> </span> </div></div>
the temp url is http://f37c7fb37c039c67f0ecdadfd-15174.sites.k-hosting.co.uk/carp-fishing-tackle/carp-accessories

Feel free to take a look.

I have already asked the template developer and I have been assured that this is not a template issue.


GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8558
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Products per page different in Firefox and Chrome
« Reply #3 on: November 23, 2018, 13:19:32 pm »
yes-- all I see on yours is a 10 in the dropdown

but just tested on a clean install and does work here

but don't know where the 18 comes from--  :-\
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

dml311071

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Products per page different in Firefox and Chrome
« Reply #4 on: November 23, 2018, 14:15:59 pm »
Bit of a mystery for now then ???

I shall keep on looking but I cannot think of anything else running on the site that would interact with or override the pagination

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3376
  • using Matomo instead of Google Analytics
Re: Products per page different in Firefox and Chrome
« Reply #5 on: November 29, 2018, 12:09:03 pm »
You may also check the following settings, because they might override your global setting:
Menus: Edit Item > Virtuemart category view settings > Default number of products in a row
Product Category [Edit] > Show products of the selected category > Items per row

Also, perhaps check if updating to Joomla 3.9.1 makes a difference. They had a pagination bug in 3.9.0.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

dml311071

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Products per page different in Firefox and Chrome
« Reply #6 on: December 03, 2018, 17:54:39 pm »
Hi,

Thank you for the response. I have updated now to 3.9.1 but the products refuse to budge past 10 per page. However, If I search products via the Brand carousel at the top, the layout defaults to 24

I have not quite cracked it but I think this is a clue.