WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Order Summary page (20 posts)

  1. rajeshsettu
    Member
    Posted 1 year ago #

    Hello Everyone,

    I have setup a wordpress woocommerce site where everything works fine.

    Now, I need a feature where it displays the summary of order before placing the order. Is there any plugin or code which can help me to sort out this issue?

    Please let me know.

    Thanks,
    Raj

    http://wordpress.org/extend/plugins/woocommerce/

  2. Roy Ho
    Member
    Posted 1 year ago #

    Hmmm WooCommerce already has this by default. The Cart page is the summary.

  3. rajeshsettu
    Member
    Posted 1 year ago #

    Thanks for replying me.

    Here is the current flow of woocommerce

    Product -> add to cart -> View cart -> Checkout -> Payment gateway -> order receipt or status.

    But I need like this

    Product -> add to cart -> View cart -> Checkout -> Order summary -> confirm & Payment gateway -> order receipt or status.

    Is there a plugin to do this?

    Please let me know.

    Thanks,
    Rajesh

  4. Roy Ho
    Member
    Posted 1 year ago #

    I don't fully understand you. What information on the cart is missing?

  5. rajeshsettu
    Member
    Posted 1 year ago #

    okay, in checkout page we have Billing and Shipping address details, Product details (which we ordered) and choose payment method. Than when we click on place order it goes to payment gateway either paypal etc.. correct.

    Now, what I need is a order confirmation page which display billing and shipping address, products which are added to cart and payment method which we have choose. This page will have Place order button.

    So when you choose payment gateway in checkout page and click on Next the order summary page should display.

    Is this clear?

  6. Roy Ho
    Member
    Posted 1 year ago #

    I understand what you want...but I don't understand why...Please explain the reason?

  7. rajeshsettu
    Member
    Posted 1 year ago #

    Its a client requirement. He wants to have double order review page. This feature is available in woocommerce German marketpress plugin but that doesn't support 2 language sites.

  8. Roy Ho
    Member
    Posted 1 year ago #

    I don't see how it would work because you said you want to show payment gateway chosen but in your description, it states payment gateway at the end...

  9. rajeshsettu
    Member
    Posted 1 year ago #

    http://en.daisydesignstudio.com check this site. You can see how this works :)

  10. Roy Ho
    Member
    Posted 1 year ago #

    LOL...you made it sound so complicated...but that is easy!!

  11. Roy Ho
    Member
    Posted 1 year ago #

    The information you're looking for is in cart.php

  12. rajeshsettu
    Member
    Posted 1 year ago #

    You understood my need right :)

    In checkout page if you click Next button you will go to order summary page and click on Place order button in summary page will go to payment gateway.

    Please let me know how to do this.

    Thank you.
    Rajesh

  13. Roy Ho
    Member
    Posted 1 year ago #

    I can't tell you exactly how to do it but I am guiding you in the right direction. As previously stated, the information for the order is in the cart.php file. You can use that code to put into your checkout summary page. The only thing missing from that file is the payment method which is retrieved in another way which I will post here when I find that file.

  14. rajeshsettu
    Member
    Posted 1 year ago #

    Thanks a lot Mate.

    But can we change the form action in checkout page?

  15. Roy Ho
    Member
    Posted 1 year ago #

    You mentioned that you had a plugin that does this...why don't you just look into the plugin and see how they do it and replicate it on the site?

  16. Roy Ho
    Member
    Posted 1 year ago #

    Ok here is the code from that plugin JS file.

    jQuery.noConflict();
    ( function( $ ) {
    	var updateTimer;
    	var xhr;
    	woocommerce_de = {
            init : function () {
                this.remove_totals();
                this.register_payment_update();
                this.remove_first_checkout_button();
                this.show_no_delivery_time_string_control();
                this.scale_unit_hint();
            },
            remove_totals : function () {
                if( 1 == woocommerce_remove_updated_totals ) {
                    $( '.woocommerce_message' ).remove();
                }
            },
            register_payment_update : function () {
            	$( '.payment_methods' ).live( 'change', function () {
            		 $( 'body' ).trigger( 'update_checkout' );
            	});
            },
            remove_first_checkout_button : function () {
            	$.each( $( '.checkout-button' ), function( index, value ) {
            		if( ! $( value ).hasClass( 'second-checkout-button' ) ) {
            			$( value ).hide();
            		}
            	});
            },
            show_no_delivery_time_string_control : function () {
            	$( '#lieferzeit_product_panel' ).live( 'change', function(){
            		if( 10 == $( '#lieferzeit_product_panel' ).val() ) {
                		$( '._no_delivery_time_string_field' ).show();
                	} else {
                		$( '._no_delivery_time_string_field' ).hide();
                	}
            	});
            },
            scale_unit_hint : function () {
            	if( 1 < $( '#woocommerce_attributes .toolbar' ).length )
            		$( '#woocommerce_attributes .toolbar' ).last().append( '<small>Sie können weitere Maßeinheiten unter <a href="' + woocommerce_product_attributes_url + '">Produkte &rarr; Attribute</a> anlegen.</small>' );
            }
    
        };
        $( document ).ready( function( $ ) { woocommerce_de.init(); } );
    } )( jQuery );

    I don't believe you need everything in here though.

  17. rajeshsettu
    Member
    Posted 1 year ago #

    Thanks Mate.

    The problem with that plugin is

    1. Its only for German language sites
    2. That plugin doesn't support 2 language

    So I need to create a separate page for myself.

    Thanks,
    Rajesh

  18. rajeshsettu
    Member
    Posted 1 year ago #

    Hi,

    I have created a new page. Now, when I click on Place order button in checkout page should go to this page. But currently this goes to payment gateway.

    can you please help me with this?

    Thanks,
    Rajesh

  19. bvansomeren
    Member
    Posted 1 year ago #

    The reason is simple. It's a legal requirement in some countries that you will have one confirmation step BEFORE placing the order.
    By default it seems you add the products, fill in your data and select the payment method on one page and submit it.

  20. nertworks
    Member
    Posted 6 months ago #

    This is a good question. Has there been any headway on it?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.