WordPress.org

Support

Support » Plugins and Hacks » Order Summary page

Order Summary page

Viewing 15 replies - 1 through 15 (of 19 total)
  • Roy Ho

    @splashingpixelscom

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

    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

    Roy Ho

    @splashingpixelscom

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

    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?

    Roy Ho

    @splashingpixelscom

    I understand what you want…but I don’t understand why…Please explain the reason?

    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.

    Roy Ho

    @splashingpixelscom

    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…

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

    Roy Ho

    @splashingpixelscom

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

    Roy Ho

    @splashingpixelscom

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

    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

    Roy Ho

    @splashingpixelscom

    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.

    Thanks a lot Mate.

    But can we change the form action in checkout page?

    Roy Ho

    @splashingpixelscom

    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?

    Roy Ho

    @splashingpixelscom

    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.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Order Summary page’ is closed to new replies.