Changing the slider related products - by Rodolfo

This topic has 10 replies, 3 voices, and was last updated 9 years, 8 months ago ago by Rodolfo

  • Avatar: rodolforizzo76
    Rodolfo
    Participant
    March 23, 2015 at 15:06

    As you can disable the slide, for related products? I find it very beautiful, but the site owner wants to see the images of the related products as arranged on a grid, for example, how does woocommerce default.

    Thanks for your attention.

    9 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 23, 2015 at 15:16

    Hello,

    You can use Products element and Grid display type via Visual Composer plugin. Please see screenshot: http://prntscr.com/6kc3yj

    Regards,
    Robert Hall.

    Avatar: rodolforizzo76
    Rodolfo
    Participant
    March 23, 2015 at 16:39

    Hello, this I can do it in a normal page, but how can I get this for related products that are normally in all the pages of the individual product woocommerce? I saw that deals with this file /woopress/woocommerce/single-product/related.php that calls the function etheme_create_slider().

    I hope that I explained well.
    Regards.

    Avatar: Eva
    Eva Kemp
    Support staff
    March 23, 2015 at 18:03

    Hello,

    You can remove the file /woopress/woocommerce/single-product/related.php and original related.php file will be loaded for related products display.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: rodolforizzo76
    Rodolfo
    Participant
    March 23, 2015 at 18:09

    forget my last post, I wanted to do a wrong thing. I used visual composer to get the grid with the products you want to show, but the grid appears in the tab description, but I would like it to appear out just after the tab description etc..

    Avatar: rodolforizzo76
    Rodolfo
    Participant
    March 23, 2015 at 18:22

    to understand this better, I disabled the related products page single product, now I want to put them the grid of products created with visual composer. Perhaps there is a shortcode to do this?

    Avatar: Eva
    Eva Kemp
    Support staff
    March 23, 2015 at 18:29

    Hello,

    Did you receive my previous post?

    You can remove the file /woopress/woocommerce/single-product/related.php and original related.php file will be loaded for related products display.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: rodolforizzo76
    Rodolfo
    Participant
    March 23, 2015 at 18:46

    if I remove the files that you have shown me the slide no longer appears, it is true, but I do not understand why I see only two related products when in fact they are more.

    Moreover, this solution is not good for me, because I have to show only the products of one subcategory, visual composer does this well, because it is sufficient to indicate the category ID, and I see exactly what I want.

    Now the only problem that remains is being able to put these products (created with “products” of visual composer) outside the tab description, so that they are always visible even if you change the tab (for example if I change and go to the tab “additional information “, i would like to continue to see products below). In short, the products out of the tab description, just after the tab. Is this possible? (without much effort).
    Thank You.

    Avatar: rodolforizzo76
    Rodolfo
    Participant
    March 23, 2015 at 18:53

    if I ask is complicated to do, also keep these products in the tab description is acceptable for me. Thank you for your answers.

    Avatar: rodolforizzo76
    Rodolfo
    Participant
    March 24, 2015 at 16:32

    Hello, I had problems to show the products created with visual composer for translations of WPML, but I solved the problem very well using a function that I put in the file function.php (in child theme). This function limits the products related only to the tags (and this was what I needed).

    The function I found it here:

    http://www.nerdymind.com/nerd-blog/23-woocommerce-restricting-related-products-to-tags-only

    The author also says:

    “Of course, this isn’t guaranteed to always work; the Woo team could completely rewrite how the WC_Product class or the original get_related function works at some point in the future”

    Restrict “Related Products” to Tags Only, this would be a nice feature to add!
    I hope you take into account his suggestion.

    thank you.
    Regards.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Changing the slider related products’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.