Skip to content

Commit 43b47dd

Browse files
committed
packaged version 4.15.0
1 parent c576b79 commit 43b47dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1902
-208
lines changed

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
# Changelog
22

33

4+
## [4.15.0]
5+
6+
### Added
7+
- Added support for partial product import. A dropdown is added next to the Sync Products button with an option to sync only products that have changed since the last sync.
8+
- Added support for channel status. The plugin will not load on the front-end if the channel status is anything other than `active`. Admin area will load but the product import will be allowed only for `active` and `inactive` status.
9+
10+
### Changed
11+
- Updated "Add to Cart" JavaScript functions to use `[data-js="bc-cart-item-count"]` selector instead of `.bigcommerce-cart__item-count`.
12+
13+
### Fixed
14+
- Fixed product page 404 error for logged in user. WP Forum: https://wordpress.org/support/topic/product-page-404-error-for-logged-in-user/
15+
16+
417
## [4.14.1]
518

619
### Fixed
720
- Fixed the product template include logic for WordPress 5.8
821
- Fixed bug introduced in WordPress 5.8 that prevents WordPress Customizer from reacting when changes were made to the Product Catalog "Sort By" options.
922
- Updates add to cart functionality to wait for creation of cart, so multiple add to carts function properly. Fix for: https://github.com/bigcommerce/bigcommerce-for-wordpress/issues/230
1023

24+
1125
## [4.14.0]
1226

1327
### Fixed
@@ -17,6 +31,7 @@
1731
- Fixed cart footer template description and bumped the template version (related github issue: https://github.com/bigcommerce/bigcommerce-for-wordpress/issues/275)
1832
- Fixed javascript error should the pricing API error out (related github issues: https://github.com/bigcommerce/bigcommerce-for-wordpress/issues/226 https://github.com/bigcommerce/bigcommerce-for-wordpress/issues/231)
1933

34+
2035
## [4.13.0]
2136

2237
### Added
@@ -1462,6 +1477,7 @@
14621477
in fact, reset postdata, so far as Gutenberg 3.2.0 is concerned.
14631478

14641479

1480+
[4.15.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.14.1...4.15.0
14651481
[4.14.1]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.14.0...4.14.1
14661482
[4.14.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.13.0...4.14.0
14671483
[4.13.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.12.0...4.13.0
@@ -1471,7 +1487,7 @@
14711487
[4.9.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.8.0...4.9.0
14721488
[4.8.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.7.0...4.8.0
14731489
[4.7.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.6.0...4.7.0
1474-
[4.6.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.5.0...4.6.0
1490+
[4.6.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.5.1...4.6.0
14751491
[4.5.1]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.5.0...4.5.1
14761492
[4.5.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.4.0...4.5.0
14771493
[4.4.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.3.1...4.4.0

assets/css/bc-admin.css

Lines changed: 16 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/bc-admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/gutenberg/scripts.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/gutenberg/scripts.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/scripts.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/scripts.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/scripts.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/scripts.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/src/admin/shortcode-ui/display-settings.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@ const setOrderbyParam = (event, params = {}) => {
8888
return;
8989
}
9090

91-
const orderByParam = params.orderby ? params.orderby.toLowerCase() : 'date';
92-
const field = tools.getNodes(`#bc-shortcode-ui__product-orderby--${orderByParam}`, false, el.displaySettings, true);
91+
const orderByParam = params.orderby ? params.orderby.toLowerCase() : '';
92+
const field = tools.getNodes('#bc-shortcode-ui__product-orderby', false, el.displaySettings, true);
9393

9494
if (field.length === 0) {
9595
return;
9696
}
9797

9898
shortcodeState.wpAPIDisplaySettings.orderby = orderByParam;
99-
field[0].checked = true;
99+
field[0].value = orderByParam;
100100
};
101101

102102
const showHideDefaultSettingsHeader = (active = false) => {
@@ -226,7 +226,7 @@ const cacheElements = () => {
226226
const bindEvents = () => {
227227
delegate(el.displaySettings, '#bc-shortcode-ui__posts-per-page', 'input', setPostsPerPage);
228228
delegate(el.displaySettings, '[name="bc-shortcode-ui__product-order"]', 'click', setOrderParam);
229-
delegate(el.displaySettings, '[name="bc-shortcode-ui__product-orderby"]', 'click', setOrderbyParam);
229+
delegate(el.displaySettings, '[name="bc-shortcode-ui__product-orderby"]', 'change', setOrderbyParam);
230230
delegate(el.displaySettings, '[data-js="bc-shortcode-ui-reset-posts-per-page"]', 'click', resetPostsPerPage);
231231
delegate(el.settingsSidebar, '[data-js="bc-shortcode-ui-remove-term"]', 'click', removeTermOnClick);
232232
on(document, 'bigcommerce/set_shortcode_ui_state', handleSavedUIDisplaySettings);

0 commit comments

Comments
 (0)