Home Forums Themes Support Claue Sale Products

Topic Resolution: Resolved
Viewing 6 reply threads
  • Author
    Posts
    • #28095

      Hi Harry,

      Hope you and the team are having a nice year.

      Long time no hear from you guys. 🙂

      I was looking at my site and realized that when a product goes to out of stock status, if it had sale price, the sale badge is still there, which doesn’t have meaning for a products that is not available for purchase.

      I think it’s not a bad idea to hide the sale badge in listing product pages, and product pages.

      I have hide the price of out of stock products via a function which can be used in the theme too.

      http://prntscr.com/m4me82

      http://prntscr.com/m4meh9

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #28099

      Hi Rahim,

      Thank you for your idea. I implemented for the next update.

      If you want quick fix, please add below code

      .outofstock .badge .onsale {
      	display: none;
      }

      Kind regards and have nice year too 🙂

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #28101

      Thank you so much Harry,

      After hiding that we should bring up the sold out message like the others

      Look here: http://prntscr.com/m4vfxx

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #28102

      Hi Rahim,

      Please add below code

      .badge .onsale + .sold-out {
      	top:  inherit;
      }

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #28104

      Thank you Harry,

      inherit was too high, not like others, but 15px worked fine for me like others.

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #28105

      I think the 15px is the place of the sale badge so after hiding that, the sold out badge should be replaced with that.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #28106

      Yes, Rahim.

      Thank for share.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 6 reply threads

You must be logged in to reply to this topic.