New Landing How can we help? Themeforest Theme Support Neighborhood Remove carousel feature for RELATED PRODUCTS

Viewing 6 posts - 1 through 6 (of 6 total)
  • #26271
    user_simone
    Member
    Post count: 63

    Hi,

    seems RELATED PRODUCTS use a setting like a carousel.
    I need to remove that Carousel effect because is not working fine.. for 3-4 seconds related products are shown one under each other and only after 3-4 seconds are shown in horizontal position-> this is an issue of your theme because also the element “Products” is affected to this issue if I set inside the element Carousel:YES.
    If I set Carousel:NO -> the issue (one product under each other) is not shown.

    Thanks
    Simone

    #26455
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi Simone,

    That is because the js file loading takes time. I report this to the developer too.

    If you DON’T want the related product carousel, open up wp-content\themes\neighborhood\woocommerce\single-product\related.php in line #41, you see something like this

    <div class="related products product-carousel" data-columns="<?php echo $woocommerce_loop['columns']; ?>">

    change that to

    <div class="related products" data-columns="<?php echo $woocommerce_loop['columns']; ?>">

    also change the

    'posts_per_page' => 12,

    at line number 22, to 4

    'posts_per_page' => 4,

    Let me know, What you got.

    Thanks,
    laranz.

    #31310
    user_simone
    Member
    Post count: 63

    Hello,

    I have a functions.php file inside my child theme.
    Can I solve the issue putting a code inside functions.php ?

    When I upgrade your theme I lose all these customization.
    I need only 1 file where to put customizations.

    Thanks
    Simone

    #31351
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Copy the file to /woocommerce/single-product/related.php within your child theme. That will keep it with updates.

    – Ed

    #31355
    user_simone
    Member
    Post count: 63

    ok but can I copy it inside my child theme and as content keep only the function customized/changed?

    Thanks
    Simone

    #31357
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    You copy that folder structure, and you only need to copy across that file.

    – Ed

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