VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Pejo on November 27, 2013, 23:40:42 PM

Title: Changing product category after entering product
Post by: Pejo on November 27, 2013, 23:40:42 PM
Hi,

I have J2.5.14 and VM 2.0.6 and I have one problem.

I don't know if this is normal VM behavior or something is wrong but it is kind of annoying. This is problem:

Lets say I have 3 categories: iPad Air - iPad 4 - iPad 3
When I enter category "iPad 3", there are some products and that products are in every of this categories. After I press one of the cases in this iPad 3 category and when I enter this product, product is open in "iPad Air" category.

This is problem, because there is menu, so you entered to see iPad 3 cases, but after you enter some of this products, menu change, because you are not in "iPad 3" category anymore.

Why is this happening? Why is Breadcrumbs changing? It just delete half of breadcrumbs, half of link and insert new one.
Is it normal, or something is wrong on my site?
Title: Re: Changing product category after entering product
Post by: Pejo on November 28, 2013, 05:13:14 AM
Here are some images, so it can be more clear :D
Look at IMAGE 1 first, then IMAGE 2.

There must be somewhere code inside .php files where changes can be made so once you enter product, you remain in same category or sub-category.
I know that this product is in that other category, too, but if I am entering product from one direction, I would like to stay in same Category, not to be show same product, but in other category.

To be more understandable, I gave you images.

I'd appreciate for help, or at least explanation. :D
Thanks in advance to one who will save me here... ;)

[attachment cleanup by admin]
Title: Re: Changing product category after entering product
Post by: jenkinhill on November 28, 2013, 15:12:42 PM
Your VirtueMart version is seriously out of date (over 18 months old) and has known critical security issues. Sites using older versions have already been hacked, so before trying to fix a problem (which may already have been resolved in later versions) you should look at updating. If you are using template overrides then they may need rewriting. See http://virtuemart.net/news/latest-news/446-important-security-release-vm-team-at-joomladay-germany  and   http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: Changing product category after entering product
Post by: Pejo on November 28, 2013, 15:25:04 PM
I tried. I update it yesterday, and this bug is gone, but then my site and my store is useless. I have made it and store is working with my Product Categories unpublished, because I need them to be and work that way, but with new VM version, not only that my theme is not as suppose to be, but the whole site and concept I have made around this old version is not for use anymore.

I can not update it and I do not need, because it wont be any crucial data inside VM (like credit cards data, or PayPal data), so it can't be stolen anything, just need to fix this so site can work normal.

I have latest Joomla for preventing spam and other hack issues, but in VM I won't be use any of data that can be haked. I am selling products over post office and they are paid that way.

Anyway, thank you for your answer. ;)
Title: Re: Changing product category after entering product
Post by: Pejo on November 28, 2013, 18:25:31 PM
If anyone is interested to look at my code and earn some money to fix this problem, please contact me. I am ready to pay for this fix.
After almost 3 month of making my web site and after I have stuart to upload products on this site, it is to much job to just say:"who gives a f*ck, I will make new one".

Like I said, I am ready to pay. Even if someone here, on this topic gives me solution that works, I will pay to his/her paypal account with no question asked ;)

Really need solution, please help me.
I have gave to much work in this site, just to say goodbye now.

Please, help.
THANKS IN ADVANCE! ;)
Title: Re: Changing product category after entering product
Post by: Pejo on November 29, 2013, 22:48:59 PM
OK, I updated to latest version, seems that this works now. I have some other problems, but I will search forum to see if someone else have the same problem, like: I can not add product to card. "add to cart" button on product detail does not work :(
Title: Re: Changing product category after entering product
Post by: Maxim Pishnyak on December 01, 2013, 13:59:59 PM
http://forum.virtuemart.net/index.php?topic=119638.0
Title: Re: Changing product category after entering product
Post by: Pejo on December 01, 2013, 20:07:29 PM
Thanks. ;)

I figure it out this later. I refresh it, done "Reset Safari" and now works. I have tested on some devices that was open my site before, and on devices that doesn't, so I so that it was some kind of conflict. :D

Thanks btw, I read post you gave me and it is most useful. Thanks ;)