[Resolved] Delete prices in some products

Home Forums Support [Resolved] Delete prices in some products

Home Forums Support Delete prices in some products

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #1280730
    Jose

    Hi,

    I don’t want to show the price, because the site shows and interval and I don’t like it, in all the products for the cursos category. For thoose products I am using woocommerce suscription

    You can see what I mean in the next link, https://www.noemibustelo.com/categoria-producto/cursos/

    #1281223
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .term-cursos.woocommerce ul.products li.product .price {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps 🙂

    #1281997
    Jose

    Hi Leo,

    No, they still there!

    #1282185
    David
    Staff
    Customer Support

    Hi there,

    where did you add the CSS?
    I tested the code using the developer tools and it worked. Let us know.

    #1282259
    Jose

    I have insert in customize CSS, but I can’t see changes…

    #1282261
    David
    Staff
    Customer Support

    Can you add it to the top of the CSS in the Customizer > Additional CSS.
    Then clear your browser cache.

    #1282283
    Jose

    Nothing, it doesn’t work

    #1282316
    David
    Staff
    Customer Support

    Can you please disable the Autoptimize cache so i can see what the issue is.

    #1282329
    Jose

    Disabled!

    #1282735
    David
    Staff
    Customer Support

    Try adding this code instead – and place it at the very bottom of your CSS:

    .term-cursos.woocommerce ul.products li.product .price {
        display: none !important;
    }
    #1282845
    Jose

    Nothing!

    #1282858
    Leo
    Staff
    Customer Support

    What if you remove this line here?
    https://www.screencast.com/t/2gk8JRS4

    It’s causing a syntax error I believe.

    #1282861
    Jose

    Okey, it works in the shop page, but in the product page the price still there. I don’t want to show the price under the tittle, we have different prices for the same product in some cases…

    #1283014
    Leo
    Staff
    Customer Support

    Add this as well:

    .single-product .product_cat-cursos p.price {
        display: none;
    }
    #1283688
    Jose

    Solved!

    Thanks!!

Viewing 15 posts - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.