Descrizione
WC Simple Product Badge creates three new custom fields in the WooCommmerce product meta admin panel. One is for the message you’d like displayed on the badge, the second is for an optional css class, and the third is the number of days the badge will be displayed. On the site, the text is displayed as a badge overlay on the WooCommerce store product image for the amount of time determined by the user. Some basic styling for the badge is included by default as well as some optional classes (e.g. orange, yellow, blue, green, purple, and black) to change the background color of the badge.
Screenshot
Installazione
- Upload
wc-simple-product-badge
to the/wp-content/plugins/wc-simple-product-badge
directory or install the plugin through the WordPress plugins screen. - Attiva il plugin tramite la schermata ‘Plugins’ di WordPress.
- WooCommerce Product Details section will now include a field for the badge title, badge class, and duration.
- Fatto!
FAQ
- How do I style the badge?
-
Out of the box, there are only a few styles applied to the badge using the ‘wc_simple_product_badge’ class. If you’d like to add to those styles you can create your own css rules using that class or use your own class by adding it using the “Badge Class” field.
- How do I set the duration for the badge?
-
Include the number of days that you’d like to display the badge in the custom field titled “Duration” within the product details. Please note that the duration timeframe is based off of the date and time that the product was published.
Recensioni
Non ci sono recensioni per questo plugin.
Contributi e sviluppo
“WC Simple Product Badge” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.
CollaboratoriTraduci “WC Simple Product Badge” nella tua lingua.
Ti interessa lo sviluppo?
Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.
Changelog (registro delle modifiche)
1.0
Release iniziale
1.1
Defined an absolute path for use when loading the stylesheet