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

scriner

  • Beginner
  • *
  • Posts: 31
  • 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: 28533
  • 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.0.14 10805  J 3.10.11 PHP 8.0.27

scriner

  • Beginner
  • *
  • Posts: 31
  • 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: 28533
  • 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.0.14 10805  J 3.10.11 PHP 8.0.27

hazael

  • Jr. Member
  • **
  • Posts: 309
    • Bi┼╝uteria etniczna orientalna arabska
  • VirtueMart Version: VM 4.0.12 [J3][J4]
Just turn it off in the main menu of the selected category

scriner

  • Beginner
  • *
  • Posts: 31
  • 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: 10545
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 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

  • Beginner
  • *
  • Posts: 49
  • Skype Name: kiro789
It is not workin on my site.

Regards!


StefanSTS

  • Global Moderator
  • Full Member
  • *
  • Posts: 588
  • 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.