Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore Issue: Terms and Conditions not required!
- This topic has 14 replies, 3 voices, and was last updated 14 years ago by amin007.
-
AuthorPosts
-
October 24, 2010 at 9:01 pm #2099awpcpMember
Hi,
I recently updated to 4.4.9 after reporting that the “Terms and Conditions” were not required to make a purchase in 4.3.4. After upgrading, I can still get to PayPal without clicking on “Accept the terms” checkbox.
Is this fixed in another version, or still in process?
October 24, 2010 at 11:25 pm #25754wzpModeratorUnder WP eStore -> Settings -> General Settings do you have the following settings completed…
* Terms & Cond. Page URL.
* Show Terms & Conditions Checkbox.
October 25, 2010 at 4:15 am #25755amin007ParticipantThe T & C checkbox uses JQuery. Can you please verify that any Jquery code on the page (coming from the theme or other plugins) is running in noconflict mode?
October 25, 2010 at 2:23 pm #25756awpcpMember@wzp: This was originally configured correctly before two upgrades ago. That’s when it stopped working. The checkbox is checked, the Terms URL is filled in and valid.
@amin: How do I put jQuery in “non-conflict” mode? There is a plugin on the site that includes some jQuery JS. The theme doesn’t use jQuery.
October 25, 2010 at 2:24 pm #25757awpcpMemberWhoops! I take that back, the theme DOES use jQuery…
wp-content/themes/inspire/includes/js/jquery-142.js?ver=1.4.1
So, how do I set noconflict mode?
October 25, 2010 at 2:32 pm #25758awpcpMemberI’m also running W3 Total Cache, but I’ve made sure the JS relating to eStore’s jQuery isn’t Minified, and that’s not helping either. I’ve done the correct setup for the cache on eStore, as the store is working, just the T&C aren’t required.
The shopping cart pops up after clicking on the first item with “You must accept the T&C!” in red, but the checkbox isn’t checked.
October 26, 2010 at 1:04 am #25759amin007ParticipantI will take a look at your site and see which bit of JQuery code is causing the issue. I have sent you an email.
October 27, 2010 at 1:11 am #25760awpcpMemberCan you resend the email Ruhil? Thanks! Lost it somehow on my iPhone.
October 27, 2010 at 1:20 am #25761amin007ParticipantSent. Didn’t I tell you not to use iPhone?
October 27, 2010 at 4:27 pm #25762awpcpMemberHi Ivy & Ruhil,
I submitted site access to you and got the email back to upgrade. I’m now on 4.5.9 and the problem still exists. It’s not forcing users to check “I accept” before going to PayPal. Can you please take a deeper look?
October 28, 2010 at 1:48 am #25763amin007ParticipantI will look at it today.
October 28, 2010 at 2:55 am #25764amin007ParticipantHad a look and it’s definitely coming from your theme. I switched to the “Twenty Ten” theme by WordPress (we know that this theme is properly coded) and the problem goes away.
Now that I know that the theme is the culprit I decided to look in the HTML of your page and looks like there is no sign of the “JQuery” library that eStore enqueues. WordPress comes with the latest version of JQuery. Any plugin that needs to use it should just enqueue it which eStore does. But if you look at your page source the jquery library is not there!
Now, you need to go and ask the theme developer why does the theme remove the “JQuery Library” from the header?
October 28, 2010 at 2:32 pm #25765awpcpMemberHi Ruhil,
Thanks for looking into it. It’s probably my caching settings with W3TC. It worked before with WooThemes, so it’s probably not the theme itself. I’ll check it out.
October 28, 2010 at 2:38 pm #25766awpcpMemberFurther checking, for those that run into this, showed the following:
– JQuery was included properly, but I had Minify turned on inside W3TC AND
– Comment and line break removal was also turned on
Turning off those last two options (remove comments and line breaks) fixed it. Apparently, the line breaks and comments are necessary to keep things running smoothly here.
October 29, 2010 at 3:12 am #25767amin007ParticipantCool. Yeah basically the JQuery library wasn’t there so it looked like the theme was doing something to it because when I switched the theme it was working.
-
AuthorPosts
- You must be logged in to reply to this topic.