New Landing How can we help? Themeforest Theme Support Neighborhood Product Overlay Transition disable

Viewing 8 posts - 1 through 8 (of 8 total)
  • #232934
    Baraa
    Member
    Post count: 50

    hello everyone, I have disabled the Product Overlay Transition to reduce the page size as its appear to reach 10mb sometimes, the problem that the second images still loading in the back even there is no transition when hover! so its just disable the Transition but all second images keep loading invisibly. Could you please help in stopping this? i only show 24 products but X 2pics would be too much to load quick.

    Thanks in advance,

    Bara

    #233054
    Baraa
    Member
    Post count: 50

    Could you please tell me as well how to change the number of related products ? i have already tried this code:
    http://docs.woothemes.com/document/change-number-of-related-products-output/

    past it in the function.php but it does not work.

    thanks

    #233058
    Baraa
    Member
    Post count: 50

    Solved second issue (related product number) please just if we can do anything with the first issue ill really appreciate.

    thanks

    #233060
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    You will need to customise the woocommerce/content-product.php file, if you are know familia with PHP you would need to work with a developer to do this. Find line 127 and then comment it out so it looks like this:

    //echo '<div class="product-image second-image">'.wp_get_attachment_image( $attachment_id, 'shop_catalog' ).'</div>';
    

    You will need to add that function to your child’s functions.php file.

    Thanks,
    David.

    #233063
    Baraa
    Member
    Post count: 50

    Hello David, you mean i should amend content-product.php file and then add the code to the function.php as well ?

    #233065
    David Martin – Support
    Moderator
    Post count: 20834

    for 1) Yes change the file as mentioned above for 2) please their Woo code to the child theme functions.php

    Thanks

    #233084
    Baraa
    Member
    Post count: 50

    hello David sorry again, i have amended the content_product.php line 127 with the code you have supplied, now do i need to past the same code to the function.php as its is :
    //echo ‘<div class=”product-image second-image”>’.wp_get_attachment_image( $attachment_id, ‘shop_catalog’ ).'</div>’;

    Or it need to be amended or something? i have pasted it but didnt work yet

    #233090
    David Martin – Support
    Moderator
    Post count: 20834

    No, do not put anything in the child theme functions.php from me, only what WooCommerce told you do.

    I am only talking about the content=product.php file.

    Thanks.

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