Your Uncommonly Amazing WordPress Tech Partner

Changing WooCommerce default dropdown to colored buttons

colored buttons

Overview

You might wonder how you can transform the default variation dropdown from WooCommerce with a custom variation input with colors for example.

In other words you might want to transform something that looks like this:

Image at PM

To something that looks like this:

Image at PM

That might sound harder to accomplish than it actually is. Here you have a step by step guide on how to get that custom look with the colored buttons.

Solution

1 – You need to get a plugin for variation swatches, our recommendation would be WooCommerce Variation Swatches but there are multiple options of plugins. We also tried Variation Swatches for WooCommerce but in our case, it wasn't as effective as we needed it to be since it had some design issues. Here you have a screenshot to see how the plugin that we recommend looks in the WordPress plugin marketplace:

Add Plugins ‹ SLYK — WordPress

2 – Now that we have the plugin installed and activated we can get straight to configuring our WooCommerce Attributes to have our custom buttons. To do that you would need to go to Product -> Attributes in your WordPress dashboard:

Dashboard ‹ SLYK — WordPress

3 – Here we will have to edit our attribute, in our case “Colour”:

cae c abe e b a c d d Image at PM

4 – Here you click the “Type” dropdown and select the type that you need for your attribute, in our case “Color”. And press the “Update” button:

e d ed f accfb Image at PM

5 – Now we have to get back to the Attributes page and press “Configure terms”:

a d fdafc eb fbae a f Image at PM

6 – Here we have to edit our Attributes to select its own unique styling. In our case, its own color:

d ee d d d be d c e a Image at PM

7 – Now we have to press “Select color” and select our color then press “Update”:

a b b e ff fea e Image at PM

8 – Repeat the last 2 steps for every term that your attribute has and then you should have custom looking variations globally in your shop.

In Conclusion

Is it such a hard and complicated process to have your custom designed buttons on the shop page? Let us know in the comments.

You may also enjoy...

WordPress based membership sites have certain requirements, and make use of certain applications that, in my experience, makes most of the popular hosting providers a poor choice.
Most membership plugins integrate with email marketing apps in a “shallow” way. This new “deep” integration trend is changing everything…
If you need to use CCBill to accept payments for your membership site, this guide will show you how you can do that…
Learn how to use Memberoni’s shortcodes to upgrade your members area look & feel. Live examples included!

Leave a Reply

Your email address will not be published. Required fields are marked *