Author Topic: Manufacturer problems after upgrading to VM2.0.22b (category view)  (Read 3470 times)

sandstorm

  • Jr. Member
  • **
  • Posts: 234
    • ConCom
  • Skype Name: sandstorm871
  • VirtueMart Version: 3.0.16
I am working in a test environment and just upgraded VM2.0.18 to VM2.0.22b (Thought it was about time  ::) )

I have tested for a couple of hours now and reveretd back to default template with all SEF setting switched off - So I'm now running a naked default store.

Manufacturer Problem
When I view a manufacturer and click on the "View All manufacturer_name Products" this shows an empty manufacturer/category page. 
The non SEF link looks exactly the same /index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=75&Itemid=433 but just shows as an empty page ??
When I switch basic Joomla SEF on, the page shows up OK with the link /index.php/manufacturers/manufacturer/66fit
I have cleared browser and site cache fully & am a bit lost after testing for a while now?

Any ideas on what may be wrong

Andy
J3.6.4 / PHP7.0.12
VM3.0.16

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2658
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #1 on: August 22, 2013, 18:07:22 pm »
Could you turn off using of Joomla cache and test your issue again?

sandstorm

  • Jr. Member
  • **
  • Posts: 234
    • ConCom
  • Skype Name: sandstorm871
  • VirtueMart Version: 3.0.16
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #2 on: August 22, 2013, 23:17:59 pm »
Could you turn off using of Joomla cache and test your issue again?
Joomla Caching is already off, Gzip and any other compression is off.
I have cleared all site cache, browser cache & used Admin tools pro to repair/optimise databse & purge all sessions.

But still problem with manufacturer persists?

If you need to view it visit this link and click on Brands or any of the brands that show in the dropdown. http://bit.ly/1f5yGFk

Thanks,
Andy
J3.6.4 / PHP7.0.12
VM3.0.16

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2658
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #3 on: August 23, 2013, 11:57:37 am »
Thanx, I don't need to watch your movie. I saw this issue by inspecting personally web site of my russian fellow yesterday. Probably cookie issue.

sandstorm

  • Jr. Member
  • **
  • Posts: 234
    • ConCom
  • Skype Name: sandstorm871
  • VirtueMart Version: 3.0.16
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #4 on: August 23, 2013, 12:16:24 pm »
Thanx, I don't need to watch your movie.
I'm sorry, there is no movie there, it is just a link to a test website?
I saw this issue by inspecting personally web site of my russian fellow yesterday. Probably cookie issue.

Anybody any ideas on how to get rid of this cookie issue?
Is it a browser issue?
or something in my site
or something in the virtuemart upgrade?

Thanks

Andy
J3.6.4 / PHP7.0.12
VM3.0.16

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2658
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #5 on: August 23, 2013, 19:34:57 pm »
You're right. My bad.

nrap

  • Beginner
  • *
  • Posts: 8
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #6 on: August 29, 2013, 09:19:01 am »
Same here, I have some buttons that show the products for the manufacturers using :
index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=17

I view the manufacturer products OK
if I go to a category such as:
index.php?option=com_virtuemart&view=category&virtuemart_category_id=94
OK
and then try to access any manufacturer products filter, ERROR it will return empty page.
after clearing the cookies it works like before..

sandstorm

  • Jr. Member
  • **
  • Posts: 234
    • ConCom
  • Skype Name: sandstorm871
  • VirtueMart Version: 3.0.16
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #7 on: September 04, 2013, 13:02:55 pm »
Is this a bug with VM2.0.22 I desperately need to my live site over to 2.0.22, but I am stalling because of this problem with Manufacturers.

Is there some new settings or configuration that may be needed in 2.0.22 that I may have missed or any caches that may need clearing?

Thanks
J3.6.4 / PHP7.0.12
VM3.0.16

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10036
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #8 on: September 04, 2013, 13:47:53 pm »
Please use this file, remove the .txt suffix and copy it to /components/views/category/ and overwrite the file there. I am not sure if I understood the problem correctly.

[attachment cleanup by admin]
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

sandstorm

  • Jr. Member
  • **
  • Posts: 234
    • ConCom
  • Skype Name: sandstorm871
  • VirtueMart Version: 3.0.16
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #9 on: September 04, 2013, 14:24:29 pm »
Please use this file, remove the .txt suffix and copy it to /components/views/category/ and overwrite the file there. I am not sure if I understood the problem correctly.

This works Max, thanks! 
What was the modification? Just curious.

It has also fixed the problem with search results as discussed here - http://forum.virtuemart.net/index.php?topic=118226.msg401518#msg401518

Thanks, Andy

PS - Any plans for JoomlaDay UK. Great to have a drink with you again! :-X
J3.6.4 / PHP7.0.12
VM3.0.16

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10036
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #10 on: September 04, 2013, 14:59:38 pm »
Just a better logic, taking the stored category only if it is not manufacturer

Code: [Select]
$categoryId = JRequest::getInt('virtuemart_category_id', false);
$virtuemart_manufacturer_id = JRequest::getInt('virtuemart_manufacturer_id', false );
if ($categoryId === false and $virtuemart_manufacturer_id === false){

$categoryId = ShopFunctionsF::getLastVisitedCategoryId();
$catType = 'category';
$this->setCanonicalLink($tpl,$document,$categoryId,$catType);
} else if ($categoryId === false and $virtuemart_manufacturer_id){

$catType = 'manufacturer';
$this->setCanonicalLink($tpl,$document,$virtuemart_manufacturer_id,$catType);
} else {
$catType = 'category';
$this->setCanonicalLink($tpl,$document,$categoryId,$catType);
}
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

nrap

  • Beginner
  • *
  • Posts: 8
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #11 on: September 04, 2013, 15:48:27 pm »
Confirmed that it works perfect!!
Thanks !!! I've had this problem since I've upgraded to 2.0.20...!! (i think... close to .22 anyway!) :)

Spyros Petrakis

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 102
    • OlympianThemes
  • VirtueMart Version: Always latest Stable
Re: Manufacturer problems after upgrading to VM2.0.22b (category view)
« Reply #12 on: February 17, 2014, 18:12:28 pm »
The issue still exists in version 2.0.26d , only with sef on you get a non empty view.
Fast and simple to use templates with fanatical support
https://www.olympianthemes.com