Author Topic: No SEF url cart and continue shopping  (Read 2683 times)

Margriet

  • Jr. Member
  • **
  • Posts: 83
No SEF url cart and continue shopping
« 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

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4076
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: SEF url
« Reply #1 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

Margriet

  • Jr. Member
  • **
  • Posts: 83
Re: SEF url
« Reply #2 on: November 03, 2015, 15:16:14 pm »
Using latest latest release 3.0.11.4!
Link to topic is not relevant.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4076
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: SEF url
« Reply #3 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

Margriet

  • Jr. Member
  • **
  • Posts: 83
Re: SEF url
« Reply #4 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.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4076
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: SEF url
« Reply #5 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


Margriet

  • Jr. Member
  • **
  • Posts: 83
Re: SEF url
« Reply #6 on: November 05, 2015, 10:43:55 am »
Quote
Some 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.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4076
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: SEF url
« Reply #7 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)

lindapowers

  • Full Member
  • ***
  • Posts: 1335
  • If you're going through hell, keep going.
    • Venta de naranjas online y mandarinas
  • Skype Name: manu.gonzalez91
  • VirtueMart Version: Latest avi
Re: No SEF url cart and continue shopping
« Reply #8 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.

Margriet

  • Jr. Member
  • **
  • Posts: 83
Re: No SEF url cart and continue shopping
« Reply #9 on: November 05, 2015, 12:40:12 pm »
Quote
BTW 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?

z-analysts

  • Jr. Member
  • **
  • Posts: 162
Re: No SEF url cart and continue shopping
« Reply #10 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!

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3552
  • using Matomo instead of Google Analytics
Re: No SEF url cart and continue shopping
« Reply #11 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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

maks

  • Beginner
  • *
  • Posts: 14
  • VirtueMart Version: VM 3
Re: No SEF url cart and continue shopping
« Reply #12 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.

maks

  • Beginner
  • *
  • Posts: 14
  • VirtueMart Version: VM 3
Re: No SEF url cart and continue shopping
« Reply #13 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.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4076
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: No SEF url cart and continue shopping
« Reply #14 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 ;)