How to add selector to shop?
-
I can install plugin and activate it, but nothing happens. I dont see selector on my shop page, it’s not showing.
The page I need help with: [log in to see the link]
-
Hi @albertmc2,
Generally, the plugin should work out of the box, i.e. as soon as you install it, the selector should be added to the shop pages automatically. However, it may be that your theme is using some custom template for the shop pages, so could you please let me know which theme are you using? And if it’s a paid one – could you please send it to me to tom@anbinder.me for testing (I will delete it as soon as I’m done with testing). Almost sure I will be able to fix it then.
P.S. This probably won’t help, but you could try adding both positions (i.e. “Before shop loop” and “After shop loop”) to our “Position” option in “WooCommerce > Settings > Products per Page”.
P.P.S. If you are familiar with PHP, you could check if your theme’s template calls the required WooCommerce hooks. It’s
woocommerce_before_shop_loopandwoocommerce_after_shop_loophooks inarchive-product.phptemplate.Hi again, @albertmc2,
I’ve made some changes which may help to solve the issue. Please update the plugin to the latest v1.4.0 (released just a couple of minutes ago). Now in the “Position(s)” option, you will find three new values: “Before main content”, “In archive description” and “After main content”. Please try selecting all of them and check if select box appeared on frontend.
Also, I’ve added “Custom position(s)” option – now we can set custom hooks there. However, to know which hooks to set there, I still need to know which theme you are using.
Please give it a try and let me know if that helped.
Hi, @algoritmika
I am using a template that is included in the “all unclusive” version of Crocoblock. Called “Kava Theme”.Updated plugin and choose all options, but I think this is the template blocking display slider.
But i cant fix this :CScreen: https://hostingkartinok.com/show-image.php?id=03afc635eb23e9c091a2182d054eedc0
-
This reply was modified 5 years, 3 months ago by
albertmc2.
Hi @albertmc2,
That’s odd… I’ve just installed “Kava” theme on my test server, and it seems to be working out of the box for me – selector is displayed as it should.
As I understand, you’ve customized the template with Elementor? If that’s correct – to be honest, I’m not very familiar with it – but maybe it would help, if I would add a shortcode to our plugin (something like
[alg_wc_products_per_page]), so you could then add it via Elementor? Please let me know what you think.Hi again, @algoritmika!
Yes, I set design through the elementor. That would be great, let’s try.Hi @albertmc2,
Ok, please update the plugin to the later version 1.5.0. Now you can use
[alg_wc_products_per_page]shortcode. Please give it a try and let me know if that works.Oh man you made my day! It’s work fine! Thank you very much!
Hi @albertmc2,
Happy to hear it’s solved! Thanks for the feedback, and please let me know if you need anything else.
-
This reply was modified 5 years, 3 months ago by
The topic ‘How to add selector to shop?’ is closed to new replies.