Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Latest commit

 

History

History
69 lines (44 loc) · 3.15 KB

File metadata and controls

69 lines (44 loc) · 3.15 KB

📣 Announcement: New documentation location

The documentation for WooCommerce Blocks has moved to the WooCommerce monorepo.

Please refer to the documentation in the new location as the files in this repository will no longer be updated and the repository will be archived.


Testing notes and ZIP for release 4.3.0

Zip file for testing: woocommerce-gutenberg-products-block.zip

Feature plugin and package inclusion in WooCommerce core

No changes.

Feature plugin only

- Update input colors and alignment. (3597)

  1. Open a page with a Checkout Block and observer the checkboxes and radio buttons - they should be clearly visible.
  2. Go to the page Customizer and change page background to a dark color.
  3. Again check the checkboxes and radio buttons at the page with the Checkout Block - they should be clearly visible.

- Store API - Fix selected rate in cart shipping rates response. (3680)

  1. Get a cart response from the API.
  2. Check shipping packages are returned correctly.

- Create get_item_responses_from_schema abstraction. (3679)

  1. Get a cart response from the Store API.
  2. Check response contains correct: items, coupons and shipping information.

- Show itemized fee rows in the cart/checkout blocks. 3678

  1. Use the following code snippet in woocommerce-gutenberg-products-block.php:
add_action( 'woocommerce_cart_calculate_fees', 'add_fees', 10 );
function add_fees( $cart ) {
    $cart->add_fee( __( 'Packaging 1', 'woo-gutenberg-products-block' ), 100, true );
    $cart->add_fee( __( 'Packaging 2', 'woo-gutenberg-products-block' ), 50, true );
}
  1. Go to the cart page and see fee rows.
  2. Go to checkout page and see fee rows.
  3. Test with and without prices including tax in WC Tax settings.

- Extensibility: Show item data in Cart and Checkout blocks and update the variation data styles. (3665)

Variations:

  1. Add a variable product to your cart and go to the Cart and Checkout pages.
  2. Verify variations are displayed with the new design (a list instead of separated by /).

WC Subscriptions:

  1. Currently, WC Subscriptions doesn't use cart item data yet, but you can checkout this WIP branch to test it: fix/subscription-details-cart-item-data.
  2. Create a subscription product with free trial and/or sign up fee.
  3. Add that product to your cart and go to the Cart and Checkout pages.
  4. Verify the free trial and sign up fee are displayed.

WC Product Add-Ons:

  1. Create a product with a product add-on.
  2. Add that product to your cart and go to the Cart and Checkout pages.
  3. Verify add-on data is displayed.