Redirecting only with item in Cart

More
5 years 7 months ago - 5 years 7 months ago #1 by MAD King
I already tried that. The item ID for the module is 16 and when I put that in your plugin the problem is still there.
Last edit: 5 years 7 months ago by MAD King.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #2 by laurelle
Hi,

I think the problem has to do with the menu id.

To get a valid menu id you can use the one for User Accounts or turn off SEF URLs and go to the VM Registration page and use the one after Itemid=. Or you can add a hidden menu item that is to the VM registration page and then put the menu id of that page into the plugin's menu ID field and see if that makes any difference.

Laurelle
Developer
Keashly.ca Consulting

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago - 5 years 7 months ago #3 by MAD King
Hello and thank you for the fast response.

When I turn SEF off, it redirects me to

index.php?option=com_virtuemart&view=user&Itemid=0

and it is the right registration page.

With SEF on I get

index.php/component/users/?view=login

Menu ID of the plugin is 0.

I am not using any SEF extension.

Attachment with_SEF.jpg not found

Attachment without_SEF.jpg not found

Attachments:
Last edit: 5 years 7 months ago by MAD King.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #4 by laurelle
Hi,

Have you setup a menu ID in the plugin? If not, please make sure that it has 0 in the field.

Can you quickly turn off SEF URLs and see what the URL is that it is redirecting you to when your cart is empty and the URL that it redirects you to when you have something in your cart. It should be something like:
domain.com/index.php?option=com_virtuemart&view=user& ...

This is really strange as it has only 1 redirection URL, the plugin doesn't know if there is anything in the cart or not.

Are you using any SEF extension like sh404SEF or ACESEF?

Laurelle
Developer
Keashly.ca Consulting

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #5 by MAD King
Hi there,

the plugin works only when there is an item in the shopping cart. If you try to register without any item in the card it just redirects to the login page.

Joomla 2.5.11
VM 2.0.20b
KC VM Plugin 1.3.1

Please Log in or Create an account to join the conversation.

Support Development

Please consider a small donation to support development of the extensions on this site.



Joomla! Login

This is the normal Joomla! login module not the VirtueMart login module. Click the 'Create an account' button to see how you are redirected to the VirtueMart registration form when the KC VM Registration Redirect plugin is enabled.

Joomla! & WordPress Hosts

Managed Web Hosting by Liquid Web

This is our recommended web hosting provider for Joomla! & WordPress websites. This is the host that we use for websites that we build. Liquid Web has an excellent reputation, fast servers and most importantly awesome service! They have technicians that are familiar with Joomla! & WordPress.

Joomla! & WordPress Web Design and Development

If you are interested in having a website designed or redesign or need custom Joomla! or WordPress development, please visit Keashly.ca Consulting to view our Portfolio of Joomla! & WordPress website work.

Trademarks and logos remain the property of their respective organizations.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Keashly.ca Consulting is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Site Map Back to Top