Questions tagged [order-success-page]

Denotes questions about final page of order/checkout completion which is called success page

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Magento 2 how to show newsletter box on checkout success page

We are using Magento 2.4.0 version. We are able to show the Newsletter box on the checkout success page but after submitting the email it is redirected to an empty shopping cart. That code we are ...
user avatar
  • 1,123
0 votes
1 answer
54 views

Magento 2 : Show configurable Associate product name in success page

In Order success page, I need to display the product name, but when the product is configurable I need to display the full name of the associate product not only the name of the configurable product ...
user avatar
0 votes
1 answer
67 views

Backorder status of product

I need to display backorder status of products in success page.we have 3 status and each product show its status.Thank you
user avatar
0 votes
0 answers
14 views

Display product images in succes page

I need to display product images in success page without using object manager
user avatar
0 votes
2 answers
143 views

Get product image on success page | Magento 2

I need to display product image in success page without using object manager which is bad practice.thank you
user avatar
0 votes
0 answers
27 views

Magento site variables

I need to add an affiliate network script via GTM to the mirat.eu store. In this code I have to replace sale_value, order, {ID}, {PRICE} and {QUANTITY} with variables from magento 2.3.1. I am asking ...
user avatar
0 votes
1 answer
18 views

Order is creating Automatically and after purchase also still product is in cart

For few days we are facing a different issue Once we place the Order successfully it is showing the older Order id (Order id 000000960 but our current Order id 1000+) Success page. For reference ...
user avatar
1 vote
0 answers
41 views

Magento:success page order details issue in magento 2?

When i go through cash on delivery process then success page get all order details on success page But when i go through paytm or other payment getway through its show error Is there any solution for ...
user avatar
1 vote
1 answer
205 views

Magento 1.9 - Payment Gateway Success page empty or error

Error : PHP Fatal error: Call to a member function getMethodInstance() on boolean in /home/error/public_html/app/code/core/Mage/Payment/Helper/Data.php on line 119 I am using Paytm & Payubiz ...
user avatar
  • 679
0 votes
0 answers
90 views

Get list of modules called at order success page - M2

Place order is working good but after place order page redirect to cart page. I have put log in success.phtml file and found that success.phtml file is called. But I don't know why it's redirect to ...
user avatar
1 vote
1 answer
738 views

Magento 2 : Get a custom customer attribute to appear on the checkout success page

I've recently created a customer attribute for my Magento ver. 2.3.5-p1 instance using the following blog: https://www.blog.sashas.org/magento-2-1-3-how-to-make-customer-attribute-update.html The ...
user avatar
  • 360
2 votes
0 answers
67 views

Pass order success url redirect url to a payment gateway

I would like to pass to an order payment a variable containing the success url that a customer should get redirected to when the payment goes fine on the payment gateway page. So basically I have a ...
user avatar
0 votes
0 answers
34 views

Using order details on success page multiple times

I would like to be able to bring the order specifics into variables so I can reuse for various tracking apps on the success page. I'm still learning php with some knowledge of magento so appreciate ...
user avatar
  • 31
0 votes
4 answers
134 views

How to implement a redirect to a custom success page after submitting a form on a custom page (similar functionality like checkout)

I have a submission form and a controller, with the execute method. At the moment, after sending the form, my page reloads and on top of the page I get an alert that notifies the user about the ...
user avatar
1 vote
0 answers
74 views

Magento 2.3.1 : Checkout success page - Create an account button is not displaying

I am working on a Magento 2.3.1. In checkout success page, the Create an Account button is not displaying. I have checked all the files but it's not disabled from code. How to solve this one. Please ...
user avatar
  • 11
1 vote
0 answers
267 views

Magento2 one page success error

I get blank page when I place order, on success page I have 500 error and it is blank. I can see the order on admin panel and buyer panel, but status is pending. Also i increased PHP memory limit. I ...
user avatar
  • 701
0 votes
2 answers
543 views

Magento 2 - Order Success Page to show Product Order Table

Is it possible to get the basket table with Product name, quantity and price to show on the Order success page? Also to show the shipping and billing address underneath this. Please Advise.
user avatar
1 vote
0 answers
450 views

Magento 2.3.2 checkout success page Create an Account Button Not Display

I am working on a Magento 2.3.2. In checkout success page, The Create an Account button is not display. I have checked all files but it is not disabled in any files. How to solve this one. Please ...
user avatar
0 votes
1 answer
87 views

Magento 2.2.5 Unable to get orderGrandTotal() in success.phtml

I'm trying to get access to the grand total of the order but for some reason am unable to access this variable. I have tried multiple solutions by creation modules but nothing seems to be working. ...
user avatar
  • 143
0 votes
1 answer
1k views

How can i add Google Ads Tracking code in Success Page

Here is my code : <!-- Event snippet for Final Page conversion page --> <script> wtag('event', 'conversion', { 'send_to': 'AW-23232323223232/23232323233434343443', 'value': ...
user avatar
  • 103
0 votes
3 answers
2k views

Magento 2 : How to show products and shipping method on order success page? As picture below:

htdocs/vendor/magento/module-checkout/view/frontend/templates/success.phtml <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @...
user avatar
  • 3
4 votes
1 answer
143 views

Magento2: Order success create coupon

I want to generate coupon on order success below is the code i am unsing to generate in Observer public function __construct( \Psr\Log\LoggerInterface $logger, \Magento\SalesRule\...
user avatar
3 votes
2 answers
704 views

Where does Magento decrement quantity of a product after the order is placed?

I need to check the Product Salable Quantity of a product after a successful order to change one of the product´s attributes. I keep getting the product salable quantity before It´s decremented. ...
user avatar
0 votes
1 answer
225 views

Get total order value on success.phtml page using onepage checkout

I posted this question: How can i get the order total value on success page easily? Magento 2.2 But it never got resolved. Unsure how to rerequest help about it. But I need to get it solved. I am ...
user avatar
3 votes
2 answers
2k views

Magento 2 - Cart empty after successful payment

I have a custom payment method, after successful payment; payment page return to a controller where it updates order status and truncate current cart items like this: $this->quote->load($orders-...
user avatar
  • 8,795
1 vote
2 answers
456 views

How can i get the order total value on success page easily? Magento 2.2

I am trying to get the order value from success.phtml page so that I can report it back in the facebook pixel. I am just looking for the simplest way to get the order value. Yes, a shortcut pretty ...
user avatar
0 votes
1 answer
146 views

Magento2.3: Order not Place and Redirect to checkout/cart page [closed]

I have upload my Magento2.3 site on site ground. Others things are working fine but order not place redirect to checkout cart page. system.log: [2019-04-19 12:15:47] main.INFO: Broken reference: ...
user avatar
0 votes
1 answer
1k views

Easiest way of adding a script to the order confirmation page in Magento 1?

I need to add a script that tracks orders on a Magento shop. This script is to be inserted onto the order confirmation page. What is the easiest way of inserting this script onto the order ...
user avatar
5 votes
4 answers
14k views

How can I add custom success page

I want to add custom success page by overriding it's phtml. Can anyone guide me how can I do this?
user avatar
2 votes
1 answer
2k views

How to get entity id(order id) in success phtml

In my success.phtml , $block->getViewOrderUrl() gives a order url with order id(entity id) . dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Onepage/Success.php /sales/order/view/...
user avatar
  • 799
0 votes
1 answer
200 views

How / Where to add Facebook Checkout pixel?

I like to ask where I should place this code snippet: fbq('track', 'Purchase', { value: 1, currency: 'SEK', }); I have added the normal facebook tracking code into the head for all pages....
user avatar
0 votes
1 answer
560 views

magento2 get custom product attribute on order success page

I have a magento 2.2.5 based website and i need to get a custom product attribute on my order success page for each product. The custom attribute is called site_owned_buy any suggestions how to get it ...
user avatar
  • 771
1 vote
3 answers
2k views

Magento-2 order is not created after Successful Payment - PayPal

In my Magento website, Customer has placed an Order, PayPal received the amount with the Magento Order ID. But still, Customer didn't get to reach the Success page. Also that Order not listing at the ...
user avatar
0 votes
1 answer
2k views

How to customize order succes page url and add some order details

I want my order success page URL(checkout/onepage/success/) to be changed to order/?ORDERID And I need to display some order details in that success page. That should be shown even after the reload. ...
user avatar
  • 293
0 votes
1 answer
601 views

Get order id (not increment id) on success page?

I am running Magento 2.2 and I want to get the order id on the success page. $block->getOrderId() // returns 000000008 for example I do not want 000000008, but the real ID from the database, ...
user avatar
  • 882
1 vote
2 answers
1k views

get payment method in the success page Magento 2 programmatically

How can I display the payment method in the success page using a code? If anyone can help me, it would be great. Thankyou.
user avatar
  • 312
0 votes
2 answers
207 views

How to replace direct use of Object Manager?

in the success.phtml file I currently have a direct use of the object manager, which I am now reading is not best practice. I was wondering how to make a constructor to replace the following code in ...
user avatar
  • 99
0 votes
2 answers
135 views

Unable to get shopping cart data on Success.phtml

On the order confirmation page, I am trying to pull all the values of the items involved in the completed purchase, so they can be injected into a tracking iFrame. I found this code online, but it ...
user avatar
  • 99
7 votes
1 answer
149 views

$block Class Some Method is won't appear in get_class_methods() call

I am working in \success.phtml file, with the final objective of placing a tracking iframe on the confirmation page. <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt ...
user avatar
  • 99
5 votes
4 answers
2k views

How to get Coupon Code on Success Page in Magento 2

I am trying to get coupon code created in cart price rule from backend on success page. I am doing it as: In Block file public function getCouponCollection() { $om = \Magento\Framework\App\...
user avatar
  • 1,521
0 votes
0 answers
69 views

success page template file not called : M2

After M2 upgrade success.phtml template file not called at order success page. while onepage.phtml file is called at onepage checkout page. Both file location is same but still success.phtml file ...
user avatar
3 votes
2 answers
2k views

Magento 2 | Event for success page

what is the correct event which should fire when a customer ordered something and is being redirected to the success page. After the redirect to the success page the event should fire. Thanks in ...
user avatar
  • 865
3 votes
0 answers
41 views

How the guest order is mapped with the customer who is registered in success page in magento 2

How the guest order details are mapped with the customer who is registered by clicking Create Account button in the success page in magento 2.
user avatar
  • 2,376
1 vote
0 answers
299 views

Magento 2: Order Success Page Not Loading for custom payment method

I am using Webkul Ccavenue extension for Magento 2.1.4. On successful payment, a success response is sent to Magento, after which it should redirect to order success page(checkout/onepage/success), ...
user avatar
  • 11
0 votes
1 answer
41 views

Weird issue with Magento 1.9 success page and JS code

I am facing a rather strange issue with Magento 1.9. In the success page I have a piece of code that dynamically creates a tag based on the order just placed. The problem is that the tag is not ...
user avatar
0 votes
1 answer
366 views

Magento2 after placing order success page showing error

I have tried to place an order with simple and configurable product but after placing in success page i am getting below error. Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\...
user avatar
0 votes
1 answer
484 views

Bank Details On Success Page of Magento 2

If the payment method is bank transfer, I need to show a custom message on success page of Magento 2. I'm going to say "don't forget: we will ship to you after your payment received to our ...
user avatar
1 vote
3 answers
1k views

How Do I get Order id from module-checkout/Block/Onepage/Success.php in magento 2

I want to get the order details from module-checkout/Block/Onepage/Success.php. I got only the increment id to my custom template using the above block file. How can I get the entire order ...
user avatar
  • 2,376
1 vote
3 answers
6k views

How to customize checkout success page

We want to add this text "Click here to check the bank information" to the checkout success page and link it with URL a on the site. How to do that? We're running Magento 1.9
user avatar
  • 87
0 votes
1 answer
943 views

Magento 2 - How to retrieve the name and quantity for each product ordered in success.phtml file

I need to add an iframe for tracking the orders, and the code needs some values like Subtotal, order id, name of every product in the order and also the quantity for each product. I found a solution ...
user avatar