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

raj4057

  • Beginner
  • *
  • Posts: 3
Redirect to login page before goes to add to cart page.
« on: February 29, 2012, 05:10:55 AM »
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
  • Hero Member
  • *
  • Posts: 4184
  • VM2 ready to take off
    • VM2 Extensions
  • VirtueMart Version: 2.1
Re: Redirect to login page before goes to add to cart page.
« Reply #1 on: February 29, 2012, 07:39:50 AM »
I would use in the vm config the setting "allow only registered users to checkout"
Seminar/Workshop for virtuemart by the core team http://extensions.virtuemart.net/certifications/certification-of-virtuemart-2-detail
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rupesh

  • Jr. Member
  • **
  • Posts: 114
Re: Redirect to login page before goes to add to cart page.
« Reply #2 on: June 08, 2012, 07:51:59 AM »
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


VirtueMart Forum

Re: Redirect to login page before goes to add to cart page.
« Reply #2 on: June 08, 2012, 07:51:59 AM »