Author Topic: Show cart not working when sh404sef enabled  (Read 9034 times)

inu2005

  • Beginner
  • *
  • Posts: 19
Show cart not working when sh404sef enabled
« on: September 07, 2013, 15:17:01 pm »
Hi,

If I enable sh404sef the show cart link in the cart module and in the add to cart popup do not work anymore. Instead of going to the checkoutpage there is a redirect to the homepage.
It's got something to do with a missing menu itemid, see http://anything-digital.com/forum/extension/sh404sef/7641-virtuemart-2-show-cart-not-working.html
This was good workaround, but after each Virtuemart update this is all gone.

Is there a permanent solution for this problem?

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2656
Re: Show cart not working when sh404sef enabled
« Reply #1 on: September 07, 2013, 15:46:19 pm »
If I enable sh404sef.
I'm a bit sorry, but here we don't provide support for this extension. Mainly cos there is no point to use it in VM.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

inu2005

  • Beginner
  • *
  • Posts: 19
Re: Show cart not working when sh404sef enabled
« Reply #2 on: September 08, 2013, 13:29:38 pm »
What do you mean by "Mainly cos there is no point to use it in VM"?
SH404sef is a great extension with a lot of SEF, social media and security configuration options, which allows me to control every single url completely.
SH404sef and VM have always been worked very well together to my opinion. I only noticed now an issue with the cart popup and cart module (which I can probably solve myself for this website and VM version), but it would certainly be an improvement for VM if this was solved for all future VM versions so no temporary hacks will be lost after a VM update.

inu2005

  • Beginner
  • *
  • Posts: 19
Re: Show cart not working when sh404sef enabled
« Reply #3 on: September 09, 2013, 15:21:38 pm »
For anybody who is interested and also likes to use sh404sef in combination with Virtuemart I found this solution (Joomla 2.5.14 / VM 2.0.22c / sh404sef 4.1.0.1559 ) :

Just disable VM SEO in VM config and use sh404sef the way you are used to.
You can still use Virtuemart's meta keywords + description + title. SH404sef will use this.
For other - non VM - parts you can use sh404.

This works for me and no hacks are necessary, which makes it easier for future updates.
 

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2656
Re: Show cart not working when sh404sef enabled
« Reply #4 on: September 13, 2013, 10:28:36 am »
1. What do you mean by "Mainly cos there is no point to use it in VM"?
2. SH404sef is a great extension with a lot of SEF, social media and security configuration options, which allows me to control every single url completely.
3. SH404sef and VM have always been worked very well together to my opinion. I only noticed now an issue with the cart popup and cart module (which I can probably solve myself for this website and VM version), but it would certainly be an improvement for VM if this was solved for all future VM versions so no temporary hacks will be lost after a VM update.
1. VM able to do all the work without the help of sh404.

2. VM is a great extension with a lot of SEF. You didn't know about that, ah?

And there are ways around for media/security options. These options aren't so strict to the SEF.

And what is the point to control every single URL? I prefer to have better web site speed instead.

3. You are talking about too old days. It was years ago. VM without sh404 doesn't have mentioned by you cart issues, right?

It's ALREADY improvement for VM to go alone with OWN SEF. God speed Virtuemart with your speedy SEF!
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Florentp

  • Jr. Member
  • **
  • Posts: 86
Re: Show cart not working when sh404sef enabled
« Reply #5 on: September 13, 2013, 13:50:48 pm »
I really really discourages you to use Sh404sef with Virtuemart.
I took that option one year ago, and i really regret it.

I have more than 42000 products in my shop. So Sh404 record in the database a link for all that product pages, plus a link for each Brand / product category multiply by number of pages (page-1, page-2).
In the case you also have a filter plugin, like custom filters... You are dead. Because for each combinaison of filters (Brand A + Brand B / Brand A + Brand C / Brand A + Brand B + Brand C / Brand A + Category 1 / ....) sh404sef generate sef urls and stock it in ddb. Your sh404sef urls table get VERRY BIG !

Today, at the moment i Write this message, the table have "5 075 005" total records.
And I'm fuc** because i can't leave Sh404sef  and loose all that urls generated, because VM sef urls generation rules aren't the same.

So if you have a lot of products, custom filters plugin, and shared hosting... Don't go to the wall.
Web programmer. Passionate.
PHP, SQL, Javascript, JQuery, css.
Skype : florent.indienboutique

TrigWebDesignUSA

  • Beginner
  • *
  • Posts: 19
  • Web Developer
    • Trig Web Design
  • VirtueMart Version: 3.0.14
Re: Show cart not working when sh404sef enabled
« Reply #6 on: May 22, 2014, 17:50:08 pm »
For anybody who is interested and also likes to use sh404sef in combination with Virtuemart I found this solution (Joomla 2.5.14 / VM 2.0.22c / sh404sef 4.1.0.1559 ) :

Just disable VM SEO in VM config and use sh404sef the way you are used to.
You can still use Virtuemart's meta keywords + description + title. SH404sef will use this.
For other - non VM - parts you can use sh404.

This works for me and no hacks are necessary, which makes it easier for future updates.
 
This worked for me, thanks!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10532
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Show cart not working when sh404sef enabled
« Reply #7 on: May 22, 2014, 18:14:17 pm »
Can only agree with the negative comments on 3rd party SEF components - they are totally un-nesscesary - eventually putting a huge load on the site and slowing it to a crawl with their potenially millions of DB records

Currently over-hauling a very busy site that generates 1000's of sql queries for any category page load - thereby slowing it to a crawl and often eating all resources - incl. 2GB of burstable memory (the client was buying more and more "capable" hosting to mask the effects of this huge resource gobbler..)

Currently rebuilt without SEF comp (just native J/VM .. ) 10 times faster but of course with Florentp problem of not being able to match the urls now..

Don't go near.. url manipulating is heavily over rated - have a look at Amazons - they seem to do OK on a Google search.. Google ain't dumb

Organic back linking is all that really works
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jux

  • Jr. Member
  • **
  • Posts: 77
  • VirtueMart Version: latest
Re: Show cart not working when sh404sef enabled
« Reply #8 on: June 20, 2014, 11:13:40 am »
SH404sef is not compatible with VM 2