Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1090334

    Hi!

    Is ist possible to hide the price in the product-grid?

    All the best
    Kai

    #1090484

    Hey vollstark,
    Yes we can do that, Please see the screenshot in Private Content area of the area I believe you want to hide.
    Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .inner_product_header_cell > .price,.inner_product_header_cell > .woocommerce-de_price_taxrate,.inner_product_header_cell > .woocommerce_de_versandkosten {
    display: none !important;
    }

    Best regards,
    Mike

    #1092660

    Ah. Cool. It works very well :-) Thanks a lot.

    At the shop the prices are hidden as well. Is it possible to leave them in the shop but not at the product grid I set on a new page?
    Hm. Do you know what I mean ? ;-)

    All the best,
    Kai

    #1092680

    Hi,
    I see, you would like to only not show them on the one page, please try this css:

    #top.page-id-10428 .inner_product_header_cell > .price,#top.page-id-10428 .inner_product_header_cell > .woocommerce-de_price_taxrate,#top.page-id-10428 .inner_product_header_cell > .woocommerce_de_versandkosten {
    display: none !important;
    }

    Best regards,
    Mike

    #1092685

    Hi!

    Thanks. It seem it only works when i am logged in!? hm…

    #1092787

    Hi,
    Thats odd, where did you place the css? Please try in the WordPress > Customize > Additional CSS field.
    Can we have an admin login to see?

    Best regards,
    Mike

    #1092862

    Hi!

    Yes, I placed it in there.
    Yes, you can :-)

    #1092936

    Hi,
    Thank for the login, I see that your css in the Quick CSS, I saved the theme options “save all settings” button one more time, and then checked your element on Firefox, Edge, and Chrome incognito. and the price was not showing.
    Please see the screenshot in Private Content area.
    I also tested logging out in the same window and then checking and the price was not showing, but it does on the product page as you wanted, (second screenshot).
    I assume you are experiencing a cache issue, please try clearing your cache or use incognito.

    Best regards,
    Mike

    #1093008

    Hi!

    Ah, ok :-) Thank you so much :-)

    How can I add some more pages t this script? ;-)
    I wanna hide them on all pages except the shop sites. You know what I mean? ;-)

    All the best,
    Kai

    • This reply was modified 5 years, 7 months ago by vollstark.
    #1093040

    Hi,
    I think we should rewrite it so we are not trying to add individual pages, since you only want the price on “single-product” pages, we should try:

    #top:not(.single-product) .inner_product_header_cell > .price,#top:not(.single-product) .inner_product_header_cell > .woocommerce-de_price_taxrate,#top:not(.single-product) .inner_product_header_cell > .woocommerce_de_versandkosten {
    display: none !important;
    }

    I added this for you, Please clear your browser cache and check.

    Best regards,
    Mike

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