• Resolved manticarodrigo

    (@manticarodrigo)


    Would it be possible to still show prices and order total on checkout page? I know these numbers will likely change with the adjusted quote but it would be nice to give a preliminary total.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author pinal.shah

    (@pinalshah)

    Hi @manticarodrigo,

    Since this is a quote plugin, currently it does not display any prices to the end user when an order is first created.

    I understand that in certain business scenarios it might be a good idea to give the end user a preliminary total. However, if we’re to display the prices at this stage, I think it might become necessary to inform the user that is a preliminary estimate and the prices are subject to variation. Please let me know your opinion on the same.

    Currently, the plugin does not display the prices. However it might be a good idea to give a setting for the product, thereby allowing the site admin to make a choice of whether the price should be displayed or no.

    I will take this into consideration for one of the future updates.

    Thanks,
    Pinal

    Thread Starter manticarodrigo

    (@manticarodrigo)

    I agree with your concern about warning the user. In fact, my intention was to add some label to do exactly what you’re proposing. Let me know if there’s a temporary workaround for this that you can think of. Otherwise, looking forward to seeing it in future updates ??

    Thanks for working hard on this plugin and answering questions. I can tell you put a lot of love into it ??

    Plugin Author pinal.shah

    (@pinalshah)

    Sorry, I haven’t had a chance to look into this. I’ll check if it’s possible to fix this temporarily and get back to you soon.

    Pinal

    Plugin Author pinal.shah

    (@pinalshah)

    Hi @manticarodrigo,

    Can you please let me know if you would like to display the prices only at Checkout? Or would you wish to display the prices on the all the pages i.e. Product, Cart and Checkout pages?

    Pinal

    Thread Starter manticarodrigo

    (@manticarodrigo)

    Prices everywhere would be great and even better with a “Quote Estimate” label but I can hack it out with CSS if it’s too complicated. It currently displays prices very nicely for me on product pages and the cart and it works beautifully with dynamic pricing. Thanks for the support @pinalshah!

    Plugin Author pinal.shah

    (@pinalshah)

    You are welcome @manticarodrigo. Thank you for your inputs on this.

    I will try to include this feature in the next update.

    Pinal

    Hi Pinal,

    Here’s a scenario where displaying product prices would be needed (and is the actual situation I’m in).

    My client has set prices on products, but ships via freight, which can’t be calculated by a plugin.

    I would need disallow checkout until a shipping quote is acquired and provided to the customer, so the cart page should still show the product price, but instead of “Checkout”, the customer would “Request a quote” to get shipping cost, and then checkout via and emailed invoice.

    I know I can do this with conditional tags, but I thought it would be a welcome feature to your excellent plugin.

    Thanks!

    OK,
    Commenting out the CSS in qwc-frontend.css brought back the product prices on the Cart and Checkout page.
    How do I bring back the prices on the shop pages?
    Thanks,
    Paul

    Plugin Author pinal.shah

    (@pinalshah)

    Hi Paul,

    The prices on the Shop & Product pages are hidden using the below hooks:

    1. woocommerce_variable_sale_price_html
    2. woocommerce_variable_price_html
    3. woocommerce_get_price_html

    The function attached to all the 3 hooks is qwc_remove_prices()

    Adding a remove_action for these hooks will help display the prices on the Shop & Product pages.

    I hope this helps.

    The feature that allows the admin the ability to opt to hide/display the prices will be added in the next update which will be released in June.

    Thanks,
    Pinal

    Hi Pinal,

    Why can’t I just comment out the add_filter?

    //add_filter( ‘woocommerce_get_price_html’, array( &$this, ‘qwc_remove_prices’ ), 10, 2 );

    Seems to work. Will this break any other function?

    Plugin Author pinal.shah

    (@pinalshah)

    Hi Paul,

    That will work fine. However, it’s usually advisable to not modify any core plugin files as the changes get overwritten when the plugin is updated causing the functionality to break.

    Pinal

    Hi Pinal,

    Thanks for that.
    Yes I understand, but I can’t figure out how/where to add the ‘remove action’

    Any help?

    Plugin Author pinal.shah

    (@pinalshah)

    Hi Paul,

    The ideal place to add custom code is to create a custom plugin and add it.

    However, it’s fine if you simply comment out the lines in the plugin code to get the functionality you need. The feature to allow the admin the ability to decide whether he wants to hide/display the prices will be added in the coming update (which will be released next month).

    Pinal

    Hi Pinal,

    Great plugin. I am also looking for this functionality, do you know when it will be released?

    Thank you
    Julien

    Plugin Author pinal.shah

    (@pinalshah)

    Hi Julien,

    It’s currently in testing. I should mostly be able to release it next week.

    Thanks,
    Pinal

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Display prices/total on checkout’ is closed to new replies.