Home › Forums › WoodMart support forum › Split: An error occurs when using elementor to edit a single product page in the layout › Reply To: Split: An error occurs when using elementor to edit a single product page in the layout
wujuan911800262
The reason why the backend is slow is because of the code you added in the theme php file:
add_action( ‘wp_enqueue_scripts’, ‘woodmart_child_enqueue_styles’, 10010 );
define(‘WC_MAX_LINKED_VARIATIONS’, 250);
add_action( ‘woocommerce_single_product_summary’, ‘custom_acf_field_output’, 5 );
add_action(‘elementor/ajax/register_actions’, function () {
add_action( ‘woocommerce_ajax_variation_threshold’, ‘__return_zero’, 1000 );
});
Later I deleted these codes and the slow backend problem was solved.
The problem now is that the front end of the website loads very slowly! Why don’t you want to go to the front end of my website to experience it? My previous problem was that both the backend and frontend of the website were very slow. After I deleted the php code you added, the backend became normal. However, the loading speed of the front-end of the website is still very slow. You can go to the front end of my website and click on the woocommerce product and store pages, and see for yourself whether it is slow or not.