Plugin Directory

Changeset 2041626


Ignore:
Timestamp:
02/28/2019 04:06:00 PM (6 years ago)
Author:
devikas301
Message:

tested with latest WP version

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  
    33Tags:               woocommerce, variations, table, rockon, shortcode, vs
    44Requires at least:  3.6
    5 Tested up to:       4.9
     5Tested up to:       5.1
    66Stable tag:         1.0
    77License:            GPLv2 or later
  • rockon-woo-variations-table/tags/6.0/ron-woo-variations-table.php

    r1833219 r2041626  
    5252    } else {   
    5353        return $product->get_matching_variation( $attributes );
    54     }
    55    
     54    }   
    5655}
    5756
     
    5958add_action("wp_ajax_check_choosed_var", "check_choosed_var");
    6059add_action("wp_ajax_nopriv_check_choosed_var", "check_choosed_var");
    61 
    6260function check_choosed_var(){
    6361   
     
    8785
    8886  die();
    89 
    9087}
    9188
     
    9592   // get values from shortcode
    9693 
    97    $pro_id = explode(",",$allsets['id']);
    98    
     94   $pro_id = explode(",",$allsets['id']);   
    9995   $table_head = explode(",",$allsets['thead']);
    10096 
     
    116112                }
    117113                */
    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;
    123117    }
    124 
    125118   }
    126119 
     
    189182                }
    190183   
    191                 natsort($values);
    192                
     184                natsort($values);               
    193185       
    194186        $data .= '<td class="value">
     
    286278         }
    287279       });   
    288   }
    289  
     280  } 
    290281</script>
    291282<?php } ?>
Note: See TracChangeset for help on using the changeset viewer.