Author Topic: Continue of discuss about /results,1-0 and ?clearCart=0 problem in category URL  (Read 1273 times)

scriner

  • Beginner
  • *
  • Posts: 33
  • A beginner
Hello,

I can't answer to https://forum.virtuemart.net/index.php?topic=149553.msg534087#msg534087 and have to start new topic.

I tried to use instructions described in topic above but still have /results,1-0 tail in every category URL and ?clearCart=0 sometimes.

Dear Milbo, maybe you can update package here http://dev.virtuemart.net/projects/virtuemart/files for everyone can download fixed version?

And review again topic https://forum.virtuemart.net/index.php?topic=148713.0. May be this problem have same routing roots.

J 4.2.9 / VM 4.0.12 10777

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28746
  • Always on vacation
    • Jenkin Hill Internet
You can get the revised router.php from the SVN repository:  http://dev.virtuemart.net/projects/virtuemart/repository/revisions/10796
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.2.5 10924 J! 3.10.11 PHP 8.2.7

scriner

  • Beginner
  • *
  • Posts: 33
  • A beginner
Big thanks @Jenkinhill, this version of router really great for solve problem with /results,1-0

may be you can help me to solve other problem with ?clearCart=0 ?

I have two absolutely similar categories, first have url:

index.php?option=com_virtuemart&view=category&virtuemart_category_id=1&virtuemart_manufacturer_id=0
and sef is site.com/category-one

second is:

index.php?option=com_virtuemart&view=category&virtuemart_category_id=10&virtuemart_manufacturer_id=0&clearCart=0
and sef is site.com/category-ten?clearCart=0

I really don't understand what is difference and why I have clearCart=0 is some URLs.

Changing of option "Using this menu item clears the cart" just changes clearCart=0 to clearCart=1.


jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28746
  • Always on vacation
    • Jenkin Hill Internet
No idea. I have not encountered /results,1-0   or  ?clearCart=0 on any of my tests
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 4.2.5 10924 J! 3.10.11 PHP 8.2.7

hazael

  • Jr. Member
  • **
  • Posts: 387
  • Biżuteria etniczna orientalna
    • Biżuteria etniczna orientalna arabska
  • VirtueMart Version: 6.6.6
Just turn it off in the main menu of the selected category

scriner

  • Beginner
  • *
  • Posts: 33
  • A beginner
Just turn it off in the main menu of the selected category

As I wrote before: Changing of option "Using this menu item clears the cart" just changes clearCart=0 to clearCart=1.

This option don't remove clearCart from URL anyway.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10663
  • VM4.0.232 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 4 on joomla 3
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kiro789

  • Jr. Member
  • **
  • Posts: 50
  • Skype Name: kiro789
It is not workin on my site.

Regards!


StefanSTS

  • Global Moderator
  • Full Member
  • *
  • Posts: 598
  • VirtueMart Version: VM 4.2 on Joomla 4.5
The fix should be in 4.0.14.10805. It was fixed Sunday night.

STS
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.

ViPeS

  • Jr. Member
  • **
  • Posts: 67
  • VirtueMart Membership - Bronze
  • VirtueMart Version: 4.2.4 10922
The fix should be in 4.0.14.10805. It was fixed Sunday night.

STS

VirtueMart 4.0.16 10812, Joomla 4.2.9, PHP 8.0.26
bug /results,1-0 not fixed
https://www.virtuvinis.lt/shop/kategorijos/results,1-0
VM 4.2.4 10922, Joomla 4.4.1, PHP 8.0.26

StefanSTS

  • Global Moderator
  • Full Member
  • *
  • Posts: 598
  • VirtueMart Version: VM 4.2 on Joomla 4.5
The issue came back in 4.0.16.
There was a problem with the first page of pagination not showing.
I didn't properly read through what was done, but after changes in the router, it is working in the latest dev version now.
Should be fixed again in the next release.

I guess 4.0.16 was put out too quickly because the fix seemed so easy, but router stuff is never easy.

Stefan


--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your live shop! Use Alpha versions only if you know what risk you are taking.