Changeset 2041626
- Timestamp:
- 02/28/2019 04:06:00 PM (6 years ago)
- Location:
- rockon-woo-variations-table/tags/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rockon-woo-variations-table/tags/6.0/readme.txt
r1830300 r2041626 3 3 Tags: woocommerce, variations, table, rockon, shortcode, vs 4 4 Requires at least: 3.6 5 Tested up to: 4.95 Tested up to: 5.1 6 6 Stable tag: 1.0 7 7 License: GPLv2 or later -
rockon-woo-variations-table/tags/6.0/ron-woo-variations-table.php
r1833219 r2041626 52 52 } else { 53 53 return $product->get_matching_variation( $attributes ); 54 } 55 54 } 56 55 } 57 56 … … 59 58 add_action("wp_ajax_check_choosed_var", "check_choosed_var"); 60 59 add_action("wp_ajax_nopriv_check_choosed_var", "check_choosed_var"); 61 62 60 function check_choosed_var(){ 63 61 … … 87 85 88 86 die(); 89 90 87 } 91 88 … … 95 92 // get values from shortcode 96 93 97 $pro_id = explode(",",$allsets['id']); 98 94 $pro_id = explode(",",$allsets['id']); 99 95 $table_head = explode(",",$allsets['thead']); 100 96 … … 116 112 } 117 113 */ 118 $title = wc_attribute_label( $attribute['name'] ); 119 120 $data_array['att_title'][] = $title; 121 $data_array['product_id'][] = $product->id; 122 114 $title = wc_attribute_label( $attribute['name'] ); 115 $data_array['att_title'][] = $title; 116 $data_array['product_id'][] = $product->id; 123 117 } 124 125 118 } 126 119 … … 189 182 } 190 183 191 natsort($values); 192 184 natsort($values); 193 185 194 186 $data .= '<td class="value"> … … 286 278 } 287 279 }); 288 } 289 280 } 290 281 </script> 291 282 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.