Blog

Back Button Positioning Update

User <style> .hub-multistep-btn { background-color: #00b4d5; border-radius: 25px; font-weight: 600; min-height: 40px; cursor: pointer; width: 100%; font-size: 15px; text-align: center; transition: all .3s; fill: #fff; } #step-progress { margin: 20px 0; text-align: center; display: flex; justify-content: space-between; align-items: center; } .step-indicator { display: inline-block; width: 30px; height: 30px; line-height: 30px; border-radius: 50%; margin: 0 5px; […]

Move submit button code

User <style> .hub-multistep-btn { background-color: #00b4d5; border-radius: 25px; font-weight: 600; min-height: 40px; cursor: pointer; width: 100%; font-size: 15px; text-align: center; transition: all .3s; fill: #fff; } #step-progress { margin: 20px 0; text-align: center; display: flex; justify-content: space-between; align-items: center; } .step-indicator { display: inline-block; width: 30px; height: 30px; line-height: 30px; border-radius: 50%; margin: 0 5px; […]

Form Styling Customization

User <style> .hub-multistep-btn { background-color: #00b4d5; border-radius: 25px; font-weight: 600; min-height: 40px; cursor: pointer; width: 100%; font-size: 15px; text-align: center; transition: all .3s; fill: #fff; } #step-progress { margin: 20px 0; text-align: center; display: flex; justify-content: space-between; align-items: center; } .step-indicator { display: inline-block; width: 30px; height: 30px; line-height: 30px; border-radius: 50%; background: #ccc; color: […]

PDF Optimization Suggestions

User add_filter('pdf_template_table_headings','pdf_invoice_head',999,2); function pdf_invoice_head($header, $order_id ){ //CHANGE DATE HERE AND BELOW y-m-d $date2 = strtotime('2021-11-24'); $orderedDate = strtotime(get_post_meta($order_id,'_dispensed_date',TRUE )); if($orderedDate < $date2 ){ $headers = '' . esc_html__('Medication details:', 'woocommerce-pdf-invoice') . '' . '' . '' . '' . '' . esc_html__( 'Medication', 'woocommerce-pdf-invoice' ) . '' . '' . esc_html__( 'Quantity', 'woocommerce-pdf-invoice' ) . […]

Pending Order Logging Solution

User Regarding Pending order not found , I have heard many times in this theard that pending orders not stored I think we can make a log file/or a custom table in which we can store request data in one single column like content $_POST with no validation applied before the code start inserting to […]

Checkout Flow Customization

User <script> </script> <script> </script> <script> </script> <script> </script> <script> "> </script> –> <script> "> </script> <script> </script> <script> jQuery(document).ready(function() { function checkEmailValue(value, arr) { var status = 'not_exist'; for (var i = 0; i < arr.length; i++) { var name = arr[i]; if (name == value) { status = 'exist'; break; } } return […]

Scroll based slide update

User if ($('.overlay-slider-grid').length) { const $overlaySliderGrid = $('.overlay-slider-grid'); const $overlayslider = $('.overlay-slider'); const $mainparent = $overlaySliderGrid.find('.content-overlayslider'); const $hoverItems = $mainparent.find('.hover-item'); let currentIndex = 0; const updateSlider = ($item) => { const newBg = $item.data('bg'); $overlayslider.css('background-image', `url(${newBg})`); $item.find('.content, .description').addClass('active'); $item.siblings().find('.content, .description').removeClass('active'); }; // Initial load updateSlider($hoverItems.eq(currentIndex)); // Scroll-based slide logic $(window).on('scroll', function () { const scrollTop […]

Wheel scroll slider update

User $(window).on('scroll', function () { const scrollTop = $(window).scrollTop(); const overlayOffset = $overlaySliderGrid.offset().top; const overlayHeight = $overlaySliderGrid.outerHeight(); console.log(scrollTop, overlayOffset, overlayHeight); if (scrollTop >= overlayOffset && scrollTop Assistant To make the **slide change on every single mouse wheel scroll**, you need to switch from scroll distance logic (which triggers based on total `scrollTop` distance) to handling […]

Email issue investigation request

User I've just checked the contact form email issue on our mails nethues and gmail and its succesfully received after testing I've putted back the orignal to mail May its going to "info@hagemann-systems.de" spam could I get cpanel details to check it in more detail? Correct above setence Assistant Sure! Here's a corrected and more […]

Slider Scroll Optimization

User if ($('.overlay-slider-grid').length) { const $overlaySliderGrid = $('.overlay-slider-grid'); const $overlayslider = $('.overlay-slider'); const $mainparent = $overlaySliderGrid.find('.content-overlayslider'); const $hoverItems = $mainparent.find('.hover-item'); let currentIndex = 0; let isVisible = false; let scrollCooldown = false; // Prevents rapid scrolls const updateSlider = ($item) => { const newBg = $item.data('bg'); $overlayslider.css('background-image', `url(${newBg})`); $item.find('.content, .description').addClass('active'); $item.siblings().find('.content, .description').removeClass('active'); }; const changeSlide […]