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
0answers
14 views

Magento 2 : A custom popup after order success

I need to create a custom popup on the order success page. Which will ask the user for rating the checkout process with smiley? Any idea? Please help.
0
votes
0answers
12 views

Magento 1.9 - Google Ads conversion tracking value issue

I am setting up G.ads conversion tracking but facing conversion value issue. Google tag assistant showing conversion value twice on success page. Conversion valur 0 is the issue.Need help Screenshot
1
vote
0answers
29 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 ...
1
vote
0answers
34 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 ...
0
votes
2answers
39 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.
1
vote
0answers
105 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 ...
0
votes
1answer
33 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. ...
0
votes
1answer
93 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': ...
0
votes
0answers
19 views

Magento2 - Can the order-success-page differ between different versions of Magento2 or extension installed?

Does the path to the HTML page differ between different versions of Magento2 and could it differ based on what extension/modules each person installed? If there is a standard, what is the default path ...
0
votes
3answers
274 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. */ // @...
4
votes
1answer
55 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\...
3
votes
2answers
186 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. ...
0
votes
1answer
123 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 ...
3
votes
3answers
548 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-...
1
vote
1answer
85 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 ...
0
votes
1answer
87 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: ...
0
votes
1answer
225 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 ...
3
votes
4answers
11k 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?
2
votes
1answer
554 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/...
0
votes
1answer
43 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....
0
votes
1answer
181 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 ...
0
votes
2answers
633 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 ...
0
votes
1answer
132 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. ...
0
votes
1answer
348 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, ...
0
votes
2answers
456 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.
0
votes
2answers
36 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 ...
0
votes
2answers
63 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 ...
7
votes
1answer
71 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 ...
5
votes
4answers
848 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\...
0
votes
0answers
55 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 ...
3
votes
2answers
712 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 ...
2
votes
0answers
29 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.
1
vote
0answers
220 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), ...
0
votes
1answer
32 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 ...
0
votes
1answer
233 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\...
0
votes
1answer
269 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 ...
1
vote
3answers
565 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 ...
1
vote
3answers
4k 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
0
votes
1answer
466 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 ...
0
votes
1answer
239 views

How to get last ordered product details in Magento 2.2?

am extending the onepage/success block and able to get the order id from it but what I want is last ordered information like Product URL, product ID, Product image and so, I did a search about this ...
1
vote
1answer
257 views

Add Bank Details to success page

I'm new to Magento and trying to edit the success page on 1.9x All I want is to add payment details for some payment methods. If the customer selects BANK TRANSFER, I want My_Block to be shown on the ...
8
votes
3answers
8k views

How to test or style the Order Success Page Or how to stop Success Page redirecting in Magento 2

I have an issue in Magento 2 success page, its showing blank after successfully placed order. I am trying to debug it but the issue is when trying to refresh the success page after changing the code ...
0
votes
0answers
199 views

Order mail from success.phtml page in magento 2.2?

I'm using magento 2.2 with topstore 4th theme. Sending mail after order success observer are not working. i don't know why? Is there any possibility to send mail from success.phtml page manually to ...
0
votes
1answer
110 views

Can we turn the checkout success page into a checkout step in Magento 2?

How can we make the checkout success page part of the regular Magento2 checkout steps? I like the idea of having a simplified layout with minimal content during the checkout steps. But the ...
0
votes
0answers
115 views

Magento 2.1 Display Product details,image in Success page

I want to display Product details in which if it is configurable with options, image in Success page.
1
vote
3answers
1k views

How to get registered customer details in order success page(success.phtml) in M2.2?

I am using Magento 2.2. I want to display customer name, address line 1, adrdress line 2, city, phone, email in order success page. This is my code in success.phtml: <?php /** @var $block \...
2
votes
2answers
1k views

How to redirect to success page from controller

This is my controller page. I need to redirect to success page and place all orders in cart. This returns https 500 error. <?php namespace Cod\Otp\Controller\Index; use Magento\Quote\Api\...
0
votes
1answer
2k views

How to remove Create an Account button on Success Page in Magento 2?

I want to remove Create An Account button with "You can track your order status by creating an account." text on success page in Magento 2. I have removed checkout.registration block from ...
0
votes
1answer
730 views

Magento 2 : How to load the order success page

I have worked custom payment and I've received the response from the payment I need to load the success page from my custom controller how can i do it. Whether I need to create own page or can I use ...
0
votes
1answer
96 views

How to Get MRP, Product Order Quantity, Address line1, Address line 2 in Order Success page Magento 2

I need to get Address Line 1 Address Line 2 Each Product Order Quantity MRP(Manufacturer's Suggested Retail Price) code inside vendor/magento/module-checkout/view/frontend/templates/success.phtml ...