对象已移动

可在此处找到该文档 Display custom message block on order confirmation page in PrestaShop – New Self New Life
New Self New Life
No Result
View All Result
  • Home
  • Entertainment
  • Celebrity
  • Cinema
  • Music
  • Digital Lifestyle
  • Social Media
  • Softwares
  • Devices
  • Home
  • Entertainment
  • Celebrity
  • Cinema
  • Music
  • Digital Lifestyle
  • Social Media
  • Softwares
  • Devices
New Self New Life
No Result
View All Result
Home Softwares

Display custom message block on order confirmation page in PrestaShop

by admin
3 years ago
in Softwares
Display custom message block on order confirmation page in PrestaShop
Share on FacebookShare on Twitter


blog-img

On this weblog, we’re going to discover ways to present the customized message block within the order affirmation web page on the entrance finish in PrestaShop.

Typically we have to present some extra data on the order affirmation web page on the entrance finish. So, we are able to obtain this by following steps.

Step 1:

Register “paymentReturn” hook in your module. To take action name the next operate in the principle file of your module-

$this->registerHook(‘paymentReturn’);

Step 2:

Create a operate in the principle file of your module to deal with the functioning and return Tpl file.

For instance:

public operate hookPaymentReturn($params)
{
    $this->context->smarty->assign(array(
      ‘msg’ => $this->l(‘Thankyou for buy. Your order is 
              confirmed’)
    ));
    return $this->fetch(
       'module:mymodule/views/templates/hook/custom_msg.tpl'
    );
}

Now create a tpl file on this path “/views/templates/hook” and write the
html textual content that you just wish to show on the block.

<div class=”alert alert-success”>{$msg}</div>
<p>{l s=’- Your order will probably be despatched as quickly as potential’ mod=’mymodule’}</p>

Observe:

This can be a fundamental instance wherein we simply displayed a easy message. Right here you’ll be able to show any type of data like order data, buyer data, and so forth.

If any challenge or doubt please be at liberty to say it within the remark part. I’d be blissful to assist.

Additionally, you’ll be able to discover our PrestaShop Growth Providers & a wide range of high quality PrestaShop Modules.

For any doubt contact us at [email protected]

author-thumb

Vineet Kumar
2 Badges

11 February 2022



Source link

Tags: blockconfirmationCustomDisplayMessageorderpagePrestaShop
Previous Post

Cole Sprouse Reveals Versace “Shaved My Nipples” in New Photos

Next Post

Robert Pattinson Spent “The Batman” Downtime Making Ambient Electronic Music In the Batsuit – EDM.com

Related Posts

Best Practices, Tools, xUnit, and NUnit Framework
Softwares

Best Practices, Tools, xUnit, and NUnit Framework

by admin
July 1, 2025
Start up crash fix – Vivaldi iOS Browser snapshot 3737.4
Softwares

Start up crash fix – Vivaldi iOS Browser snapshot 3737.4

by admin
June 30, 2025
Windows’ infamous ‘blue screen of death’ will soon turn black
Softwares

Windows’ infamous ‘blue screen of death’ will soon turn black

by admin
June 28, 2025
User Guide for Unopim Odoo Connector
Softwares

User Guide for Unopim Odoo Connector

by admin
June 27, 2025
Warp 2.0 evolves its terminal experience into an Agentic Development Environment
Softwares

Warp 2.0 evolves its terminal experience into an Agentic Development Environment

by admin
June 25, 2025
Next Post

Robert Pattinson Spent "The Batman" Downtime Making Ambient Electronic Music In the Batsuit - EDM.com

How to be a TikTok Music Megastar

How to be a TikTok Music Megastar

  • Trending
  • Comments
  • Latest
Bones: All Of Brennan’s Interns, Ranked

Bones: All Of Brennan’s Interns, Ranked

June 15, 2021
Torras Ostand O3 Air iPhone case review – It runs rings around other cases

Torras Ostand O3 Air iPhone case review – It runs rings around other cases

May 21, 2025
The Best Madras Shirt Brands For Men: Summer 2021 Edition

The Best Madras Shirt Brands For Men: Summer 2021 Edition

July 20, 2021
Indiana Evans: What happened to the H2O Australian actress Indiana Evans and what is she doing now? | Explainer

Indiana Evans: What happened to the H2O Australian actress Indiana Evans and what is she doing now? | Explainer

December 7, 2024
I Tried Calocurb For 90 Days. Here’s My Review.

I Tried Calocurb For 90 Days. Here’s My Review.

January 8, 2025
18 Best Political Series on Netflix, Ranked

18 Best Political Series on Netflix, Ranked

March 25, 2025
Games teach kids climate action

Games teach kids climate action

January 23, 2024
GitHub Enterprise Server 3.13.3 tackles critical SAML vulnerability

GitHub Enterprise Server 3.13.3 tackles critical SAML vulnerability

August 23, 2024
Scooter Braun Transitions From HYBE America CEO to Launch New Ventures

Scooter Braun Transitions From HYBE America CEO to Launch New Ventures

July 1, 2025
Apple Watch Series 11 Release Date, Price, and Features

Apple Watch Series 11 Release Date, Price, and Features

July 1, 2025
Travis Kelce Reacts to Claim He, Taylor Swift Seek Attention

Travis Kelce Reacts to Claim He, Taylor Swift Seek Attention

July 1, 2025
Brunch, Bold Prints & Banking Reimagined for Women At The GTMalkia Launch

Brunch, Bold Prints & Banking Reimagined for Women At The GTMalkia Launch

July 1, 2025
Meta Gains New Ad Safety Certifications for Facebook and Instagram

Meta Announces Updated Requirements for Securities and Investments Ads in India

July 1, 2025
M3GAN 2.0 Is a Glitchy, Goofy Upgrade That Has a Few Fun Moments — GeekTyrant

M3GAN 2.0 Is a Glitchy, Goofy Upgrade That Has a Few Fun Moments — GeekTyrant

July 1, 2025
On the road with Saya Gray

On the road with Saya Gray

June 30, 2025
Best Practices, Tools, xUnit, and NUnit Framework

Best Practices, Tools, xUnit, and NUnit Framework

July 1, 2025
New Self New Life

Your source for entertainment news, celebrities, celebrity news, and Music, Cinema, Digital Lifestyle and Social Media and More !

Categories

  • Celebrity
  • Cinema
  • Devices
  • Digital Lifestyle
  • Entertainment
  • Music
  • Social Media
  • Softwares
  • Uncategorized

Recent Posts

  • Scooter Braun Transitions From HYBE America CEO to Launch New Ventures
  • Apple Watch Series 11 Release Date, Price, and Features
  • Travis Kelce Reacts to Claim He, Taylor Swift Seek Attention
  • Home
  • Disclaimer
  • DMCA
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2021 New Self New Life.
New Self New Life is not responsible for the content of external sites. slotsfree  creator solana token

No Result
View All Result
  • Home
  • Entertainment
  • Celebrity
  • Cinema
  • Music
  • Digital Lifestyle
  • Social Media
  • Softwares
  • Devices

Copyright © 2021 New Self New Life.
New Self New Life is not responsible for the content of external sites.

New Self New Life