Author Topic: Redirect to login page before goes to add to cart page.  (Read 1725 times)

raj4057

  • Beginner
  • *
  • Posts: 3
Redirect to login page before goes to add to cart page.
« on: February 29, 2012, 12:10:55 pm »
hi.,

In default virtuemart when i click any product it goes straight to add to cart page. In this virtue mart site deallovers.com.au, when i click Buy button an login page is opened. Only when give correct mail and password it going to add to cart page. How can i do this ? When i select any product it should redirect to virtue mart login page, after this form verification it should goes to add to cart page.

Thanks in advance.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9843
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Redirect to login page before goes to add to cart page.
« Reply #1 on: February 29, 2012, 14:39:50 pm »
I would use in the vm config the setting "allow only registered users to checkout"
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rupesh

  • Jr. Member
  • **
  • Posts: 113
Re: Redirect to login page before goes to add to cart page.
« Reply #2 on: June 08, 2012, 15:51:59 pm »
I would use in the vm config the setting "allow only registered users to checkout"

Hi milbo,

I want to redirect my unregistered user to login page after clicking on add to cart button with no ajax popup and after login to system they can redirect to view cart page?

I'm using vm2.0.2 and joomla 2.5.1 with  "Only registered users can checkout" checked in vm backend!
see "http://www.elifeshopping.com"

Thanks for listening

Rupesh


philraymond

  • Beginner
  • *
  • Posts: 31
Re: Redirect to login page before goes to add to cart page.
« Reply #3 on: August 11, 2015, 20:51:00 pm »
I would use in the vm config the setting "allow only registered users to checkout"

Back in VM 1, when "allow only registered users to checkout" was selected, shoppers would be directed to a 'Login or Register' page before they could even see the cart. Now, in VM 3, they do have to login to see the Shipping/Pricing options, but this all happens on the same page as the cart. I'd rather go back to the old way, where they can't see the cart until they've logged in. Is this possible? Thanks, Phil