Reply 191726 to: Child Function.php not pulling in code

Avatar: Rose Tyler
Rose Tyler
Support staff
April 23, 2018 at 12:21

Hello,

Have you activated the child theme on site (Appearance > Themes)?
Try to check if this function does not work at all from child theme, you may just echo ‘some text’; in the function to see if it works. If so then it could be wc_add_notice function causes the problem and try to add next strings

add_action('wp_ajax_add_transfer', 'check_cart_weight');
add_action('wp_ajax_nopriv_add_transfer', 'check_cart_weight');

If the problem woun’t be solved, provide temporary wp-admin access and describe in more details how to recreate (what dares to do to see how it works).

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.