Home › Forums › WordPress Plugins › Hide My WP › Woocommerce code name
- This topic has 15 replies, 2 voices, and was last updated 7 years, 9 months ago by Suman M..
-
AuthorPosts
-
March 10, 2017 at 11:09 am #15124
Hello,
I still find woocommerce code name such as:
<li class=”woocommerce-MyAccount-navigation-link woocommerce-MyAccount-navigation-link–dashboard is-active active”>
<span class=”cart-price”><span class=”woocommerce-Price-amount amount”><span class=”woocommerce-Price-currencySymbol”>Rp</span>40.000</span></span>Please help.
Regards,
ErikMarch 11, 2017 at 12:53 pm #15133Suman M.Post count: 12478Hi, those are css class names and replacing these could break the site. Also, do enable “Auto Configuration” option under HMWP Replace Tools tab.
March 11, 2017 at 1:22 pm #15136This reply has been marked as private.March 13, 2017 at 4:48 am #15150Suman M.Post count: 12478Yes, please enable “Auto Configuration” option and let us know the result. And generate debug report from HMWP start tab and post it here as private reply.
March 13, 2017 at 9:22 am #15159This reply has been marked as private.March 14, 2017 at 5:05 am #15169Suman M.Post count: 12478Hi, first of all you should check the site’s page source in logged out state. I see there few occurrences of ‘woocommerce’ and those are CSS class names and script variables, replacing/renaming which could break some styling and functionality. Apart from these all occurrences of woocommerce has been replaced.
March 14, 2017 at 6:45 am #15179This reply has been marked as private.March 14, 2017 at 12:43 pm #15185Suman M.Post count: 12478You can replace any text in the page source using “replace in html” option under replace tools tab (but replacing css class names as in your case above could break the site, and hence you’ll need to check your site thoroughly after each such css class name replacement).
For example, you can add replacement in “replace in html” like below:
woocommerce-Price-amount ==> SomeName
More info regarding the replacements here – https://codecanyon.net/item/hide-my-wp-amazing-security-plugin-for-wordpress/4177158/faqs/20827
- This reply was modified 7 years, 9 months ago by Suman M..
March 17, 2017 at 11:07 pm #15229This reply has been marked as private.March 18, 2017 at 1:40 pm #15238Suman M.Post count: 12478That’s the entire CSS so replacing it will break the website styling. We recommend you not to replace it. However, you can remove the direct embedding of CSS and add it as a separate stylesheet file, but you’ll need some coding knowledge for it.
March 20, 2017 at 8:42 am #15257This reply has been marked as private.March 20, 2017 at 4:48 pm #15267Suman M.Post count: 12478For the URLs you’ll need to add replacement in “Replace URLs” option like these:
wp-content/themes/flatsome/assets/js/flatsome.js ==> SomeNameABC.js
wp-content/themes/flatsome/assets/js/woocommerce.js ==> SomeNameXYZ.js
March 21, 2017 at 5:04 am #15274This reply has been marked as private.March 22, 2017 at 4:15 am #15278Suman M.Post count: 12478Yes, you can add the replacement like that. Let us know if any issue.
March 25, 2017 at 12:33 pm #15323 -
AuthorPosts
You must be logged in to reply to this topic.