diff --git a/.ddev/vite/vite-server-not-running.html b/.ddev/vite/vite-server-not-running.html index 17fde24d..e1493ee4 100644 --- a/.ddev/vite/vite-server-not-running.html +++ b/.ddev/vite/vite-server-not-running.html @@ -2,8 +2,8 @@ - - + + vite not running + Haiku Atelier + + + + + + + + + diff --git a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/admin-cancelled-order.php b/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/admin-cancelled-order.php deleted file mode 100644 index 0b4e7d7d..00000000 --- a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/admin-cancelled-order.php +++ /dev/null @@ -1,68 +0,0 @@ - - - -

get_order_number()), - esc_html($order->get_formatted_billing_full_name()), -); ?>

- - - - -

get_order_number()), - esc_html($order->get_formatted_billing_full_name()), -); ?>

- - - - -

get_formatted_billing_full_name(), -); -// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -?>

- - - -

get_billing_first_name())); ?>

-

- - - -

get_billing_first_name())); ?>

- -needs_payment()) { ?> -

- [ - "href" => [], - ], - ], - ), - esc_html(get_bloginfo("name", "display")), - '' . - esc_html__("Pay for this order", "woocommerce") . - "", - ); ?> -

- - -

- get_date_created())), - ); ?> -

- - - -

- -

" . esc_html($user_login) . "", - make_clickable(esc_url(wc_get_page_permalink("myaccount"))), -); -// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -?>

- -

- - - - - -

- -

" . esc_html($user_login) . "", - make_clickable(esc_url(wc_get_page_permalink("myaccount"))), -); -// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -?>

- - -

- - - - - -

get_billing_first_name())); ?>

-

- -
- -

- - - - -

get_billing_first_name())); ?>

-

- - - - -

get_billing_first_name())); ?>

- -

get_order_number()), -); ?>

- - - - -

get_billing_first_name())); ?>

- -

- -

- - - - - -

- -

- -

-

-

- $reset_key, "id" => $user_id, "login" => rawurlencode($user_login)], - wc_get_endpoint_url("lost-password", "", wc_get_page_permalink("myaccount")), - ), - ); ?>"> - - -

- -get_formatted_billing_address(); -$shipping = $order->get_formatted_shipping_address(); -?> - - - needs_shipping_address() && $shipping): ?> - - - -
-

- -
- - get_billing_phone()): ?> -
get_billing_phone()); ?> - - get_billing_email()): ?> -
get_billing_email()); ?> - - /** - * Fires after the core address fields in emails. - * - * @since 8.6.0 - * - * @param string $type Address type. Either 'billing' or 'shipping'. - * @param WC_Order $order Order instance. - * @param bool $sent_to_admin If this email is being sent to the admin or not. - * @param bool $plain_text If this email is plain text or not. - */ -
-
-

- -
- - get_shipping_phone()): ?> -
get_shipping_phone()); ?> - - /** - * Fires after the core address fields in emails. - * - * @since 8.6.0 - * - * @param string $type Address type. Either 'billing' or 'shipping'. - * @param WC_Order $order Order instance. - * @param bool $sent_to_admin If this email is being sent to the admin or not. - * @param bool $plain_text If this email is plain text or not. - */ -
-
diff --git a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-customer-details.php b/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-customer-details.php deleted file mode 100644 index fe6a1a1f..00000000 --- a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-customer-details.php +++ /dev/null @@ -1,32 +0,0 @@ - - -
-

- -
- diff --git a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-downloads.php b/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-downloads.php deleted file mode 100644 index d234fd90..00000000 --- a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-downloads.php +++ /dev/null @@ -1,66 +0,0 @@ -

- - - - - $column_name): ?> - - - - - - - - $column_name): ?> - - - - -
- - "> - - " class="woocommerce-MyAccount-downloads-file button alt"> - - - -
diff --git a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-footer.php b/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-footer.php deleted file mode 100644 index d247c4c6..00000000 --- a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-footer.php +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-header.php b/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-header.php deleted file mode 100644 index 0a473914..00000000 --- a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-header.php +++ /dev/null @@ -1,76 +0,0 @@ - - -> - - " /> - - <?php echo get_bloginfo("name", "display"); ?> - - ="0" marginwidth="0" topmargin="0" marginheight="0" offset="0"> - - - -
-
"> - - -
-
- ' .
-              esc_attr(get_bloginfo(

'; - } - ?> -
- - - - - -
- - - - - -
-

-
- -
- - - -
- - - - "> - - - - - - - - - - - diff --git a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-styles.php b/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-styles.php deleted file mode 100644 index c097698b..00000000 --- a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-styles.php +++ /dev/null @@ -1,269 +0,0 @@ - -body { - background-color: ; - padding: 0; - text-align: center; -} - -#outer_wrapper { - background-color: ; -} - -#wrapper { - margin: 0 auto; - padding: 70px 0; - -webkit-text-size-adjust: none !important; - width: 100%; - max-width: 600px; -} - -#template_container { - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important; - background-color: ; - border: 1px solid ; - border-radius: 3px !important; -} - -#template_header { - background-color: ; - border-radius: 3px 3px 0 0 !important; - color: ; - border-bottom: 0; - font-weight: bold; - line-height: 100%; - vertical-align: middle; - font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; -} - -#template_header h1, -#template_header h1 a { - color: ; - background-color: inherit; -} - -#template_header_image img { - margin-left: 0; - margin-right: 0; -} - -#template_footer td { - padding: 0; - border-radius: 6px; -} - -#template_footer #credit { - border: 0; - color: ; - font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; - font-size: 12px; - line-height: 150%; - text-align: center; - padding: 24px 0; -} - -#template_footer #credit p { - margin: 0 0 16px; -} - -#body_content { - background-color: ; -} - -#body_content table td { - padding: 48px 48px 32px; -} - -#body_content table td td { - padding: 12px; -} - -#body_content table td th { - padding: 12px; -} - -#body_content td ul.wc-item-meta { - font-size: small; - margin: 1em 0 0; - padding: 0; - list-style: none; -} - -#body_content td ul.wc-item-meta li { - margin: 0.5em 0 0; - padding: 0; -} - -#body_content td ul.wc-item-meta li p { - margin: 0; -} - -#body_content p { - margin: 0 0 16px; -} - -#body_content_inner { - color: ; - font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; - font-size: 14px; - line-height: 150%; - text-align: ; -} - -.td { - color: ; - border: 1px solid ; - vertical-align: middle; -} - -.address { - padding: 12px; - color: ; - border: 1px solid ; -} - -.additional-fields { - padding: 12px 12px 0; - color: ; - border: 1px solid ; - list-style: none outside; -} - -.additional-fields li { - margin: 0 0 12px 0; -} - -.text { - color: ; - font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; -} - -.link { - color: ; -} - -#header_wrapper { - padding: 36px 48px; - display: block; -} - -#template_footer #credit, -#template_footer #credit a { - color: ; -} - -h1 { - color: ; - font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; - font-size: 30px; - font-weight: 300; - line-height: 150%; - margin: 0; - text-align: ; - text-shadow: 0 1px 0 ; -} - -h2 { - color: ; - display: block; - font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; - font-size: 18px; - font-weight: bold; - line-height: 130%; - margin: 0 0 18px; - text-align: ; -} - -h3 { - color: ; - display: block; - font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; - font-size: 16px; - font-weight: bold; - line-height: 130%; - margin: 16px 0 8px; - text-align: ; -} - -a { - color: ; - font-weight: normal; - text-decoration: underline; -} - -img { - border: none; - display: inline-block; - font-size: 14px; - font-weight: bold; - height: auto; - outline: none; - text-decoration: none; - text-transform: capitalize; - vertical-align: middle; - margin-: 10px; - max-width: 100%; -} - -/** - * Media queries are not supported by all email clients, however they do work on modern mobile - * Gmail clients and can help us achieve better consistency there. - */ -@media screen and (max-width: 600px) { - #header_wrapper { - padding: 27px 36px !important; - font-size: 24px; - } - - #body_content table > tbody > tr > td { - padding: 10px !important; - } - - #body_content_inner { - font-size: 10px !important; - } -}
-
diff --git a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-mobile-messaging.php b/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-mobile-messaging.php deleted file mode 100644 index a45dad19..00000000 --- a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-mobile-messaging.php +++ /dev/null @@ -1,20 +0,0 @@ - - -

- get_edit_order_url()) . '">'; - $after = ""; - } else { - $before = ""; - $after = ""; - } - /* translators: %s: Order ID. */ - echo wp_kses_post( - $before . - sprintf( - __("[Order #%s]", "woocommerce") . $after . ' ()', - $order->get_order_number(), - $order->get_date_created()->format("c"), - wc_format_datetime($order->get_date_created()), - ), - ); - ?> -

- -
- - - - - - - - - - $sent_to_admin, - "show_image" => false, - "image_size" => [32, 32], - "plain_text" => $plain_text, - "sent_to_admin" => $sent_to_admin, - ], - ); ?> - - - get_order_item_totals(); - - if ($item_totals) { - $i = 0; - foreach ($item_totals as $total) { - $i++; ?> - - - - - get_customer_note()) { ?> - - - - - - -
">">
get_customer_note())), - [], -); ?>
-
- - diff --git a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-order-items.php b/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-order-items.php deleted file mode 100644 index 97093ac6..00000000 --- a/web/app/themes/haiku-atelier-2024/woocommerce/templates/emails/email-order-items.php +++ /dev/null @@ -1,106 +0,0 @@ - $item): - - $product = $item->get_product(); - $sku = ""; - $purchase_note = ""; - $image = ""; - - if (!apply_filters("woocommerce_order_item_visible", true, $item)) { - continue; - } - - if (is_object($product)) { - $sku = $product->get_sku(); - $purchase_note = $product->get_purchase_note(); - $image = $product->get_image($image_size); - } - ?> -
- get_name(), $item, false)); - - // SKU. - if ($show_sku && $sku) { - echo wp_kses_post(" (#" . $sku . ")"); - } - - // allow other plugins to add additional product information here. - do_action("woocommerce_order_item_meta_start", $item_id, $item, $order, $plain_text); - - wc_display_item_meta($item, [ - "label_before" => - '', - ]); - - // allow other plugins to add additional product information here. - do_action("woocommerce_order_item_meta_end", $item_id, $item, $order, $plain_text); - ?> - - get_quantity(); - $refunded_qty = $order->get_qty_refunded_for_item($item_id); - - if ($refunded_qty) { - $qty_display = "" . esc_html($qty) . " " . esc_html($qty - $refunded_qty * -1) . ""; - } else { - $qty_display = esc_html($qty); - } - echo wp_kses_post(apply_filters("woocommerce_email_order_item_quantity", $qty_display, $item)); - ?> - - get_formatted_line_subtotal($item)); ?> -
- -