Home › Forums › Themes Support › Claue › Sale Products
- This topic has 6 replies, 2 voices, and was last updated 6 years ago by Harry.
-
AuthorPosts
-
-
January 9, 2019 at 3:52 am #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.
Regards.
Rahim Vaziri
CEO & Founder at Look.ir -
January 9, 2019 at 6:13 pm #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 -
January 9, 2019 at 7:01 pm #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 -
January 9, 2019 at 8:45 pm #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 -
January 9, 2019 at 11:46 pm #28104
Thank you Harry,
inherit
was too high, not like others, but15px
 worked fine for me like others.Regards.
Rahim Vaziri
CEO & Founder at Look.ir -
January 9, 2019 at 11:48 pm #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 -
January 10, 2019 at 9:03 am #28106
Yes, Rahim.
Thank for share.
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.