VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: AH on August 05, 2014, 15:15:38 PM

Title: Product in multiple category - bugs on data and links vm 2.6.6 and 2.6.7
Post by: AH on August 05, 2014, 15:15:38 PM
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


Title: Re: Product in multiple category - bugs on data and links vm 2.6.6 and 2.6.7
Post by: AH on August 08, 2014, 11:06:55 AM
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.

Title: Re: Product in multiple category - bugs on data and links vm 2.6.6 and 2.6.7
Post by: Milbo on August 12, 2014, 17:07:57 PM
First you have us in skype, seconed I do not understand your description.
Title: Re: Product in multiple category - bugs on data and links vm 2.6.6 and 2.6.7
Post by: Milbo on August 13, 2014, 10:06:06 AM
btw how is the behaviour in vm3?
Title: Re: Product in multiple category - bugs on data and links vm 2.6.6 and 2.6.7
Post by: AH on August 16, 2014, 16:40:49 PM
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
Title: Re: Product in multiple category - bugs on data and links vm 2.6.6 and 2.6.7
Post by: Morriel on September 28, 2014, 22:18:08 PM
As I understood you didn't have solution for this problem in VM 2.6.10?