Update WC templates to WC 8.4.0

This commit is contained in:
IanDelMar 2023-12-22 00:35:32 +01:00
parent 7c3b4435a8
commit ca679e0cd1
23 changed files with 35 additions and 26 deletions

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.9.0
*/

View File

@ -12,7 +12,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 3.5.0
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,9 +10,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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.8.0
* @version 8.2.0
*/
defined( 'ABSPATH' ) || exit;
@ -67,6 +67,15 @@ $totals = $order->get_order_item_totals(); // phpcs:ignore WordPress.WP.GlobalVa
</tfoot>
</table>
<?php
/**
* Triggered from within the checkout/form-pay.php template, immediately before the payment section.
*
* @since 8.2.0
*/
do_action( 'woocommerce_pay_order_before_payment' );
?>
<div id="payment">
<?php if ( $order->needs_payment() ) : ?>
<ul class="wc_payment_methods payment_methods methods">

View File

@ -10,7 +10,7 @@
* the new files to your theme to maintain compatibility. We try to do this as little as possible, but it does 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.9.0
*

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 8.1.0
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.1.0
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 3.6.0
*/

View File

@ -12,7 +12,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.8.0
*/
@ -36,5 +36,5 @@ do_action( 'woocommerce_before_account_downloads', $has_downloads ); ?>
<?php endif; ?>
<?php
do_action( 'woocommerce_after_account_downloads', $has_downloads );
<?php
do_action( 'woocommerce_after_account_downloads', $has_downloads );

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 2.6.0
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 2.6.0
*/

View File

@ -12,7 +12,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.8.0
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.8.0
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -10,7 +10,7 @@
* 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://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/

View File

@ -2,7 +2,7 @@
/**
* Single variation cart button
*
* @see https://docs.woocommerce.com/document/template-structure/
* @see https://woo.com/document/template-structure/
* @package WooCommerce\Templates
* @version 7.0.1
*/