Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Photo Seller – wrong toggle logic in wps-custom-admin.js

by

Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller – wrong toggle logic in wps-custom-admin.js

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 6 months ago by DesMas.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 21, 2017 at 6:57 pm #14551
    DesMas
    Member

    Hi, the new setting feature for “Send Buyer Email As HTML” seems to have a not correctly working event-handler attached.

    – checkbox-state: checked = wpps_buyer_email_body_row hidden

    – checkbox-state: unchecked = wpps_buyer_email_body_row displayed

    code to fix is in js/wps-custom-admin.js::10ff

    Code:
    //For email settings page section
    $(‘#send_buyer_email_html’).on(‘click’, function(){
    if (this.checked) {
    $(“.wpps_buyer_email_body_row”).show(); //was hide()
    } else {
    $(“.wpps_buyer_email_body_row”).hide(); //was show()
    }
    });

    November 26, 2017 at 12:08 am #76790
    Peter
    Member

    Thank you for the feedback.

    I will investigate further.

    November 27, 2017 at 6:01 am #76791
    Peter
    Member

    Hi again,

    I checked out the code and actually the current behaviour is correct.

    When you check “Send Buyer Email As HTML” it is meant to hide the “Buyer Email Body” section because the plugin will send a predefined tabularised HTML version of the buyer email. (similar to the receipt page)

    This HTML layout cannot at this stage be modified but that may change in future.

    If you leave the “Send Buyer Email As HTML” unchecked you will see the “Buyer Email Body” section which will be sent as plain text format.

    December 2, 2017 at 9:18 am #76792
    DesMas
    Member

    OK.

    Than there was a misunderstanding.

    Maybe the check-box should be named something like “send customized Buyer Email”.

    I believe people mostly think “the positive way” when setting a check-box to checked state :)

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ