Support » Plugin: WPC Smart Quick View for WooCommerce » Good but needs a lot of improvement

  • The good: Easy interface. nice design. several effects. script events. custom button placement and classes.

    Annoying:
    1. useless Dashboard Widget
    2. new wp admin menu item
    3. new add_image_size and no filter to change the size
    4. images not loading in safari on Mac/iOS
    5. SCRIPT_DEBUG gets ignored, min.js files will always be loaded
    6. no filter for slick and magnific popup arguments
    7. all scripts and styles will always be loaded, even when not used on excluded categories
    8. not save for german market. needs legal adjustments
    9. not mobile first. css is written with max-width media queries not min-width

    Solutions:
    3. unset the image size:

    // remove quick view plugin image size
    function remove_extra_image_sizes() {
        foreach ( get_intermediate_image_sizes() as $size ) {
            if ( in_array( $size, array( 'woosq' ) ) ) {
                remove_image_size( $size );
            }
        }
    }

    then add size again with same name but custom dimensions:

    // make it same size like we already have!
    add_action('init', 'remove_extra_image_sizes');
    function add_extra_image_sizes() {
        add_image_size( 'woosq', 600, 600, true );
    }

    then run a plugin like “regenerate thumbnails”.
    4. run custom code in jquery hook:

    $("body").on("woosq_loaded",function(e){
        $('#woosq-popup .thumbnails').slick('setPosition').find("img").height("auto");
    });

    8. when working with germanized plugin insert this code:

    // add germanized to quick view:
    function woocommerce_template_single_price_custom(){
        woocommerce_gzd_template_single_legal_info();
        echo do_shortcode("[gzd_product_delivery_time]");
    }
    add_action( 'woosq_product_summary', 'woocommerce_template_single_price_custom', 16 );

    when using debug mode and saving woosq options, it fires several notices in the log:
    [30-Oct-2019 09:38:26 UTC] PHP Notice: options.php wurde mit einem Parameter oder Argument aufgerufen, der seit Version 2.7.0 <strong>veraltet ist</strong>! Die Einstellung <code>woosq_content_view_details_text</code> ist nicht in WordPress registriert. Unregistrierte Einstellungen werden offiziell nicht unterstüzt. Details erfährst du unter https://codex.wordpress.org/Settings_API in /Users/nicb/Data/_htdocs/yourcolor/wp-includes/functions.php on line 4657

    i says the options.php was called with a deprecated parameter or agument.

    • This topic was modified 1 year, 2 months ago by nicmare.
Viewing 1 replies (of 1 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @nicmare ,

    Thank you for your detailed review. Our developers will consider and make all necessary improvements for our plugin in the future updates. Hopefully, it will satisfy you more.

Viewing 1 replies (of 1 total)
  • The topic ‘Good but needs a lot of improvement’ is closed to new replies.