New Landing How can we help? Themeforest Theme Support Neighborhood Zoom Feature – Removing Additional Information tab – Excluding products category

Viewing 6 posts - 1 through 6 (of 6 total)
  • #17754
    nnaraja
    Member
    Post count: 8

    Hello, I have 3 questions that I have not been able to find here in the forums. (If there is such a thread please link it! Thanks!)

    1. Is there any ways to control how much the zoom feature zooms in? The default seems a little too magnified.

    2. Is there anyway to remove the additional information tab completely?

    3. Is there anyway to exclude a specific product category from the main shop page? I’d like to make a consignment page and don’t want those products mixed in with my regular products.

    Thanks in advance!

    #17816
    b3nz0n
    Member
    Post count: 63

    Hi Me 2

    #18084
    nnaraja
    Member
    Post count: 8

    bump

    #18174
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    1) It’s not possible with the zoom plugin to do so, as far as I can see. If we can, we’ll try and include something to adjust this in an update.

    2) This is automatically set with the WooCommerce product attributes, you’d need to edit code to remove it.

    3) Not as far as I’m aware, you’d need a WooCommerce extension for this if it’s possible.

    – Ed

    #46980
    cdsouza
    Member
    Post count: 44

    I looked on the Woo support pages and found this code, but I think it seems to conflict with the theme’s code. Can you please take a look? Its supposed to go into functions.php:

    add_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );

    function custom_pre_get_posts_query( $q ) {

    if ( ! $q->is_main_query() ) return;
    if ( ! $q->is_post_type_archive() ) return;

    if ( ! is_admin() && is_shop() ) {

    $q->set( ‘tax_query’, array(array(
    ‘taxonomy’ => ‘product_cat’,
    ‘field’ => ‘slug’,
    ‘terms’ => array( ‘knives’ ), // Don’t display products in the knives category on the shop page
    ‘operator’ => ‘NOT IN’
    )));

    }

    remove_action( ‘pre_get_posts’, ‘custom_pre_get_posts_query’ );

    }

    #47835
    Melanie – SUPPORT
    Member
    Post count: 11032

    cdsouza please don’t post the same question to multiple threads, thank you so much!

Viewing 6 posts - 1 through 6 (of 6 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