Author Topic: Product in multiple category - bugs on data and links vm 2.6.6 and 2.6.7  (Read 1575 times)

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3025
  • VirtueMart Version: 3.6.3
Found a couple of bugs relating to a product that is allocated to multiple VM categories.

Product link incorrect
Product associated with cat1 and cat2
Show category1
Prod url/link shows cat1
Immediately show cat2
Prod url/link shows cat1
Refresh cat2 display
Prod url/link shows cat2


Incorrect cart data

$this->cart->products[nnn]->virtuemart_category_id

shows first category array value for the prodID held in
$this->cart->products[nnn]->categories

Not the category from which the item was added


$this->cart->products[nnn]->category_name
Is the correct name for the category from which the product is added


regards
A

Joomla 3.9.12
php 7.2

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3025
  • VirtueMart Version: 3.6.3
Using the sample data in 2.6.6 and 2.6.7 the problem can be clearly reproduced.

Devs, if someone spends their time testing your code and reporting what they believe to be an issue, it would be useful to get some feedback.

regards
A

Joomla 3.9.12
php 7.2

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
First you have us in skype, seconed I do not understand your description.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
btw how is the behaviour in vm3?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3025
  • VirtueMart Version: 3.6.3
Apologies Milbo

I was not aware you preferred skype contact, would you prefer this in the future?

The behaviour is the same in 2.9.9 vm3
regards
A

Joomla 3.9.12
php 7.2

Morriel

  • Beginner
  • *
  • Posts: 1
  • Skype Name: flame_lermet
Re: Product in multiple category - bugs on data and links vm 2.6.6 and 2.6.7
« Reply #5 on: September 28, 2014, 22:18:08 pm »
As I understood you didn't have solution for this problem in VM 2.6.10?