Jump to content

sridhar2do

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Location
    India
  • Activity
    Developer

Recent Profile Visitors

2,029,372 profile views

sridhar2do's Achievements

Newbie

Newbie (1/14)

8

Reputation

  1. I'm using PrestShop 1.5, for redirecting Above code help me to redirect if the user is not logged, [path for it is classes\controller\FrontController.php in that after the public function init() after the line parent::init()] Now i want the code for, if some one clicks the Add to Cart, he or she will be redirected to Login Page as well as the cart count should have to be in 0. The concepts comes like, if it is the Guest user then he or she can only view the list of product but when he clicks the Add to Cart, he or she will have to be redirected to Login Page. Please help me out
  2. When clicking Add to Cart button, i need to verify if the customer is already logged or not, if not i need to redirect to Login Page
  3. Hello Friends! When client clicks to the button Add to Cart, he or she will be automatically redirect to the Login Page. for Page redirection i got this But i'm searching to past this code in which controller please help me out
  4. Goto classes\controller\FrontController.php Find the function public function init() Past the below mentioned code after parent::init(); if (!$this->context->customer->isLogged() && $this->php_self != 'authentication' && $this->php_self != 'password') Tools::redirect('index.php?controller=authentication?back=my-account');
  5. Hi, When user creating account, allow users only in the particular zip / postal code that we are specified. Required: 1) Specify zip code residing only in Singapore in particular region only. 2) If user does not in the specified zip code, then he is not allowed to register. Thank you,
×
×
  • Create New...