Skip to content

Commit

Permalink
Merge pull request #11 from moderntribe/release/0.8.0
Browse files Browse the repository at this point in the history
packaged version 0.8.0 from c033241bd2b48a8858e960f14e1d5fb02abeca1d
  • Loading branch information
bookernath committed Jun 27, 2018
2 parents 264b503 + 14fd49b commit ad17709
Show file tree
Hide file tree
Showing 82 changed files with 2,971 additions and 1,111 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Plugin Setup

Download the latest plugin version: https://goo.gl/NxaSXv

As with any WordPress plugin, upload the plugin ZIP file to the
`plugins` directory and activate via the WordPress admin or WP-CLI.

Expand Down Expand Up @@ -280,6 +282,10 @@ TODO: A comprehensive list of hooks is available in the code reference.

## GPL License

BigCommerce for WordPress is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
BigCommerce for WordPress is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.

BigCommerce for WordPress is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
BigCommerce for WordPress is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
50 changes: 0 additions & 50 deletions admin-views/product-card.php

This file was deleted.

63 changes: 43 additions & 20 deletions admin-views/query-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,55 +17,78 @@
?>

<aside class="bc-shortcode-ui__selectors" role="complementary">
<figure class="bc-shortcode-ui__logo" aria-label="<?php esc_attr_e( 'BigCommerce Product Query Builder', 'bigcommerce' ); ?>"></figure>
<figure
class="bc-shortcode-ui__logo"
aria-label="<?php esc_attr_e( 'BigCommerce Product Query Builder', 'bigcommerce' ); ?>"
></figure>

<ul class="bc-shortcode-ui__query-builder-list" data-js="bcqb-list">
<li class="bc-shortcode-ui__query-builder-list-item">
<a href="#" class="bc-shortcode-ui__query-builder-anchor"
data-key="recent"
data-value="1"><?php esc_html_e( 'Recent', 'bigcommerce' ); ?></a>
<a
href="#"
class="bc-shortcode-ui__query-builder-anchor"
data-key="recent"
data-value="1"
data-slug="<?php esc_html_e( 'recent', 'bigcommerce' ); ?>"
><?php esc_html_e( 'Recent', 'bigcommerce' ); ?></a>
</li>
<?php if ( $featured ) { ?>
<li class="bc-shortcode-ui__query-builder-list-item">
<a href="#" class="bc-shortcode-ui__query-builder-anchor"
data-key="<?php echo esc_attr( Flag::NAME ); ?>"
data-value="<?php echo intval( $featured->term_id ); ?>"><?php esc_html_e( 'Featured', 'bigcommerce' ); ?></a>
<a
href="#"
class="bc-shortcode-ui__query-builder-anchor"
data-key="<?php echo esc_attr( Flag::NAME ); ?>"
data-value="<?php echo intval( $featured->term_id ); ?>"
data-slug="<?php echo esc_attr( $featured->slug ); ?>"
><?php esc_html_e( 'Featured', 'bigcommerce' ); ?></a>
</li>
<?php } ?>
<?php if ( $sale ) { ?>
<li class="bc-shortcode-ui__query-builder-list-item">
<a href="#" class="bc-shortcode-ui__query-builder-anchor"
data-key="<?php echo esc_attr( Flag::NAME ); ?>"
data-value="<?php echo intval( $sale->term_id ); ?>"><?php esc_html_e( 'On Sale', 'bigcommerce' ); ?></a>
<a
href="#"
class="bc-shortcode-ui__query-builder-anchor"
data-key="<?php echo esc_attr( Flag::NAME ); ?>"
data-value="<?php echo intval( $sale->term_id ); ?>"
data-slug="<?php echo esc_attr( $sale->slug ); ?>"
><?php esc_html_e( 'On Sale', 'bigcommerce' ); ?></a>
</li>
<?php } ?>
<?php if ( $brands ) { ?>
<li class="bc-shortcode-ui__query-builder-list-item">
<li class="bc-shortcode-ui__query-builder-list-item" data-js="bcqb-parent-list-item">
<button type="button" class="bc-shortcode-ui__query-builder-toggle" data-js="bcqb-has-child-list">
<?php esc_html_e( 'Brands', 'bigcommerce' ); ?> <i class="bc-icon
icon-bc-arrow-toggle"></i></button>
<?php esc_html_e( 'Brands', 'bigcommerce' ); ?> <i class="bc-icon icon-bc-arrow-toggle"></i>
</button>
<ul class="bc-shortcode-ui__query-builder-child-list">
<?php foreach ( $brands as $term ) { ?>
<li class="bc-shortcode-ui__query-builder-list-item">
<a href="#" class="bc-shortcode-ui__query-builder-anchor"
data-key="<?php echo esc_attr( Brand::NAME ); ?>"
data-value="<?php echo intval( $term->term_id ); ?>"><?php echo esc_html( $term->name ); ?></a>
<a
href="#"
class="bc-shortcode-ui__query-builder-anchor"
data-key="<?php echo esc_attr( Brand::NAME ); ?>"
data-value="<?php echo intval( $term->term_id ); ?>"
data-slug="<?php echo esc_attr( $term->slug ); ?>"
><?php echo esc_html( $term->name ); ?></a>
</li>
<?php } ?>
</ul>
</li>
<?php } ?>
<?php if ( $categories ) { ?>
<li class="bc-shortcode-ui__query-builder-list-item">
<li class="bc-shortcode-ui__query-builder-list-item" data-js="bcqb-parent-list-item">
<button type="button" class="bc-shortcode-ui__query-builder-toggle" data-js="bcqb-has-child-list">
<?php esc_html_e( 'Categories', 'bigcommerce' ); ?> <i class="bc-icon icon-bc-arrow-toggle"></i>
</button>
<ul class="bc-shortcode-ui__query-builder-child-list">
<?php foreach ( $categories as $term ) { ?>
<li class="bc-shortcode-ui__query-builder-list-item">
<a href="#" class="bc-shortcode-ui__query-builder-anchor"
data-key="<?php echo esc_attr( Product_Category::NAME ); ?>"
data-value="<?php echo intval( $term->term_id ); ?>"><?php echo esc_html( $term->name ); ?></a>
<a
href="#"
class="bc-shortcode-ui__query-builder-anchor"
data-key="<?php echo esc_attr( Product_Category::NAME ); ?>"
data-value="<?php echo intval( $term->term_id ); ?>"
data-slug="<?php echo esc_attr( $term->slug ); ?>"
><?php echo esc_html( $term->name ); ?></a>
</li>
<?php } ?>
</ul>
Expand Down
12 changes: 11 additions & 1 deletion assets/css/bc-gutenberg.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/bc-gutenberg.min.css

Large diffs are not rendered by default.

21 changes: 20 additions & 1 deletion assets/css/master.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/master.min.css

Large diffs are not rendered by default.

755 changes: 436 additions & 319 deletions assets/js/dist/admin/gutenberg/scripts.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/js/dist/admin/gutenberg/scripts.min.js

Large diffs are not rendered by default.

670 changes: 369 additions & 301 deletions assets/js/dist/admin/scripts.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/js/dist/admin/scripts.min.js

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions assets/js/dist/admin/vendor.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/js/dist/admin/vendor.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ad17709

Please sign in to comment.