Title: Variation replacement capability
Last modified: November 16, 2022

---

# Variation replacement capability

 *  [Hozefa Saleh](https://wordpress.org/support/users/hozefasmile/)
 * (@hozefasmile)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/variation-replacement-capability/)
 * You provide an easy interface to create variations of any block. For example 
   I frequently use it for creating variations of button block. For example different
   sized, different color and layout etc.
 * But one functionality missing is that we can’t replace one variation with the
   another. For example if you see group block, there comes two variation row and
   stack, you can easily change from one variation to another anytime.
 * But when I create new variation using your plugin for button, I can’t change 
   already created button from one variation to another variation, for example if
   I have create blue button variation and I want to change that same button to 
   red button variation there is no such option, I just have to create a new button
   with that red button variation and have to delete the blue variation one.
 * Can you provide switching capabilities to the block variations?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/variation-replacement-capability/#post-16206601)
 * I’ll look into it soon, thank you [@hozefasmile](https://wordpress.org/support/users/hozefasmile/)
   for your suggestion.
 * Phi.
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/variation-replacement-capability/#post-16216102)
 * Hi [@hozefasmile](https://wordpress.org/support/users/hozefasmile/),
    This feature
   has been added to the latest version 2.2.22. There is some limit in the core 
   API for transforming variations so it is not fully supported for container block
   types, but it works great with simple block types such as heading, paragraph,
   button, list, quote, etc. Thank you for your feedback, again. Please keep reporting
   issues and suggestions.
 * Phi.
 *  Thread Starter [Hozefa Saleh](https://wordpress.org/support/users/hozefasmile/)
 * (@hozefasmile)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/variation-replacement-capability/#post-16216310)
 * Hi [@mr2p](https://wordpress.org/support/users/mr2p/) ,
    I am not able to find
   out how I can utilize this new feature added by you? Where you have added the
   setting for replacing the block with another variation? For example in button.
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/variation-replacement-capability/#post-16216378)
 * [@hozefasmile](https://wordpress.org/support/users/hozefasmile/) I’m sorry, I’ve
   forgotten to guide you on how to use it.
    The default setting for a variation
   is it can not be transformable. You have to turn on that feature by toggling 
   on a setting name “Is transformable?” in the edit screen for a variation.
 *  Thread Starter [Hozefa Saleh](https://wordpress.org/support/users/hozefasmile/)
 * (@hozefasmile)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/variation-replacement-capability/#post-16216408)
 * hummm, got it but still has one missing feature, we can’t choose in the variation
   the default button instead of your variations. I mean in the variation list to
   choose there also needed the default button choice(which we set in theme.json
   file)
    -  This reply was modified 3 years, 6 months ago by [Hozefa Saleh](https://wordpress.org/support/users/hozefasmile/).
 *  Plugin Author [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * (@mr2p)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/variation-replacement-capability/#post-16216426)
 * That’s the default behavior of Gutenberg. I only use the core API. You may have
   to create a variation for it and set it as the default one. I’ll look into it
   further if you find any about that stuff please share it with me.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Variation replacement capability’ is closed to new replies.

 * ![](https://ps.w.org/content-blocks-builder/assets/icon.svg?rev=2605258)
 * [Content Blocks Builder - Create blocks, repeater blocks with carousel, grid, popup layouts](https://wordpress.org/plugins/content-blocks-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-blocks-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-blocks-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/content-blocks-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-blocks-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-blocks-builder/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Phi Phan](https://wordpress.org/support/users/mr2p/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/variation-replacement-capability/#post-16216426)
 * Status: not a support question