Before you ask please READ THIS

Rife Pro: Out of Stock Products Sorting

in Rife Posts: 6
Hi team,

Hope all is well. I wanted to know if there is a way to display the out of stock products last on the products galleries and on the product categories view. I couldn't find any information on this.
Currently the out of stock products appear in the middle of the products in my shop and I wanted them to appear at the bottom of the list. Is this possible?
Also, is there a way to ajust the ribbon size? As I'm currently using the Portuguese-BR version of the theme and the box doesn't cover the whole frase "out of stock" in the translation.

Here is the page: https://romildosilvafilho.com.br/
The current out of stock product is "PORTA CONTROLES ATLANTIDA"

Thank you so much.

Comments

  • AirAir
    Posts: 10,703
    Hello :-)

    As for the ribbon size, please add such custom CSS:
    .product-labels {
        max-width: 90%;
    }
    As for out of stock items, this is more on the WooCommerce side.

    I have found such code solution https://stackoverflow.com/a/44597448

    I have tested it on my website by adding code in that answer to the functions.php file in the theme.
    It works for me, but please test it.

    I can think of it as an option for a Rife Pro feature :-)

    With kind regards.
  • Posts: 6
    Hi Air,

    Thank you so much for your help. The ribbon size didn't quite work but I found a different solution here: https://aceplugins.com/showing-a-out-of-stock-overlay-in-woocommerce/

    It would be a nice addition to have the out of stock products coming in the end as a standard Pro feature.

    Thanks again.
  • AirAir
    Posts: 10,703
    Hello :-)
    lombardi said: The ribbon size didn't quite work
    Hard to say what went wrong, as I can not see this custom CSS added anywhere. If you would rather want desired effect without an external plugin, please let me know.
    lombardi said: It would be a nice addition to have the out of stock products coming in the end as a standard Pro feature.
    I will check what can be done :-)


    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion