• Resolved dbrooksuk

    (@dbrooksuk)


    Using Merchant’s Quick View module, the Order Total is blank until any option is selected which stops the Add to Basket as there is no price. Once any option has been selected, the Order Total is filled and stays that way even after the option is deselected. It works fine for everywhere else

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dbrooksuk

    (@dbrooksuk)

    Quick update – I was wrong about above, no prices are showing for any options and hence no Order Total is being calculated

    Facundo A.

    (@aranofacundo)

    Hi there,

    I hope you’re well. To solve the issue you mentioned, please try adding the following PHP code in the functions.php file of your current theme:

    if ( ! function_exists( 'yith_wapo_custom_update_on_quickview' ) ) {
    function yith_wapo_custom_update_on_quickview(){
    $js = " jQuery( function ( $ ) {
    window.addEventListener( 'merchant.quickview.ajax.loaded', function () {
    $( document ).trigger( 'yith-wapo-reload-addons' );
    })
    } ); ";
    wp_add_inline_script( 'yith_wapo_front', $js );
    }
    add_action( 'wp_enqueue_scripts', 'yith_wapo_custom_update_on_quickview', 15 );
    }

    We’ll remain at your disposal.

    Thread Starter dbrooksuk

    (@dbrooksuk)

    Thank you very much that seems to have cured that problem

    Hi there,

    We’re glad the issue is fixed. I’ll mark this topic as resolved but don’t hesitate to contact us again by opening a new topic.

    Have a nice day.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Not showing Order total using Merchant Quick View plugin’ is closed to new replies.