From 3aada9949d51024a92a8b5c6cb70d12f9c3cac16 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 21 Dec 2025 19:59:48 +0000
Subject: [PATCH] =auth refactored via rest, referral system set up for Jane, some javascript consolidation

---
 inc/integrations/Helcim.php |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/inc/integrations/Helcim.php b/inc/integrations/Helcim.php
index eabff67..b820041 100644
--- a/inc/integrations/Helcim.php
+++ b/inc/integrations/Helcim.php
@@ -242,7 +242,7 @@
 		<button type="button" class="toggle-cart row" title="Your Cart" data-action="toggle-cart" aria-label="Open Cart" aria-controls="checkout" aria-expanded="false" hidden>
 			<?= jvbIcon('shopping-cart')?><span class="abs"></span><span class="abs count"></span>
 		</button>
-		<aside id="cart">
+		<aside id="cart" class="main">
 			<form id="checkout" data-form-id="checkout" data-save="checkout">
 				<?php
 				$tabs = [
@@ -881,11 +881,10 @@
 		// Send notification
 		$user = get_user_by('ID', $user_id);
 		if ($user) {
-			wp_mail(
+			JVB()->email()->sendEmail(
 				$user->user_email,
 				'Security: Password Reset Required',
 				'For your security, please reset your password to continue accessing your account and saved payment methods.',
-				['Content-Type: text/html; charset=UTF-8']
 			);
 		}
 	}
@@ -1153,7 +1152,7 @@
 			$site_name
 		);
 
-		jvbMail(
+		JVB()->email()->sendEmail(
 			$user->user_email,
 			sprintf('[%s] Welcome! Set Your Password', $site_name),
 			$message

--
Gitblit v1.10.0