Skip to content

Commit a513fdc

Browse files
authored
packaged version 4.30.0 (#363)
1 parent 79462ad commit a513fdc

File tree

27 files changed

+297
-42
lines changed

27 files changed

+297
-42
lines changed

CHANGELOG.md

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

3+
## [4.30.0]
4+
5+
### Added
6+
- Allow creating customers from WordPress admin. To add new customer go to wp-admin panel Users -> Add New and create new user with Customer role
7+
8+
### Changed
9+
- Allow using embedded checkout when cart page is disabled. If embedded checkout is enabled customers will proceed to embedded checkout page
10+
- Show inventory level according to selected variant instead of show inventory for whole product. Inventory show option can be enabled via Customizer -> Single product -> Inventory Level setting
11+
12+
### Fixed
13+
- Create customer account on Bigcommerce side during registration process and store customer address
14+
315
## [4.29.0]
416

517
### Added
@@ -1783,6 +1795,7 @@
17831795
in fact, reset postdata, so far as Gutenberg 3.2.0 is concerned.
17841796

17851797

1798+
[4.30.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.29.0...4.30.0
17861799
[4.29.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.28.0...4.29.0
17871800
[4.28.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.27.1...4.28.0
17881801
[4.27.1]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.27.0...4.27.1

assets/css/bc-gutenberg.css

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

assets/css/bc-gutenberg.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/css/master.css

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

assets/css/master.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/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/scripts.min.js

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

assets/js/src/public/product/variants.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,24 @@ const setProductURLParameter = () => {
444444
window.history.replaceState(null, null, updateQueryVar('sku', state.sku));
445445
};
446446

447+
/**
448+
* @function setProductVariantInventory
449+
* @description Update inventory level html for selected variant
450+
*/
451+
const setProductVariantInventory = () => {
452+
if (!state.variantID || !state.sku || !el.singleWrapper || state.singleVariant) {
453+
return;
454+
}
455+
456+
const node = tools.getNodes('.bc-product__inventory-number', true, document, true)[0];
457+
458+
if (!node) {
459+
return;
460+
}
461+
462+
node.textContent = state.maxInventory;
463+
};
464+
447465
/**
448466
* @function validateTextArea
449467
* @description Listen for key presses and validate that the text meets the textarea's restrictions.
@@ -526,6 +544,7 @@ const handleSelections = (e, node = '') => {
526544
buildSelectionArray(instances.selections[productID], optionsContainer);
527545
parseVariants(instances.product[productID], instances.selections[productID]);
528546
setProductURLParameter();
547+
setProductVariantInventory();
529548
setVariantIDHiddenField(formWrapper);
530549
setSelectedVariantPrice(metaWrapper);
531550
setVariantSKU(metaWrapper);

assets/pcss/content/components/_wish-lists.pcss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,10 @@
350350
margin-bottom: 4px;
351351
}
352352

353+
.bc-wish-list-product-row__title {
354+
font-size: 1.6rem;
355+
}
356+
353357
.bc-wish-list-product-row__delete {
354358
font-size: var(--font-size-content-xs);
355359
order: 1;

bigcommerce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: BigCommerce for WordPress
44
Description: Scale your ecommerce business with WordPress on the front-end and BigCommerce on the back end. Free up server resources from things like catalog management, processing payments, and managing fulfillment logistics.
55
Author: BigCommerce
6-
Version: 4.29.0
6+
Version: 4.30.0
77
Author URI: https://www.bigcommerce.com/wordpress
88
Requires PHP: 7.4.0
99
Text Domain: bigcommerce

0 commit comments

Comments
 (0)