Skip to content

1.1.0

Compare
Choose a tag to compare
@bookernath bookernath released this 20 Nov 19:38
· 190 commits to master since this release
4499f28

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. Filters bigcommerce/template/wrapper/tag,
    bigcommerce/template/wrapper/classes, and bigcommerce/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.