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

Terms and Conditions Checkbox Not Working

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Terms and Conditions Checkbox Not Working

Tagged: terms and conditions agree checkbox

  • This topic has 6 replies, 3 voices, and was last updated 14 years, 3 months ago by amin007.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 25, 2011 at 4:36 am #3042
    emceesquared08
    Member

    Hi,

    I’m trying to use the Terms and Conditions agree checkbox and it does not seem to be working. I can add products to my cart just fine but then when i get redirected to my checkout page, before I even click on the checkbox the error message “You must agree to the Terms & Conditions!” appears on page load. Then when i click on the checkout with paypal button without agreeing to the terms it takes me to paypal when it should not.

    I think that the checkbox did work before in a previous version of my site not too long ago but now it doesnt seem to be working. I’m not sure if the problem lies with some javascript function or where exactly. Any idea where the problem could be?

    Thanks,

    Alex

    March 25, 2011 at 11:42 pm #30676
    wpCommerce
    Moderator

    Can you please post a link to the page where you have the product?

    March 25, 2011 at 11:51 pm #30677
    emceesquared08
    Member

    The product page is at: http://infinitetrackminds.com/beatstore

    After adding a product to the cart you should be redirected to the checkout page at: http://infinitetrackminds.com/checkout –> that’s where the terms and conditions box is not working.

    I’ve tried testing it on the newest versions of Chrome, Firefox and Internet Explorer and I get the same behavior. I’ve also tried the fancy and when not empty versions of the cart but they also exhibit the same output.

    March 26, 2011 at 2:15 am #30678
    amin007
    Participant

    Your theme is including a hardcoded JQuery version on your site which it should NEVER DO! Every plugin and them should use the JQuery that ships with WordPress itself:

    http://infinitetrackminds.com/wp-content/themes/3_Them_ONLY/multidesign/js/jquery-1.4.2.min.js

    Some good read for you:

    http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/

    https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin

    March 26, 2011 at 2:21 am #30679
    amin007
    Participant

    Your theme is including a hardcoded JQuery version on your site which it should NEVER DO! Every plugin and theme should use the JQuery that ships with WordPress itself:

    http://infinitetrackminds.com/wp-content/themes/3_Them_ONLY/multidesign/js/jquery-1.4.2.min.js

    Some good read for you:

    – http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/

    – https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin

    March 28, 2011 at 8:24 pm #30680
    emceesquared08
    Member

    Hi,

    I went back and looked at the code and it definitely is not properly coded (I bought the theme online and did not code it myself). When I changed the header so that it included jquery properly, the terms and conditions box did work but then it broke other functionality of the theme. So i’m trying to figure out how to fix one without breaking the other.

    I know hardcoding jquery with the estore plugin would not be good practice but i’m desperate in trying to get both estore and the theme working together. I looked at wp_estore1.php to manually include jquery as it was in the theme but it didnt work. If i did want to hardcore it which files and lines would i need to change?

    I understand it was my fault for buying an unproperly coded theme but I like its functionality and would like to keep it if possible. I would appreciate any help.

    Alex

    March 29, 2011 at 1:26 am #30681
    amin007
    Participant

    As per the WordPress’s coding guideline… eStore uses the JQuery library that comes with WordPress. Look for the following line in ‘wp_eStore1.php’ file:

    wp_enqueue_script('jquery');

    I don’t see how you can correct this problem by hardcoding the JQuery library in eStore. The issues is that JQuery library should only be included once in a page (this is why wordpess has that guideline so that each plugin or theme do not add the library… otherwise you will end up with multiple JQuery libraries on your webpage!).

    I unfortunately don’t know of any magic solution to fix it other than to correct the coding. You are more than welcome to try.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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