Jump to content

darktangent

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Activity
    Freelancer

darktangent's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. I was looking for a solution for a long time. Could not sort out it was that easy. Guys Claybourg solution works perfectly.
  2. Hi, I have installed paypal module in my shop. I have configure it correctly but it does not show up on the paymenthook although other modules show up there. I have tried to look into the code, and found that hookpayment function is not working. I have made sure that the hook is transplanted at this position. I have also enabled error logging but no errors popup. What is the problem?
  3. In the ordercontroller override i need to redirect to a page with errors. But when a redirect the errors are lost. Like when i am at step 1 of the controller i need to go back to the cart page. But if i redirect using $this->errors[] = 'There is an erro'; Tools::redirect('/index.php?controller=order'); The errors get lost. I think prestashop generates a new http request in the redirect. what should i do so that i can step back to step no. 0 and keep the errors? Thanks
  4. @damonsk I have implemented Your solution in Prestashop 1.5. I have overridden the link class's getLanglink() function. But now the problem is that once a user goes into some other language, he/she can not bounce back to English. I have seen in the post that you have recommended changes for Prestashop 1.4 in tools::gethtaccess function. What changes should i do in prestashop 1.5. Also can you guide me to put the language option at the end of the URL.... like www.example.com/about-us/br/
  5. It is intended to remove the carrier step from the Prestashop 1.5 order process. I want the order to jump from addresses to Payment step. I have found that it is being controlled by the OrderController.php and there is a switch statement which does the job. But i do not know how to manipulate it to skip the step. I had searched this forum and found a solution to use $this->autostep(3); to do so... But it is not working for me.
×
×
  • Create New...