VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Margriet on November 03, 2015, 13:19:13 PM

Title: No SEF url cart and continue shopping
Post by: Margriet on November 03, 2015, 13:19:13 PM
I don't know since which version this occurs, but cart has no SEF url.
Can be reproduced on demo site:
http://demo.virtuemart.net/index.php?option=com_virtuemart&view=cart
Neither has category when choosing Continue shopping in cart.
http://demo.virtuemart.net/index.php?option=com_virtuemart&view=category&virtuemart_category_id=7&Itemid=121
Title: Re: SEF url
Post by: Studio 42 on November 03, 2015, 14:46:56 PM
This problem is only on some release. Try the latest release.
Else i have see some fix in the forum. Eg : http://forum.virtuemart.net/index.php?topic=127811.30
Title: Re: SEF url
Post by: Margriet on November 03, 2015, 15:16:14 PM
Using latest latest release 3.0.11.4!
Link to topic is not relevant.
Title: Re: SEF url
Post by: Studio 42 on November 04, 2015, 02:52:36 AM
I'm pretty sure, you have the fix in the forum, but i can't remember the rigth post.
perhaps here : http://forum.virtuemart.net/index.php?topic=131731.msg454803#msg454803
Title: Re: SEF url
Post by: Margriet on November 04, 2015, 10:16:35 AM
This code already has been changed in VM 3.0.11.4. Besides it would require a core hack which is not the way to solve this kind of problems.
Title: Re: SEF url
Post by: Studio 42 on November 04, 2015, 22:41:45 PM
Hi,
It's not a real core hack, because this is the old VM code and router.
Some had problem and the new code get changed, but the new code seems to give other problems now as yours.
Try and report, perhaps this get included in new Virtuemart code.
But i'm not a core Dev and can only give you some "FREE" solution.
If you don't have time to do some test and changes you can pay a core dev to include a fix for this faster.
check here : http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail

Regards,
Patrick

Title: Re: SEF url
Post by: Margriet on November 05, 2015, 10:43:55 AM
QuoteSome had problem and the new code get changed, but the new code seems to give other problems now as yours.
I just that I think this is not the right behaviour and a possible bug. That's why I am posting it in this forum section. As far as I can see this changed already in V 3.0.9.8.
If somebody can confirm that this is intended behaviour I can either accept it or start modifying code.
Title: Re: SEF url
Post by: Studio 42 on November 05, 2015, 11:38:15 AM
I can confirm you, that the problem is not in VM 3.0.9.6.(or i'm lucky with all my test)
Title: Re: No SEF url cart and continue shopping
Post by: lindapowers on November 05, 2015, 12:22:14 PM
Well I dont know if is intended or not I was told time ago that the checkout should actually be no sef to avoid language issues and other problems. But this was related to a OPC.

Is it a drama if the checkout is not sef? who cares for the url in the checkout? Ill worry if it didnt work.

BTW did you try to create a hidden menu with a menu item to the cart? we use that and shows as SEF url.
Title: Re: No SEF url cart and continue shopping
Post by: Margriet on November 05, 2015, 12:40:12 PM
QuoteBTW did you try to create a hidden menu with a menu item to the cart? we use that and shows as SEF url.
Which VM version?
Title: Re: No SEF url cart and continue shopping
Post by: z-analysts on November 05, 2015, 21:04:16 PM
I'm also using 3.0.11.4 and have a hidden menu item but there is no SEF url upon display!
Title: Re: No SEF url cart and continue shopping
Post by: jjk on November 06, 2015, 00:08:50 AM
Just had a short look at the demo and my own shop. If you select for example 'Continue Shopping', the category url is non-SEF. But in this case it doesn't matter, because for the search engines, the page includes the canonical SEF url for that category. So the non-SEF version will normaly not be indexed by the search engines.

Concerning the non-SEF url for the cart, you better don't insist on listing your customer's filled carts in Google.  ;D
A better idea is to set your cart links to noindex, nofollow for the search engines.
Title: Re: No SEF url cart and continue shopping
Post by: maks on May 25, 2016, 12:29:50 PM
Sure its maters. You cantassign template or module to that kind of link. So user get 2 different sites on continue shoping link and on link from menu item.
This is a real bug.
Title: Re: No SEF url cart and continue shopping
Post by: maks on May 25, 2016, 13:18:16 PM
Update
This http://forum.virtuemart.net/index.php?topic=133941.0
solved problem.
But is core hack and it should be solved in next release.
Title: Re: No SEF url cart and continue shopping
Post by: Studio 42 on May 25, 2016, 13:57:49 PM
You can overide it in your template directly and add it here, so not a real core hacks in this case ;)