BartekPresta Posted July 19, 2022 Share Posted July 19, 2022 I have payment option added to presta. PaymentOption have form and additionalInformation. Unfortunately, presta defaults set form below additionalInformation. How can i change that? Link to comment Share on other sites More sharing options...
Prestachamps Posted July 19, 2022 Share Posted July 19, 2022 Hi, If it is on the product page then in the back office in the "Position" section you can organize the modules how to appear. If it is on the checkout page then please send us a screenshot so we have more information. Have a nice day. Kind regards, Leo Link to comment Share on other sites More sharing options...
BartekPresta Posted July 20, 2022 Author Share Posted July 20, 2022 @Prestachamps So this is my paymentOption. $paymentOption = (new PaymentOption()) ->setCallToActionText($this->l('FORM')) ->setModuleName($this->name') ->setForm($this->generateForm()) ->setAdditionalInformation("additional information") ->setAction($this->context->link->getModuleLink($this->name)); So my question is, can I put FORM above additional information on payment method selection page? Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 20, 2022 Share Posted July 20, 2022 Share the url. Link to comment Share on other sites More sharing options...
BartekPresta Posted July 20, 2022 Author Share Posted July 20, 2022 it is not live yet Link to comment Share on other sites More sharing options...
Rhobur Posted July 20, 2022 Share Posted July 20, 2022 Use the hookPaymentOptions which returns an array of payment options, include yours in that array. 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