Viewing 15 replies - 1 through 15 (of 15 total)
  • Hi,

    we have tested on the above link and the min/max is working just fine.

    Thread Starter carmestaffer

    (@carmestaffer)

    Hello,

    I removed the added PPOM field as I was testing the product.
    May I ask that you check now? I have added a PPOM field.

    Thread Starter carmestaffer

    (@carmestaffer)

    The added PPOM fields are:
    Sockets, Cut outs and adhesives

    I see, we will check if it is related to our script. It also seems issue with size plugin. Better if also contact plugin developer as well.

    Thread Starter carmestaffer

    (@carmestaffer)

    Him
    I did contact the plugin developer. They have not responded with a fix.
    This is the link to their plugin https://fantasticplugins.com/shop/sumo-woocommerce-measurement-price-calculator/
    I have opened 3 support tickets with them as they keep closing the issue without resolution.

    Thread Starter carmestaffer

    (@carmestaffer)

    Hi,
    I just did all the deactivation and reactivation of combinations of plugins.
    The measurement price calculator works when PPOM is deactivated.
    The measurement price calculator DOES NOT worj when PPOM is activated.
    PPOM works whether the measurement price calculator is active or not.
    So I think it’s safe to assume that PPOM is causing the issue (?)
    What do you think?
    Hope you can help.

    Thread Starter carmestaffer

    (@carmestaffer)

    How is the check for script issue coming along?

    Hi,

    sorry for delay but we will see if this issue or conflict can be resolved with SUMO plugin.

    Thread Starter carmestaffer

    (@carmestaffer)

    Hi,
    Thank you for responding.
    May I know what you mean by your response? Are you in contact with SUMO plugin developer?

    Thread Starter carmestaffer

    (@carmestaffer)

    Hi,
    I really hope you can get a fix for this the soonest.
    The site owner had to issue refunds because of out-of-range width and height orders that customers were able to order.

    Hi there,

    here is temporary fix (but we are adding fix in next version). Go to plugin-dir/js/ppom-input.js file and near line number 66-103 remove this block:

    $(document).on('click', 'form.cart .single_add_to_cart_button', function(e) {
            e.preventDefault();
    
            var _this = $(this);
            var is_true = true;
    
            jQuery.each(ppom_input_vars.ppom_inputs, function(index, input) {
                var field_selector = jQuery('.ppom-input-' + input.data_name);
                switch (input.type) {
                    case 'image':
    
                        var img = '';
                        if( input.multiple_allowed === 'on' ){    
                            img = field_selector.find('.pre_upload_image input[type="checkbox"]:checked');
                        }else{
                            img = field_selector.find('.pre_upload_image input[type="radio"]:checked');
                        }
                        
                        var min_checked = input.min_checked || 0;
                        var max_checked = input.max_checked || 0;
                        if (min_checked > img.length && min_checked > 0) {
                            is_true = false;
                            alert(<code>${ppom_input_vars.image_min_msg} ${min_checked} ${input.title}</code>);
                        }
    
                        if (max_checked < img.length && max_checked > 0) {
                            is_true = false;
                            alert(<code>${ppom_input_vars.image_max_msg} ${max_checked} ${input.title}</code>);
                        }
                        break;
                }
            });
    
            if (is_true) {
                // _this.unbind('submit').submit();
                $('form.cart').submit();
            }
        });
    Thread Starter carmestaffer

    (@carmestaffer)

    Hi,

    We don’t have that file in our File Manager.

    We have the PRO version.
    For some reason, I don’t see any folder for the regular version. In our file manager, we only have “ppom-pro” folder. And that is for “N-Media WooCommerce PPOM PRO”.

    In our WP dashboard > plugins, we have
    N-Media WooCommerce PPOM PRO
    PPOM for WooCommerce by N-MEDIA

    Thread Starter carmestaffer

    (@carmestaffer)

    These are the contents of the folder

    ppom-pro
    	folder: Auth
    	     auth.php
    	     README.md
    	     validate.js
    	folder: js
    	     ppom-sortable.js
    	folder: templates
    	     ppom-import.php
       file: ppom.php
       file: readme.txt
    Thread Starter carmestaffer

    (@carmestaffer)

    Hi,
    This works.
    It was woocommerce product addon folder.
    Thank you! This is VERY MUCH appreciated.

    Awesome. Have a nice day.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘PPOM Pro conflict with SUMO WooCommerce Measurement Price Calculator’ is closed to new replies.