Releases: bigcommerce/bigcommerce-for-wordpress
2.0.1
Fixed
- Handled the new firing order of block-editor related hooks in transitioning
from the Gutenberg plugin to WordPress 5.0+. This fixes a PHP warning
and some odd behavior from other plugins that register meta areas
for the block editor.
2.0.0
Added
- Added new links and buttons to the Products custom post type edit screen
and the BigCommerce Settings page for managing your products on BigCommerce
and logging in to your account - Added a Resources page to the BigCommerce admin section. The Resources page
contains tab separated content that provides users with a repository of
themes, plugins, apps, and support links to enhance or extend their
BigCommerce for WordPress installation. - Added an option to create a new menu in addition to selecting a preexisting
menu on the Menu Select screen during on-boarding. - Added an option to configure channel settings for new products during
on-boarding. The channel selection screen is always shown now, even
for new accounts that don't yet have a channel. - Added an option to the on-boarding process to choose between a
full-featured store and one directed more towards bloggers. This
sets default settings depending on your choice. - Added a filter for customer profile fields fetched from the API:
bigcommerce/customer/empty_profile
- Added a filter to wrap the output of a template. Can be used to prepend
or append content to the template:
bigcommerce/template={$template}/output
- Added a template for the checkout button on the cart
Changed
-
Updated the error handling and response messages related to the product
sync feature. We now provide more information to the user based on the
type of error that has occurred. -
Added the product SKU to post meta, so that catalog searches can use
WordPress meta queries. -
If the option to automatically add products to the channel is disabled,
it will be honored even on the initial import when the channel has no
products. -
Removed product pick list options for products that are out of stock.
-
Changed how option and modifier fields are rendered and treated on
the product single and Quick View modals. Modifiers using select/radio
fields are now supported, using the same templates as the option fields.NOTE: Please take note of the changes to the option field templates and
adjust your custom templates as needed.components/modifier-types/modifier-checkbox.php
→components/option-types/option-checkbox.php
components/modifier-types/modifier-date.php
→components/option-types/option-date.php
components/modifier-types/modifier-number.php
→components/option-types/option-number.php
components/modifier-types/modifier-text.php
→components/option-types/option-text.php
-
The template
components/cart/cart-actions.php
now takes an array of
rendered$actions
that will be echoed into the template. -
The template
components/products/product-card.php
requires a new
attribute on the Quick View template wrapper:data-quick-view-script=""
Fixed
- Fixed a typo on the Create New Account screen during on-boarding
- Fixed an issue with Quick View modal boxes in product cards where removing
the quick-view feature would break the JS and the page. - The nonce for an ajax import request is validated before triggering the
import cron action. - Fixed an extra quote rendered in template wrappers.
- Fixed Flatpickr library issue with quick-view modal. NOTE: This changes the position
of the date picker to inline with the date field. Update your CSS as needed.
Deprecated
- The
modifiers
parameter to the cart REST controller is no longer used
and will be removed in a future version. - The
modifiers
variable in the templatecomponents/products/product-form.php
is no longer used and will be removed in a future version. - The template
components/products/product-modifiers.php
is no longer used.
1.6.0
Added
- Added a Menu Setup screen to the onboarding flow, giving merchants an
opportunity to quickly add BigCommerce menu items to their navigation menu. - A "Start Over" button is available in the onboarding screens, enabling
the merchant to go back to the beginning of the account connection process. - All option caches are flushed before and after running an import batch
to avoid cache corruption from longer-running processes. - The import log records more extensive debugging information. Use the
bigcommerce/logger/level
filter to change the logging level. - Added hooks to render HTML inside the form tags on the plugin settings pages.
- Added child categories to the filter options in the product block/shortcode UI.
Changed
- The import debug log moved from
uploads/logs/bigcommerce/import.log
to
uploads/logs/bigcommerce/debug.log
.
Fixed
- Cleaned up a small memory leak in the product block/shortcode UI pagination.
- Fixed the check for an expired import lock when running an import via ajax.
- Fixed arguments to Channel Listings API requests to ensure that all products
are returned even with larger batch sizes. - Fixed a fatal error when intializing an import on PHP 7.0+.
1.5.0
Added
- The product selection popup in the admin for the products shortcode/Gutenberg
block will now load additional pages of products as you scroll past the initially
loaded products matching your query. - When completing an embedded checkout, the customer's cart cookie is now
cleared out so the cart menu item no longer shows items in the cart. - Product Categories and Brands have new dynamic nav menu items to show top
level terms in those taxonomies. - Added synchronization back to BigCommerce when updating the Google Analytics
tracking ID when GAEE is enabled. - Added product categories and thumbnails to the admin list table for Products.
- Product Categories and Brands are visible (but not editable) in the WordPress admin.
Fixed
- Fixed a JavaScript console error when initializing Gutenberg blocks, when
some of those blocks should be disabled. - Fixed the broken cancel button when reloading the customer address form
after validation errors. - Fixed styles in the products Gutenberg block, because WordPress doesn't
call it Gutenberg anymore. - Fixed broken synchronization of Facebook Pixel configuration between WordPress
and BigCommerce. - The product sync should no longer show a success message if an import failed.
- Fixed the featured image displayed for gift certificates in a customer's order history.
- Removed the "Required" asterisk from the Company Name field in the address form.
It is not, in fact, required.
Changed
- Changed the polling logic for the product import to prevent running multiple
requests at the same time from a single browser window. - The Product Category dropdown on the Products archive will now show hierarchical
terms nested under their parents.
1.4.2
Fixed
- Fixed inconsistent defaults for ajax cart setting.
1.4.1
Fixed
- Fixed PHP fatal error that would occur intermittently when adding items
to the cart.
1.4.0
Added
- On sites where the official AMP plugin for WordPress is active and SSL is not enabled,
added an admin notice on the settings page informing users some features won't work
correctly without HTTPS. - In AMP, added cart item count indicator to nav menu item linking to Cart page
- Option to use Ajax to add products to the customer's cart
- Added the BigCommerce product ID to the products list in the WordPress admin
- Option to control the import batch size
Fixed
- Fixed icons not loading correctly in AMP templates.
- Fixed as issue with product variants not working on single product shortcodes.
- Fixed an issue with field labels and IDs colliding when products are duplicated on
the same page. All clicks would control the first product on the page. - Fixed click behavior on product galleries
- Fixed bug allowing an import to start (and fail) before setting up a channel
- Fixed 1970 dates showing on order history when orders had not been shipped
- Fixed bug that ignored the minimum quantity requirements when adding a product to the cart
from a product card. - Fixed an issue with pagination ajax on shortcode product groups.
Changed
- Updated BigCommerce v3 API client library to version 1.3.0. Parameters
have changed on most methods to accept an array of arguments instead of
a long parameter list. - Refactored import task registration to use a filterable list. Instances
ofTask_Definition
should be registered with theTask_Manager
with an
appropriate priority to control the order of operations. - Changed the action that triggers each step of the import. It now uses the
bigcommerce/import/run
hook, with the current status as the first parameter,
replacing the formerbigcommerce/import/run/status={$current_status}
. - Separated category and brand imports into separate import steps, allowing
for bulk queries and reducing the number of API requests required to import
a product. - Reorganized classes related to the API import process.
1.3.0
Added
- Added templates, styles, and plugin logic for compatibility with the Official AMP
Plugin for Wordpress, through version 1.0. Themes still need to be made AMP-compatible
if not using AMP classic mode. - Added REST endpoints to proxy several BigCommerce API endpoints, including catalog,
channels and cart. Most requests are cached for ten minutes by default. - Added creation and handling of a BigCommerce webhook to bust cached proxy data
related to a product when the product is updated in BigCommerce.
1.2.0
Added
- Product prices will update dynamically to reflect the price of the selected variant.
- Reintroduced the ability to set API credentials without using the connector app.
- Added logs for import errors, viewable through the plugin diagnostics section
on the plugin settings screen. - Added support for links directly to product variants.
- The import process will continue to run via ajax requests while an admin is
on the plugin settings screen. This can speed up import processing on sites
that depend on WordPress cron jobs for the import.
Changed
- Refactored Gutenberg block registration to re-use code and allow more
configuration when registering the blocks in PHP. - Font sizes use relative units instead of pixels.
- Increased quantity field width to accommodate three digits.
Fixed
- Fixed compatibility with newer (4.4+) versions of Gutenberg.
- Updated the
$_COOKIE
superglobal immediately on setting the cart cookie. - Fixed a PHP error when the BigCommerce tax class API returns an invalid value.
- Added decimal precision to price sorting queries, fixing sorting for products
that round to the same integer value. - Improved accessibility and keyboard navigation on the plugin settings screen.
1.1.0
Added
- Created a new template tag, shortcode, and block for displaying product reviews.
Shortcode usage:[bigcommerce_reviews id={product ID}]
. Template tag
usage:echo \BigCommerce\Functions\product_reviews( $product_id );
- Added a plugin diagnostics section to the settings screen.
- Added a static method to retrieve a Product object by product ID. Usage:
$product = \BigCommerce\Posts_Types\Product\Product::by_product_id( $product_id );
Changed
- Template may now have a wrapper HTML element that cannot be modified with
a template override. This wrapper is defined in the template controller
class associated with the template. Filtersbigcommerce/template/wrapper/tag
,
bigcommerce/template/wrapper/classes
, andbigcommerce/template/wrapper/attributes
are available to modify this wrapper. Modification may break JavaScript
provided by the plugin. We have added comments next to other HTML
elements that are required to maintain JS functionality.
Fixed
- Better error handling when the OAuth connector gives unexpected responses.