Changeset 1865016
- Timestamp:
- 04/26/2018 07:33:29 PM (8 years ago)
- Location:
- grouped-variations-table/trunk
- Files:
-
- 3 edited
-
grouped-variations-table-settings.php (modified) (1 diff)
-
grouped-variations-table.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
grouped-variations-table/trunk/grouped-variations-table-settings.php
r1858033 r1865016 71 71 </td> 72 72 </tr> 73 <tr> 74 <th scope="row"><label for="groupedvartable_option_buttonsenabled">Link Style</label></th> 75 <td> 76 <select id="groupedvartable_option_buttonsenabled" name="groupedvartable_option_buttonsenabled"> 77 <option <?php if(get_option('groupedvartable_option_buttonsenabled') == "link"){ echo "selected";}?> value="link"><?php _e("Link","grouped-variations-table")?></option> 78 <option <?php if(get_option('groupedvartable_option_buttonsenabled') == "button"){ echo "selected";}?> value="button"><?php _e("Button","grouped-variations-table")?></option> 79 </select> 80 </td> 81 </tr> 73 82 74 </table> 83 75 <?php submit_button(); ?> -
grouped-variations-table/trunk/grouped-variations-table.php
r1858033 r1865016 4 4 Plugin URI: https://developer.wordpress.org/plugins/the-basics/ 5 5 Description: Allowing you to group variations in sleak tables on the product page 6 Version: 1. 3.06 Version: 1.4.0 7 7 Author: mnording 8 8 Author URI: https://mnording.com/ … … 146 146 function CreateOutput($tablearray,$buttons = false) 147 147 { 148 148 149 149 150 global $product; … … 181 182 echo "</td>"; 182 183 echo "<td>"; 183 echo "<a "; 184 if($buttons) {echo "class='button' "; } 184 echo "<a class='single_add_to_cart_button button alt' "; 185 185 echo "href='?add-to-cart=".$product->get_id()."&variation_id=".$data["data"]["variation_id"]."&".http_build_query($data["data"]["attributes"])."'>".__("Add to cart","grouped-variations-table")."</a>"; 186 186 187 echo "</td>"; 187 188 echo "</tr>"; … … 194 195 195 196 } 197 do_action( 'woocommerce_after_add_to_cart_button' ); 196 198 echo "</div>"; 197 199 } -
grouped-variations-table/trunk/readme.txt
r1858033 r1865016 7 7 Stable tag: trunk 8 8 License: MIT 9 Version: 1. 2.09 Version: 1.4.0 10 10 License URI: https://opensource.org/licenses/MIT 11 11 … … 22 22 23 23 == Changelog == 24 1.4.0 - removing link style switcher and supporting Google Analytics for Woocommerce Integration 24 25 1.3.0 - Adding link style switcher 25 26 1.2.0 - Changing text domain to support language packs
Note: See TracChangeset
for help on using the changeset viewer.