ausdigitalmedia Posted October 30, 2013 Share Posted October 30, 2013 Hi all. See this page http://www.thewattletree.com/product/test-product-3/ Down the bottom you'll see I have a line of code outputting the text "Shipping Class: free-shipping-australia-wide" I want to remove that but for the life of me I cannot find the file that I placed that code on. Dreamweavers code search is not helping at all. Can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/ Share on other sites More sharing options...
requinix Posted October 31, 2013 Share Posted October 31, 2013 How the heck would we know? I would guess that "free-shipping-australia-wide" comes from a database, but "Shipping Class" is probably something you can search for. Also note that it's outputted right after a comment. Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456287 Share on other sites More sharing options...
ausdigitalmedia Posted October 31, 2013 Author Share Posted October 31, 2013 Thanks for your help. But none of the search items are returning a result showing the code. Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456298 Share on other sites More sharing options...
requinix Posted October 31, 2013 Share Posted October 31, 2013 Then it's time to stop searching for terms and start stepping through code. Think of it less like searching for where the output happens but at what point in the execution it might. Like I said before, the fact that it's outputted immediately after that HTML comment should be a good clue. Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456304 Share on other sites More sharing options...
ausdigitalmedia Posted October 31, 2013 Author Share Posted October 31, 2013 I searched all pages with the html comment. Nothing there. I searched for the source code. Nothing there. I searched for "Shipping Class:" Nothing. Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456305 Share on other sites More sharing options...
requinix Posted October 31, 2013 Share Posted October 31, 2013 Well I guess you'll just have to give up, huh. Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456309 Share on other sites More sharing options...
ausdigitalmedia Posted October 31, 2013 Author Share Posted October 31, 2013 Id prefer to keep looking for an answer on this forum. Maybe other people actually want to help instead of offering negativity. Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456316 Share on other sites More sharing options...
cyber_alchemist Posted October 31, 2013 Share Posted October 31, 2013 if you could give the internal link where the http://www.thewattletree.com/product/test-product-3/ points to whether in php or asp.net from .htaccess file then it could be traceable i guess... Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456347 Share on other sites More sharing options...
Ch0cu3r Posted October 31, 2013 Share Posted October 31, 2013 (edited) Looking at the source code for your site I am guessing you are using wordpress with the woocommerce plugin? Googling woocommerce shipping class results in thishttp://docs.woothemes.com/document/product-shipping-classes/ Maybe you set a custom shipping class and that is what is being output. WooCommerce has a vast API knowing which specific place you need to edit we wont know. You are best of getting support from woocomerce themselves. Edited October 31, 2013 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456348 Share on other sites More sharing options...
ausdigitalmedia Posted October 31, 2013 Author Share Posted October 31, 2013 Hi cyber_alchemistI'm not sure what you mean there? What link do you need? Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456398 Share on other sites More sharing options...
cyber_alchemist Posted November 3, 2013 Share Posted November 3, 2013 hmmm.... i guess i forgot, the page doesn't exist to see what i was talking about... Quote Link to comment https://forums.phpfreaks.com/topic/283452-cant-find-where-i-put-this-code-on-this-page/#findComment-1456714 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.