Jairo Ochoa

My feedback

  1. 0 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jairo Ochoa shared this idea  · 
  2. 3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    An error occurred while saving the comment
    Jairo Ochoa commented  · 

    This script works.
    But it would be better that it were a feature of the plugin.

    <script>

    jQuery('div.wc-pao-addon-my-field input.wc-pao-addon-file-upload').on('change', function() {
    var ext = jQuery('div.wc-pao-addon-my-field input.wc-pao-addon-file-upload').val().split('.').pop().toLowerCase();
    if ( ext ) {
    if ( jQuery.inArray(ext, ['jpg','jpeg']) == -1 ) {
    alert('Only JPG files are allowed. You have uploaded a ' + ext.toUpperCase() + ' file');
    jQuery('div.wc-pao-addon-my-field input.wc-pao-addon-file-upload').val('');
    }
    }
    })
    </script>

    Jairo Ochoa shared this idea  · 
  3. 183 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jairo Ochoa supported this idea  · 
  4. 6 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Jairo Ochoa shared this idea  · 
  5. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  WooCommerce » Extension - WooCommerce Brands  ·  Flag idea as inappropriate…  ·  Admin →
    Jairo Ochoa shared this idea  · 

Feedback and Knowledge Base