News:

Support the VirtueMart project and become a member

Main Menu

Show cart not working when sh404sef enabled

Started by inu2005, September 07, 2013, 15:17:01 PM

Previous topic - Next topic

inu2005

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

Quote from: inu2005 on September 07, 2013, 15:17:01 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

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

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

Quote from: inu2005 on September 08, 2013, 13:29:38 PM
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

#5
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

Quote from: inu2005 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.

This worked for me, thanks!

GJC Web Design

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jux