Releases: bigcommerce/bigcommerce-for-wordpress
Releases · bigcommerce/bigcommerce-for-wordpress
3.10.0
Added
- Added an option to enable the mini-cart to the nav menu onboarding screen.
- Added support videos to onboarding screens.
Changed
- Changed product videos to use oEmbed instead of the YouTube API, thereby supporting IE11.
Fixed
- Handled an inconsistency in Channels and Catalog API responses to ensure that deleted products
are removed from WordPress. - Removed erroneous override of product shortcode/block sorting when a sorting argument is explicitly given.
- Updated BigCommerce API client to version 2.0.3 to handle product option sort order.
Deprecated
- Product gallery template overrides based off of the short-lived 3.9.0 template should continue to function,
but should be updated for compatibility with future versions. Templates depending on the YouTube API are deprecated.
3.9.0
Added
- Added the retail price to the product price template. The retail price will only display
when it is set on the product in the BigCommerce admin. - Added support for product videos in the product gallery section. The videos will always be YouTube
videos. We've implemented the YouTube Player API to assist with play and pause features when
switching between multiple videos.- There is a known issue with this YT Player API on IE 11 and videos are currently not playing
in that browser. This will be addressed in the next release.
- There is a known issue with this YT Player API on IE 11 and videos are currently not playing
Changed
DELETE
requests to the WP REST API are now camouflaged asPOST
requests to work around
web hosts that do not allow standard HTTP methods.
Fixed
- Fixed the missing "Cart" section in the theme customizer when visiting the customizer before
first saving any settings in the plugin admin.
3.8.1
Changed
- Updated embedded checkout SDK to version 1.37.1 to better handle failures from the cart handover.
3.8.0
Added
- Created a mini-cart template. There are two ways to display the mini-cart. (1) Use a
widget to display the mini-cart in a registered sidebar area. (2) Activate the toggle
in the theme customizer to display the mini-cart when the cart nav menu icon is clicked.
The contents of the mini-cart will be loaded asynchronously to avoid deleterious effects
on page caching plugins. The mini-cart has its own set of templates that can be customized
independently of the full cart templates. - Added two more WooCommerce function stubs for compatibility with some themes:
wc_get_cart_url()
andwc_get_checkout_url()
. Each will point to the corresponding
BigCommerce page for cart or checkout. Props to @mark-netalico.
Fixed
- Removed an erroneous error message that displayed when updating from version 3.5 or earlier.
If the site's currency matches the store's default currency, no error message should display
that says the currency is disabled.
Changed
- If a product variant has an image, and that variant is purchased, the order history
page will display that variant's image instead of the default product image. - Clarified 3.6.0 changelog entry regarding assignment of currencies to channels.
3.7.0
Added
- When using the WordPress password reset form or updated a user's password from the
WordPress admin, the new password will be synchronized with the BigCommerce customer
account for users who's accounts are configured to sync with BigCommerce. - Added an endpoint to handle abandoned cart recovery. Visitors who abandon their
carts will receive an email with a link that includes a token to recover the cart.
On clicking the link, the cart will be restored in the user's new browser session. - Added new route configurations to point BigCommerce-generated links to pages on the
WordPress site:create_account
points to the user registration pageforgot_password
points to the lost password pageaccount_order_status
points to the order history pageaccount_new_return
points to the shipping & returns pagerecover_abandoned_cart
points to the cart recovery endpoint
Changed
- If a user account is configured to sync with BigCommerce but the customer ID user
meta is missing (as may happen if the BigCommerce plugin has been uninstalled and
reinstalled), a matching customer account may be found by email and used for
password validation.
3.6.0
Added
- Added currency selection to the settings screen. Any currencies enabled in the
BigCommerce admin are available to assign as the currency for the WordPress site.
When in multi-channel mode, different currencies can be assigned to each channel. - Added support for custom SEO titles and descriptions. The SEO title set in the
BigCommerce admin will override the HTML title tag for the product single. The
SEO description set in the BigCommerce admin will be used to render a meta
description tag in the page header. Note: If using Yoast SEO, custom descriptions
set in the Yoast meta box will lead to a duplicate meta tag. To remove the tag
from this plugin, add the following snipped to a theme or plugin:add_action( 'plugins_loaded', function() { remove_action( 'wp_head', bigcommerce()->post_types->product_page_meta_description, 0 ); }, 100, 0 );
- Added support for custom image alt text. The alt text set in the BigCommerce admin will
be imported into WordPress, where WordPress's standard image rendering functions will
use it as the value for thealt
attribute. - Added a new global JS function to the
bigcommerce_config
global JS object. You can now
retrieve the current user's cart ID via JS usingbigcommerce_config.cart.getCartID();
Fixed
- Fixed several locations where "bigcommerce" was misspelled as "bigcomerce" in
text domains, HTML classes, and filter names.
Changed
- On uninstall of the plugin, pages related to the plugin will have "-uninstalled"
appended to their slugs when they are set to draft. If the plugin is reinstalled
later and these pages still exist, they will be republished and "-uninstalled"
will be removed from the slugs. - If a product variant has an image, and that variant is added to the cart, the
cart page will display that variant's image instead of the default product image.
Removed
- Currency formatting settings have been removed. Formatting settings are pulled
from the BigCommerce currencies API. PHP's intl extension will still be used
for formatting if it is available.
3.5.0
Added
- Product pick lists will include a "None" option if that modifier field
is not required. - Added filters to modify the price range and calculated price range of
a product.bigcommerce/product/price_range/data
affects the data
that feeds both. The formatted output can be modified with the filters
bigcommerce/product/price_range/formatted
and
bigcommerce/product/calculated_price_range/formatted
- Added hooks to the initialization of the product importer. Use
bigcommerce/import/task_list
to modify the list of tasks for the import.
Usebigcommerce/import/task_manager/init
to perform additional setup
actions on the task manager (e.g., register more tasks). - Added a control to the theme customizer to toggle display of product
inventory. Inventory can be shown for all products that track inventory,
or only for products with low inventory. Inventory display is filterable
per product using the hookbigcommerce/product/inventory/should_display
. - Added a webhook to listen for completed checkouts. The webhook will trigger
the actionbigcommerce/webhooks/checkout_complete
. - Added support for a omitting products from initial Pricing API calls if they have
a.preinitialized
class added to the pricing DOM node. This will allow 3rd
party plugins/themes to add this CSS class based on their needs/conditions. - Added a toggle in the theme customizer to control display of default
pricing while waiting for Pricing API responses.
Fixed
- Fixed the destination URLs for webhooks, which were missing a path component.
- Fixed display of error messaging when attempting to log in with an
invalid user name. - When running in multi-channel mode, removing a product from one channel
could remove its images that were shared with the same product in another
channel. The images will now stay in place and have their parent post
adjusted to the surviving product.
Changed
- The template
components/products/product-price.php
has two new variables
available:$price_range
and$calculated_price_range
. This allows
filtering of those values beyond what was previously possible. Existing
templates will continue to work with values pulled from the product
on render. - The template
components/products/product-price.php
has a new variable,
$visible
, to use in place of thebc-product__pricing--visible
class.
This controls whether default pricing can be displayed. - Default sorting of the Product post type archive and taxonomy archives
has been changed from "Title A-Z" to "Featured". This can be changed using
thebigcommerce/query/default_sort
filter. - "Featured" sorting now considers the Product's sort order, as set in the
BigCommerce admin. Featured items will appear first, followed by all other
items sorted by sort order. If the sort order for a product is not set,
it is treated as a10
. - The template
components/products/inventory-level.php
has two new variables
available:$status
and$label
. This simplifies the template, while
enabling additional filtering of the values. Existing templates overrides
will continue to work with values pulled from the product on render. - If embedded checkout is disabled, the current customer's cart count
will not display on the cart menu item. The behavior is filterable with
thebigcommerce/cart/menu/show_count
hook. - Pricing API requests for unauthenticated users will use
null
as the
customer group ID, which uses the default guest group, instead of0
,
which uses no group. - When selecting options and modifiers for a product, we're no longer debouncing
the clicks and then disabling the fields while a Pricing API call is made.
Fields remain enabled, and changes will cause previous Pricing API
calls that might be pending to abort.
Deprecated
- The unused constants
\BigCommerce\Cart\Add_To_Cart::CART_COOKIE
and
\BigCommerce\Cart\Add_To_Cart::COUNT_COOKIE
are deprecated and will
be removed in a future version.
Removed
- The filter
bigcommerce/template/product/archive/default_sort
has been removed.
Usebigcommerce/query/default_sort
instead.
3.4.1
Fixed
- The Pricing API request cache did not properly differentiate based on
request parameters, sometimes leading to incorrect prices displaying.
3.4.0
Added
- Created a filter,
bigcommerce/api/ttl
, to control the TTL of the API
response cache. Caches now default to one hour, but can be overridden
per request. Requests to the pricing API no longer force a cache flush. - Added support for sort order on product modifiers. The order will be imported
from BigCommerce and respected when rendering the product form. - Added a step to the import process to delete categories and brands that
were deleted in BigCommerce. This also resolves the issue of a re-created
category getting a numeric suffix on the slug when the new term is created. - Wish Lists
- BigCommerce Wish Lists are now part of user accounts.
- You can create, edit and delete a Wish List as well as add and remove items.
- You and make your list public or private. Private lists cannot be shared
and can only be seen by the list owner. - Shared Wish Lists are presented as a filtered version of the main product
archive. - Deleting a Wish List cannot be undone. You will be given a confirmation
screen before deleting. - Wish Lists are currently product ID based and not quantity based.
Attempting to add the same product to your list will not increase the
quantity nor will it duplicate the product in your list. Only one instance
of a product variant is allowed in a Wish List.
Fixed
- Product categories and brands will now derive their slugs from the
"Custom URL" property set in the BigCommerce admin. If a category name
changes, the WordPress term slug will update to reflect the new name. - Gutenberg blocks were not able to utilize the drag-and-drop feature
due to a conflict with a JS library. This lib has been upgraded and
drag-and-drop functionality has been restored. - Products options and modifiers that contained only a single option would
cause the Cart/Buy button to be disabled permanently. This has been been
fixed. - The user meta key
bigcommerce_nav_settings_initialized
was not correctly
removed when running the plugin uninstaller. This has been fixed. - Removed the product condition from cart and order history when the product
is not configured to display its condition. - Disabled WordPress's kses filters when storing data in the import queue.
This fixes mangled HTML in some circumstances. Post content is still filtered
later in the import. - Upgraded Lodash JS library dependency to the latest version.
Changed
- Refinery template (
components/catalog/refinery.php
) has removed the
wrapper element in favor of the Controller variables. Update your template
as needed. - The Gutenberg Product Component Block now has admin previews that contain
rendered HTML product content for all component types. When a product ID
is not found or is no longer valid, a default message will display letting
you know the product is unavailable on the admin side and the theme side.
Deprecated
- API factory methods for building widget-related clients are deprecated.
Calls toApi_Factory::placement()
,Api_Factory::themeRegions()
, and
Api_Factory::widgetTemplate()
should be replaced withApi_Factory::widget()
.
These methods will be removed in a future version.
3.3.0
3.3.0
Changed
- HTML elements can now be used in all text string filters so long as it
passes the samewp_kses
rules used on comments. Previously, HTML inserted
via filters for text strings was omitted in certain cases.
For instance, on the ajax add to cart message.