diff --git a/product-left-sidebar.php b/product-left-sidebar.php index a325fa5..1e39dd0 100644 --- a/product-left-sidebar.php +++ b/product-left-sidebar.php @@ -196,6 +196,26 @@ if (isset($_GET['id'])) { display: block; margin: 0 auto; } + + /* 02-21-2024 Stacy added css for addtocart & wishlist */ + .ec-product-inner .ec-pro-image .ec-pro-actions .add-to-cart { + width: 35px; + position: absolute; + right: 15px; + bottom: 36px; + margin: 0; + padding: 0; + font-size: 0; + border-radius: 10px 10px 0 0; + } + + .ec-product-inner .ec-pro-image .ec-pro-actions .wishlist { + position: absolute; + right: 15px; + bottom: 0; + border-radius: 0 0 10px 10px; + } + /* 02-21-2024 Stacy added css for addtocart & wishlist */ @@ -1434,6 +1454,8 @@ foreach ($variation_details as $index => $variation) { $similar_products = array_values($array); for ($x = 0; $x < 4 && $x < count($similar_products); $x++) { $pid = rand(0, count($similar_products) - 1); + #02-21-2024 Stacy added + $vendorOfProduct = getVendorbyId($similar_products[$pid]['vendor_api_id']); ?> @@ -1441,34 +1463,65 @@ foreach ($variation_details as $index => $variation) {