Commit 1c81781
committed
Enhances out-of-stock badge customization
Allows greater control over the out-of-stock badge appearance and text within the product loop.
Adds a filter to modify the badge class for flexible styling.
Introduces a filter to customize the badge text independently of the WooCommerce default message.
Adjusts badge top margin when the "read more" button is absent.
Fixes the filter for hiding the "read more" button.1 parent 4e61e92 commit 1c81781
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
72 | | - | |
| 76 | + | |
73 | 77 | | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
| |||
0 commit comments