Title: variable.js(v5.8.2) fifuVariableVars.attribute_map is empty
Last modified: August 29, 2022

---

# variable.js(v5.8.2) fifuVariableVars.attribute_map is empty

 *  Resolved [wr200m](https://wordpress.org/support/users/wr200m/)
 * (@wr200m)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/variable-jsv5-8-2-fifuvariablevars-attribute_map-is-empty/)
 * On this page, if you click on any of the product attributes, they can’t be selected
   and the top of the stack shows: at HTMLSelectElement.<anonymous> (variable.js?
   ver=5.8.2:14:64)
 * A bit of a background: I use woocommerce api to submit this variable product 
   following the FIFU documentation on variable product and product variation with
   two API calls: first to create a variable product with all predefined attributes
   and terms, and second to create the product variation. My attributes for product
   variation is empty, i.e., ‘attributes’ = [] to indicate that this variation applies
   to any case material and any phone model while my attributes for the variable
   product included the id/name/visible/variation/options keys/values.
 * The product loads up fine. But whenever I click on any of the attributes I would
   get the above error.
 * The funny thing is: if I go into Woocommerce admin to manually edit the product,
   by deleting the programtically created variation and re-create it by hand, then
   the product loads up fine and clicking on the attributes also works now.
 * I exported the jsons of the product before and after I made that manual deletion
   and recreation of the product variation, and compared the two jsons – not much
   of a difference in structure and in value. But somehow the FIFU seems to depend
   on my setting up product variation by hand. All my other manually products are
   working fine with clickable and functioning attribute buttons, Only programatically
   uploaded products have this problem.
 * Please help. Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvariable-jsv5-8-2-fifuvariablevars-attribute_map-is-empty%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [fifu.app](https://wordpress.org/support/users/marceljm/)
 * (@marceljm)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/variable-jsv5-8-2-fifuvariablevars-attribute_map-is-empty/#post-15957840)
 * Hi, [@wr200m](https://wordpress.org/support/users/wr200m/).
 * You’re NOT using our free version so, by the forum guidelines, we can’t answer
   you here. You’ve sent us an email as well and you’ll receive support there. Thanks
   for understanding.

Viewing 1 replies (of 1 total)

The topic ‘variable.js(v5.8.2) fifuVariableVars.attribute_map is empty’ is closed
to new replies.

 * ![](https://ps.w.org/featured-image-from-url/assets/icon-256x256.png?rev=2776609)
 * [Featured Image from URL (FIFU)](https://wordpress.org/plugins/featured-image-from-url/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-image-from-url/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-image-from-url/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-image-from-url/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-image-from-url/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-image-from-url/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [fifu.app](https://wordpress.org/support/users/marceljm/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/variable-jsv5-8-2-fifuvariablevars-attribute_map-is-empty/#post-15957840)
 * Status: resolved