News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Continue of discuss about /results,1-0 and ?clearCart=0 problem in category URL

Started by scriner, March 16, 2023, 10:56:59 AM

Previous topic - Next topic

scriner

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

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

scriner

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

No idea. I have not encountered /results,1-0   or  ?clearCart=0 on any of my tests
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

hazael


scriner

Quote from: hazael on March 18, 2023, 10:03:24 AM
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

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/



StefanSTS

--
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

Quote from: StefanSTS on March 23, 2023, 17:25:41 PM
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.18 11050, Joomla 5.2.1, PHP 8.3.8

StefanSTS

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.