PHP code to disable shop page in Woocommerce
-
We have followed the diagnosis of a repeating system crash which is caused by an incompatibility betwee Woocommerce and our Enfold Child theme. we cannot use the recommended plugin as this removes both the shop page AND the Cart which is used in the purchase process.
The blogs recommend “editing the theme functions.php file” but do not give a recommended php code to be inserted into the functions file.
What is the code that we must insert into our functions.php file to disable the shop from being called in woocommerce (or to just return with nothing instead of called teh shop function in Woocommerce?
Please help with suggestions or example code
Alex
The page I need help with: [log in to see the link]
- The topic ‘PHP code to disable shop page in Woocommerce’ is closed to new replies.