New Landing How can we help? Themeforest Theme Support Neighborhood WooTickets – Qty Increment

Viewing 5 posts - 16 through 20 (of 20 total)
  • #163001
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome.
    Thanks
    Mohammad

    #164413
    uehealing
    Member
    Post count: 9

    What was done to resolve this? I am also experiencing this issue. When you click the up or down errors on the WooCommerce Tickets page, it scrolls you to the top of the window instead of incrementing or decrementing.

    Example:
    http://www.urbanescapehealing.com/event/sustainable-self-love-practical-guidance-for-a-soul-full-self/

    Please let me know how to solve this issue (Note: I prefer to solve it on my own rather than someone logging into WordPress)

    #164432
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please go to Admin -> Theme Options -> General Options -> Analytic code -> Paste given below code and update options:-

    
    

    <script>
    jQuery(document).on(‘click’, ‘.single-tribe_events .qty-plus’, function(e) {
    e.preventDefault();
    var quantityInput = jQuery(this).parents(‘.quantity’).find(‘input.qty’),
    newValue = parseInt(quantityInput.val(), 10) + 1,
    maxValue = quantityInput.data(‘max’) ? parseInt(quantityInput.data(‘min’), 10) : 9999999999;

    if ( newValue <= maxValue ) {
    quantityInput.val(newValue);
    quantityInput.change();
    }
    });

    // Decrease
    jQuery(document).on(‘click’, ‘.single-tribe_events .qty-minus’, function(e) {
    e.preventDefault();
    var quantityInput = jQuery(this).parents(‘.quantity’).find(‘input.qty’),
    newValue = parseInt(quantityInput.val(), 10) – 1,
    minValue = quantityInput.data(‘min’) ? parseInt(quantityInput.data(‘min’), 10) : 1;

    if ( newValue >= minValue ) {
    quantityInput.val(newValue);
    quantityInput.change();
    }
    });

    </script>

    Thanks
    Mohammad

    #164750
    uehealing
    Member
    Post count: 9

    Thank you, that worked!

    #164753
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome.
    Thanks
    Mohammad

Viewing 5 posts - 16 through 20 (of 20 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register