Forums › Forums › Search & Filter Pro › Filter values of Product Add-ons fields?
Tagged: woocommerce
- This topic has 13 replies, 2 voices, and was last updated 5 years, 9 months ago by Anonymous.
-
Anonymous(Private) January 31, 2019 at 2:29 pm #200719
wp_postmeta table contains one row where the information is, but also contains ten empty ones.
empty ones look like this:
(275, 72, '_product_addons', 'a:0:{}'),
this one contains the information:
(212, 69, '_product_addons', 'a:4:{i:0;a:16:{s:4:\"name\";s:6:\"Leveys\";s:12:\"title_format\";s:5:\"label\";s:18:\"description_enable\";i:0;s:11:\"description\";s:0:\"\";s:4:\"type\";s:15:\"multiple_choice\";s:7:\"display\";s:6:\"select\";s:8:\"position\";i:0;s:8:\"required\";i:1;s:12:\"restrictions\";i:0;s:17:\"restrictions_type\";s:8:\"any_text\";s:12:\"adjust_price\";i:0;s:10:\"price_type\";s:8:\"flat_fee\";s:5:\"price\";s:0:\"\";s:3:\"min\";d:0;s:3:\"max\";d:0;s:7:\"options\";a:2:{i:0;a:4:{s:5:\"label\";s:6:\"120 cm\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}i:1;a:4:{s:5:\"label\";s:6:\"240 cm\";s:5:\"price\";s:2:\"50\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:14:\"quantity_based\";}}}i:1;a:16:{s:4:\"name\";s:7:\"Korkeus\";s:12:\"title_format\";s:5:\"label\";s:18:\"description_enable\";i:0;s:11:\"description\";s:0:\"\";s:4:\"type\";s:11:\"custom_text\";s:7:\"display\";s:6:\"select\";s:8:\"position\";i:1;s:8:\"required\";i:1;s:12:\"restrictions\";i:0;s:17:\"restrictions_type\";s:12:\"only_numbers\";s:12:\"adjust_price\";i:0;s:10:\"price_type\";s:14:\"quantity_based\";s:5:\"price\";s:1:\"5\";s:3:\"min\";d:0;s:3:\"max\";d:0;s:7:\"options\";a:1:{i:0;a:4:{s:5:\"label\";s:0:\"\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}}}i:2;a:16:{s:4:\"name\";s:13:\"Kiinnitystapa\";s:12:\"title_format\";s:5:\"label\";s:18:\"description_enable\";i:0;s:11:\"description\";s:0:\"\";s:4:\"type\";s:15:\"multiple_choice\";s:7:\"display\";s:6:\"select\";s:8:\"position\";i:2;s:8:\"required\";i:1;s:12:\"restrictions\";i:0;s:17:\"restrictions_type\";s:8:\"any_text\";s:12:\"adjust_price\";i:0;s:10:\"price_type\";s:8:\"flat_fee\";s:5:\"price\";s:0:\"\";s:3:\"min\";d:0;s:3:\"max\";d:0;s:7:\"options\";a:3:{i:0;a:4:{s:5:\"label\";s:8:\"Kiristys\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}i:1;a:4:{s:5:\"label\";s:9:\"Kiinnitys\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}i:2;a:4:{s:5:\"label\";s:8:\"Ripustus\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}}}i:3;a:16:{s:4:\"name\";s:5:\"Väri\";s:12:\"title_format\";s:5:\"label\";s:18:\"description_enable\";i:0;s:11:\"description\";s:0:\"\";s:4:\"type\";s:15:\"multiple_choice\";s:7:\"display\";s:6:\"select\";s:8:\"position\";i:3;s:8:\"required\";i:1;s:12:\"restrictions\";i:0;s:17:\"restrictions_type\";s:8:\"any_text\";s:12:\"adjust_price\";i:0;s:10:\"price_type\";s:8:\"flat_fee\";s:5:\"price\";s:0:\"\";s:3:\"min\";d:0;s:3:\"max\";d:0;s:7:\"options\";a:6:{i:0;a:4:{s:5:\"label\";s:9:\"Keltainen\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}i:1;a:4:{s:5:\"label\";s:7:\"Sininen\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}i:2;a:4:{s:5:\"label\";s:7:\"Vihreä\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}i:3;a:4:{s:5:\"label\";s:6:\"Harmaa\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}i:4;a:4:{s:5:\"label\";s:5:\"Musta\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}i:5;a:4:{s:5:\"label\";s:9:\"Valkoinen\";s:5:\"price\";s:0:\"\";s:5:\"image\";s:0:\"\";s:10:\"price_type\";s:8:\"flat_fee\";}}}}'),
-
AuthorPosts