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

Applications of Artificial Intelligence in Business
Softwares

Applications of Artificial Intelligence in Business

by admin
June 4, 2025
How to Add Custom Style Variations to WordPress Blocks — Speckyboy
Softwares

How to Add Custom Style Variations to WordPress Blocks — Speckyboy

by admin
June 2, 2025
Smart software replaces expensive sensors for glass wall detection with 96% accuracy
Softwares

Smart software replaces expensive sensors for glass wall detection with 96% accuracy

by admin
June 1, 2025
User Guide For UnoPim PDF Generator
Softwares

User Guide For UnoPim PDF Generator

by admin
May 31, 2025
Infragistics Ultimate 25.1 includes updates across several of its UI toolkit components
Softwares

Infragistics Ultimate 25.1 includes updates across several of its UI toolkit components

by admin
May 29, 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
How to Build a JavaScript Search [Article]

How to Build a JavaScript Search [Article]

August 30, 2022
I Tried Calocurb For 90 Days. Here’s My Review.

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

January 8, 2025
Product Information Management Trends (PIM)

Product Information Management Trends (PIM)

February 4, 2022
15 Best Movies Like Parasite

15 Best Movies Like Parasite

February 20, 2022
Advancement in predicting software vulnerabilities

Advancement in predicting software vulnerabilities

May 21, 2022
What is Kubernetes: An Overview

An Introduction to Kubernetes | Developer.com

August 11, 2022
Metallica Have ’72 Seasons’ Lyric Videos in 8 Different Languages

Metallica Have ’72 Seasons’ Lyric Videos in 8 Different Languages

April 5, 2023
Best Coding Practices For Rest API Design

Django Form | Data Types and Fields

June 9, 2023
With Their New Single, 2ŁØT and Aloe Blacc Inspire Us to Become ‘Immortal’

With Their New Single, 2ŁØT and Aloe Blacc Inspire Us to Become ‘Immortal’

June 5, 2025
Has The Survivors Season 2 Been Canceled or Renewed?

Has The Survivors Season 2 Been Canceled or Renewed?

June 5, 2025
Turning Disaster Into Relief: The Purpose-Driven Growth of Insurance Claim HQ

Turning Disaster Into Relief: The Purpose-Driven Growth of Insurance Claim HQ

June 5, 2025
Rogue Traders singer Natalie Bassingthwaighte celebrates second anniversary with partner Pip Loth

Rogue Traders singer Natalie Bassingthwaighte celebrates second anniversary with partner Pip Loth

June 5, 2025
X Adds Verification Explainers To Avoid EU Fines

X Adds Verification Explainers To Avoid EU Fines

June 5, 2025
Leah Remini Addresses Rumors of a Rift with Jennifer Lopez

Leah Remini Addresses Rumors of a Rift with Jennifer Lopez

June 5, 2025
Eminem’s Publishing Company Battles Meta in $109 Million Lawsuit

Eminem’s Publishing Company Battles Meta in $109 Million Lawsuit

June 4, 2025
TESmart thunderbolt KVM switch review – great as long as you’re fine with 4k60FPS or 2K screens

TESmart thunderbolt KVM switch review – great as long as you’re fine with 4k60FPS or 2K screens

June 4, 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

  • With Their New Single, 2ŁØT and Aloe Blacc Inspire Us to Become ‘Immortal’
  • Has The Survivors Season 2 Been Canceled or Renewed?
  • Turning Disaster Into Relief: The Purpose-Driven Growth of Insurance Claim HQ
  • 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