have you tried testing with a default theme and all other plugins deactivated except woo?
yes, I’m using a child them with twenty fourteen theme.
I deactivated all the plugins and still the button would not work.
There seems to be some jquery/javascript in the footer, do you think this could be causing the probem?
I also increased the memory for php to 64.
sorry, that should be that I increased the php memory to 96MB.
I again deactivated all the plugins except woocommerce and the place order button on the checkout page is still inactive.
By default theme, I mean an untouched default theme… try switching to 2013 and testing it out…
Thanks
I switched to the default 2013 and it worked (with some errors and the paypal end.
Now to figure out why the button won’t work in my child theme of twenty fourteen.
Not sure where to start looking, I’ve disable all the plugins and couldn’t get it to work. It must be something I’ve coded.
Hi @shilogh55, try to look into your theme functions.php.
This is all that I have changed in the functions.php
<?php
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10);
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 10);
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 35 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 40 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 45 );
function my_add_order_review_product_image( $product, $product_obj ) { $image = wp_get_attachment_image( get_post_thumbnail_id( $product_obj->post->ID ), 'shop_thumbnail' );
return $image . $product;} add_filter( 'woocommerce_checkout_product_title', 'my_add_order_review_product_image', 10, 2 );
Try this:
<?php
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10);
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 10);
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 35 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 40 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 45 );
function my_add_order_review_product_image( $product, $product_obj ) { $image = wp_get_attachment_image( get_post_thumbnail_id( $product_obj->post->ID ), 'shop_thumbnail' );
return $image . $product;} add_filter( 'woocommerce_checkout_product_title', 'my_add_order_review_product_image', 10, 2 );
Thanks
Changed it and the order now button still doesn’t work.
I wonder what could be causing the error.
I completely removed the functions and the place order button stil does not work.
Does anyone have any suggestions on what else to try.
Thanks
I’ve removed the functions above and also removed all styles. All plugins have been deactivated except woocommerce and I still can’t get the place order button to work. It does work in the twenty fourteen theme but not in the child theme.
Does anyone have any ideas of what else I can try.
Thanks
Hi,
Perhaps you could try slowly building a new child theme. Start with 2014, and just declare the child theme, and test. If that works, slowly add your custom attributes, testing all the while, until you hit the problem.