Vagelis
Forum Replies Created
-
Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsYou could add this to the function i gave you
$( ".wprr a.prev").html('<i class="fa fa-chevron-left"></i>'); $( ".wprr a.next").html('<i class="fa fa-chevron-right"></i>');or you could add the font awesome icon using CSS :before and content like this
.wprr a.prev:before { font-family: FontAwesome; content: "\f105"; }Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsYou can style the prev/next by extending the function i gave you before or using css :before and content (just to have an example)
Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsYou can easily change the design with CSS
A good start would be :#woorelatedproducts li.product { padding: 10px; } #woorelatedproducts h2.woocommerce-loop-product__title { min-height: 40px; }You can also use CSS to alter prev-next links
Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsThe plugin is error free.
Any errors you have in your js console are caused by the optimization.Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsAh i see you use multiple optimization plugins/caches.
You should test while all these are OFF.Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsHello again, the filter you mentioned above doesn’t affect the slider.
I see you have an active cache.
Please try again the function I sent before and wipe all your caches.Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsHello there,
thanks for using woo related products.From what I see I understand that you want to increase related products carousel’s columns, you can easily increase from 3 to 4 using the function below ( as you already stated you ‘ll need to put this in your child theme function.php , if you are unfamiliar with PHP file editing please don’t do it. )
function v_woo_related_slider() { if (is_product()) {?> <script> jQuery(document).ready(function($) { $("#woorelatedproducts").data('owlCarousel').destroy(); var owl = $("#woorelatedproducts"); owl.owlCarousel({ items : 4, itemsDesktop : [1000,3], itemsDesktopSmall : [900,3], itemsTablet: [600,2], autoPlay: 3500, itemsMobile : false, }); }); </script> <?php } } add_action( 'wp_footer', 'v_woo_related_slider' );Forum: Plugins
In reply to: [Related Products for WooCommerce] How to get the related products IDHello again, as I told you before that’s impossible without modifying plugin’s files.
That’s out of the plugin’s scope. Maybe you should contact your theme’s developer.Forum: Reviews
In reply to: [Related Products for WooCommerce] Funziona bene!Glad you liked it, thanks for the review!
Got it, thanks.
Hello, no sorry, I didn’t but will do tonight or tomorrow.
Send me an email and I will get back to you with the edited version of the plugin.Hello there, sorry didn’t have the chance to get back to you yesterday.
Anyway, I am sorry to say that this is not possible at this point but I will add it to the features request.What I can do to help is to give you a “custom” version of the plugin which will exclude current product’s category from the related products query.
Problem is that I am not sure I can handle that today as I am off for a WordCamp tomorrow. If you can wait until next week I don’t mind to edit and send it to you.
Of course, If you have an alternative go for it don’t wait for me.
Thank you.Forum: Plugins
In reply to: [My Above The Fold CSS] Your above the fold CSS EmptyHello there, yes I am aware of that issue but didn’t have the time to update the plugin.
I will update in the next days and the problem will be solved.
Thank you for your patience!Forum: Plugins
In reply to: [Related Products for WooCommerce] Parent category onlyHello there, you can exclude the categories you don’t need or maybe you could use tags.
Forum: Plugins
In reply to: [Related Products for WooCommerce] WP 4.9.4Hello, I just checked the product URL you sent.
the Related products2 section is my plugin’s output and it looks fine, the image is not huge and the related product seems to be right.Now the second block with Related Products title (the second one) is your theme’s related products section.If you check the HTML output you will see “section porto-related-products”
Now if you have set my plugin to relate products by category you should get all products related to each other.If you don’t get that then it is a theme conflict I guess.Did you try to disable theme’s related output?
As for the CSS you can override any CSS rule (coming from a theme or plugin) by editing your child theme’s style.css or by using wp customizer’s css section.