Latest version of XPro causes WooCommerce Place Order button to Disappear

Hi,

I have a site which has Woocommerce setup. Now since updating to latest version of Woo, WP and latest XPro version, there is no Place Order button on the checkout page or Quick Checkout page.

Disabled the Child Theme and the button reappears.

How can we fix this please??? Loosing money as we speak!!!

Thanks,
Jonathan

Hello Jonathan,

Thanks for writing in!

Regretfully the given credentials do not work for us, It seems that the username is incorrect. Please double-check it.

Meanwhile, you have mentioned that the issue disappear when you deactivate the Child theme. This means that in your child theme’s functions.php file, there is a custom function that removes the button. Please double check it. Try to switch to the Parent theme instead.

Kindly let us know how it goes.

Hi,

Not sure how that is possible, I just logged in with the Username/Password I gave you and was able to. Please use Wordpress login and no WordPress.com as login.

I checked the Child Theme functions.php and have the following which means this has not been altered like you mentioned to cause such an issue. When I activate Pro (not child theme, all CSS is altered and changes the site layout.

<?php

// =============================================================================
// FUNCTIONS.PHP
// -----------------------------------------------------------------------------
// Overwrite or add your own custom functions to Pro in this file.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Enqueue Parent Stylesheet
//   02. Additional Functions
// =============================================================================

// Enqueue Parent Stylesheet
// =============================================================================

add_filter( 'x_enqueue_parent_stylesheet', '__return_true' );



// Additional Functions
// =============================================================================
//
//

Please help me resolve this. We are loosing business!!!

Thanks,
Jonathan

Hey Jonathan,

We cannot replicate the issue in our local testing servers. Do you have a staging site where we can troubleshoot? We highly recommend that you clone your site to create a staging site. The staging site is very useful because we can do the troubleshooting, test drive any Pro updates in the staging area, or do the customizations without disrupting your live site. Once everything is perfect, you can easily and flawlessly proceed with the update on the live site. To know how to create a staging area, please check out these articles:

Kindly let us know how it goes.

Hi,

I’ve created a staging site you can look at. Please see secure note.

Hi @PruvenMarketing,

I am another staff checking this thread. The issue has something to do with your Legal page content, I suggest that you delete all your sections one by one to find the culprit.

Please note that I tried to create a Themeco Test page and assigned it to your terms&condition and privacy page then it is just working fine with the first content from the legal page.

Hope that helps.

I think your trying to pass this off like you found something and fixed it, but you really haven’t solved anything.

When I remove the Child Theme, the Place Order button comes back. When I enable the Child theme, the Place Order button disappears again. Are you trying to tell me the Legal information from Terms/Conditions and Privacy pages us breaking the Pro theme? This seems ridiculous considering those pages have not changed.

Can you please try to fix this or least tell me what the real problem is? This is getting very frustrating, having to wait 24hrs to get these “hope this helps” messages with different answers each time.

Thanks,
Jonathan

Hey Jonathan,

You have an HTML syntax error in the Raw Content element in your Legal section Section 5. My colleague is trying to point out that users should practice the troubleshooting technique of saving the page as a template using the Template Manager then loading the page in a test page like what my colleague did. You then delete sections one by one while testing if the issue will persist each time.

I did that approach for now or just this time and found that the issue is your HTML in the Raw Content element. It has syntax errors. It worked previously because either WordPress or WooCommerce allowed errors but not now. It really should be fixed by your developer. Pro is not the issue here but your broken HTML.

image

If you don’t have a developer, we can go further by checking your custom HTML code in One where we can answer custom development questions. We can point you out what’s wrong with your code there.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.