Jump to content

payment module after fail not able to display header footer


Ritul

Recommended Posts

Hello Folks

Here we are facing some issue after redirect from third party url my controller not able to set tpl file.

//controller code

public function initContent()
    {
        parent::initContent();
        $this->setTemplate('module:knetPayment/views/templates/front/confirm.tpl'); 
    }


//tpl file code

<h2>your payment succeasdadss.ddd </h2> 


i set code in my controller like this but it will only display content which is in template.

 

problem is not shown theme header footer and other data.

 

can  someone please help me as i am new in prestashop

Edited by Ritul (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...