New Landing How can we help? Themeforest Theme Support Neighborhood Product Category Code(s) display

Viewing 8 posts - 1 through 8 (of 8 total)
  • #17343
    Glen Cuoco
    Member
    Post count: 37

    Whenever a product is displayed on the website, the Category codes are listed beneath the Product caption, as well. How can I remove this, so only the product show?

    #17387
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You mean on the single product page? like this? http://neighborhood.swiftideas.net/product/levis-1967-505-jeans/

    Let me know, what you got.

    Thanks,
    laranz.

    #17398
    Glen Cuoco
    Member
    Post count: 37

    Hi Laranz.

    Yes, that is one page where it happens. I would prefer that visitors to the website not see the Category Code(s) for the main image (on the right side of the page) nor under any of the Related Products images below.

    The same would be true for the products shown on the Home Page of the Demo Site: http://neighborhood.swiftideas.net/product/levis-1967-505-jeans/

    I understand why it could be useful, but I don’t think most of the viewers here in Bermuda would actually want to use those code links below the images. This site is to sell various makes and models of motor cycles and scooters, as opposed to a clothing store or electronics store, for example, so I’m just trying to keep the pages fairly simple to begin with. My client is stuck on having things in the “old” ways, so I want to “ease” him into this century slowly and gently!

    Thanks for any advice you can give me with how to keep the Category Code from appearing on these pages.

    Best regards,

    Glen

    #17411
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    1. For single product, go to woocommerce\single-product\meta.php

    and comment the lines from 27 to 33

    It looks like this.

    ID, 'product_cat' ) ); echo $product->get_categories( ', ', '' . _n( 'Category:', 'Categories:', $size, 'woocommerce' ) . ' ', '.' ); ?>

    2. For Home page, go to \woocommerce\content-product.php comment the line #167 to #170 it looks like this

    ID, 'product_cat' ) );
    echo $product->get_categories( ', ', '' . _n( '', '', $size, 'woocommerce' ) . ' ', '' );
    ?>
    

    Let me know, what you got.

    Thanks,
    laranz.

    #17416
    Glen Cuoco
    Member
    Post count: 37

    Laranz,

    Those two changes were great! Each of my Product pages is okay now and also it corrected the Related Products below each main Product.

    However, I use 4 Shop Product Mini elements on my Home Page to show 3 products in each of them. For instance, the first is headed “Honda” and shows 3 bike models with thumbnail pictures; the next would be “Peugeot” and shows 3 of those models, etc. All of the thumbnail pictures still show the Product Category Codes.

    I can send you a private link to my Home Page, if you need to see it. Just let me know.

    If you can also help me fix this, I think this should sort out any remaining issues I have. At least, I sure hope I don’t have to bother you anymore! 🙂

    I really appreciate the time you have given to help me, Laranz.

    Glen

    #17678
    Melanie – SUPPORT
    Member
    Post count: 11032

    Yes please show us your website. We’ll see if we can help you with that. CHeers!

    #17695
    Glen Cuoco
    Member
    Post count: 37

    Melanie – Actually, I did something yesterday morning, which solved the problem for me. I decided to experiment with the Asset Type codes within the individual Shop Products Mini elements on my page. Initially, they were set to “Best Sellers” and I changed them to “top Rated.” I don’t know why this worked, but it did!

    Since then, I changed the meta.php file, which Laranz told me about, to remove other information from the Product pages that I didn’t want to use at this time.

    Thanks to everyone for being patient and helping me to understand more of the details of the Neighborhood Theme. It’s a great theme and, now that I’m beginning to feel more relaxed about making my way around the available options, I really like it.

    Best regards from Bermuda!

    Glen

    #17895
    Melanie – SUPPORT
    Member
    Post count: 11032

    Great!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register