Restyling the 'Order Sample' button
The 'Order Sample' button in the WooCommerce Product Sample plugin lets you add a sample to the cart. It is styled as follows:
- If the WordPress theme you are using contains styling for an alternate button style, then this will be used.
- If no alternate button styling is available, then the plugin will reverse the colors of the default add to cart button. This ensures that the 'Order Sample' button always looks different from the main add to cart button next to it, and always matches your theme. For example, if the add to cart button is blue with yellow text then the sample button will be yellow with blue text.
You can use custom CSS to restyle the 'Add Sample' button as required.