srondelli Posted September 30, 2013 Share Posted September 30, 2013 Hello everyone I have a little problem with the module paypalIn its original configuration expresscheckout there is a button that allows you to make the payment without registration directly with paypal. This button is also located in the product page in the Product Footer hook.For the sake of Template I needed to move this button under the button buy it right away, then I replaced the "public function hookProductFooter ()" with "public function hookProductActions ()" made exactly the same way. I then plugged the module into the respective hook from the Modules tab-> panel positions of prestashop.The button appears correctly in the new location, but is clickable at the click does not match the redirect action on paypal.Thank you all in advance for availability. Link to comment Share on other sites More sharing options...
srondelli Posted October 1, 2013 Author Share Posted October 1, 2013 Does anyone have any idea why the button moving from one hook to another fails? Link to comment Share on other sites More sharing options...
srondelli Posted October 2, 2013 Author Share Posted October 2, 2013 in paypal.php i have changed only public function hookProductFooter() { $content = (!$this->useMobile()) ? $this->renderExpressCheckoutButton('product') : null; return $content.$this->renderExpressCheckoutForm('product'); } TO public function hookProductActions() { $content = (!$this->useMobile()) ? $this->renderExpressCheckoutButton('product') : null; return $content.$this->renderExpressCheckoutForm('product'); } Link to comment Share on other sites More sharing options...
bissio Posted November 17, 2014 Share Posted November 17, 2014 Hi srondelli, i've exactly the same problem. Did you solve it? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now