PHP code showing on front end of website
-
My Woocommerce store recently started showing the following code on the front end of the website, in the product information section, under the quantity/add to cart:
$sku = $product->get_sku();
All of my google searching about this is only showing how to use this code – I can’t seem to find any reference to it appearing unexpectedly where the customer can see it. I do not have my store set up to show the product SKU on the front end. This just began happening in the last month – I’ve had multiple updates to the site over the last few weeks, so I’m unsure exactly what caused it or when it began. I imagine that there is either a plugin conflict or theme conflict, but I’m unsure where to look. Does anyone have any ideas for where I could start?
The page I need help with: [log in to see the link]
- The topic ‘PHP code showing on front end of website’ is closed to new replies.