Home Forums WordPress Plugins Hide My WP Woocommerce code name

This topic is: not resolved
Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #15124
    lambang
    Active
    Post count: 11

    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,
    Erik

    #15133
    Suman M.
    Post count: 12478

    Hi, those are css class names and replacing these could break the site. Also, do enable “Auto Configuration” option under HMWP Replace Tools tab.

    #15136
    lambang
    Active
    Post count: 11
    This reply has been marked as private.
    #15150
    Suman M.
    Post count: 12478

    Yes, 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.

    #15159
    lambang
    Active
    Post count: 11
    This reply has been marked as private.
    #15169
    Suman M.
    Post count: 12478

    Hi, 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.

    #15179
    lambang
    Active
    Post count: 11
    This reply has been marked as private.
    #15185
    Suman M.
    Post count: 12478

    You 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, 1 month ago by Suman M..
    #15229
    lambang
    Active
    Post count: 11
    This reply has been marked as private.
    #15238
    Suman M.
    Post count: 12478

    That’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.

    #15257
    lambang
    Active
    Post count: 11
    This reply has been marked as private.
    #15267
    Suman M.
    Post count: 12478

    For 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

    #15274
    lambang
    Active
    Post count: 11
    This reply has been marked as private.
    #15278
    Suman M.
    Post count: 12478

    Yes, you can add the replacement like that. Let us know if any issue.

    #15323
    lambang
    Active
    Post count: 11

    Hi Suman!,

    How to hide the code “id” and “css” which shows woocommerce and wordpress?
    I attach a picture.

    Thnak you.

    Best regards,
    Erik

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.