Title: Override variable.php file
Last modified: October 27, 2017

---

# Override variable.php file

 *  [jaak69](https://wordpress.org/support/users/jaak69/)
 * (@jaak69)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/override-variable-php-file/)
 * Hello,
 * Plugin works ok until I copy variable.php file into child theme override folder(…/
   wp-content/themes/storefront-child-theme-master/woocommerce/single-product/add-
   to-cart). After simply copying file (not altering it) radio buttons were changed
   back to dropdown.
 * How can I solve that behavior. I need radio buttons and override variable.php
   file too.
 * Jaak
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Foverride-variable-php-file%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [mantish](https://wordpress.org/support/users/mantish/)
 * (@mantish)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/override-variable-php-file/#post-9630427)
 * I’m not really sure I understand…
    Does the plugin works out of the box? Are 
   you copying the file from the plugin into your child theme?

Viewing 1 replies (of 1 total)

 The topic ‘Override variable.php file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wc-variations-radio-buttons.svg)
 * [WC Variations Radio Buttons](https://wordpress.org/plugins/wc-variations-radio-buttons/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-variations-radio-buttons/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-variations-radio-buttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-variations-radio-buttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-variations-radio-buttons/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mantish](https://wordpress.org/support/users/mantish/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/override-variable-php-file/#post-9630427)
 * Status: not resolved