Skip to content
Snippets Groups Projects
Verified Commit 5c85cfc2 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

chore: align with upstream template

parent e63a116e
No related branches found
No related tags found
No related merge requests found
[2.0.1] - 2024-06-26
# Changed
* align with original WooCommerce template
[2.0.0] - 2021-05-04
# Changed
* moved to folder
......
......@@ -12,9 +12,9 @@
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @see https://woocommerce.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.3.0
* @version 8.8.0
*/
defined( 'ABSPATH' ) || exit;
......@@ -27,7 +27,7 @@ $calculator_text = '';
<tr class="woocommerce-shipping-totals shipping">
<th><?php echo wp_kses_post( $package_name ); ?></th>
<td data-title="<?php echo esc_attr( $package_name ); ?>">
<?php if ( $available_methods ) : ?>
<?php if ( ! empty( $available_methods ) && is_array( $available_methods ) ) : ?>
<ul id="shipping_method" class="woocommerce-shipping-methods">
<?php foreach ( $available_methods as $method ) : ?>
<li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment