• Resolved mcrocket

    (@mcrocket)


    Hi there,

    I apologize if this has been asked before, but I was unable to find anything mentioning this.

    I’m looking to have the discount reflected on the checkout page in the subtotal field (e.g. the original price crossed out with the new price beside it). We have had a few users skip the cart page, go straight to the checkout page and wonder where their discount is. Is something like this possible?

    Thank you.

    • This topic was modified 5 years, 5 months ago by mcrocket.
Viewing 1 replies (of 1 total)
  • Plugin Author flycart

    (@flycart)

    Hi

    In the Checkout order summary, WooCommerce by default does not run this event:
    woocommerce_cart_item_price

    (Probably to save some space there)

    As a result, the crossed out original price and the discounted price does not show up there.

    Alternative Solution 1:

    In the recent version, we have added a feature to show a “You saved” message at the cart and checkout.
    It is a great way of telling the customers that they got a discount.
    You can consider using this feature. Here is a guide:
    https://docs.flycart.org/woocommerce-discount-rules/discount-display-settings/display-you-saved-message

    Alternative Solution 2:
    This will involve adding a theme override to the review-order.php template
    and adding the following line

    <?php
    echo apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key );
    ?>

    If you would like the Solution 2 and need assistance, please feel free to submit a support request at https://www.flycart.org/support

    Thanks
    Ramesh

    • This reply was modified 5 years, 5 months ago by flycart.
Viewing 1 replies (of 1 total)
  • The topic ‘Show discount on checkout page’ is closed to new replies.