March 25, 2011 at 4:36 am #3042
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.
AlexMarch 25, 2011 at 11:42 pm #30676wpCommerceModerator
Can you please post a link to the page where you have the product?March 25, 2011 at 11:51 pm #30677
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
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:
Some good read for you:March 26, 2011 at 2:21 am #30679
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:
Some good read for you:March 28, 2011 at 8:24 pm #30680
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.
AlexMarch 29, 2011 at 1:26 am #30681
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:
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.
- You must be logged in to reply to this topic.