WooCommerce Premium Decimal Superscript Engine

/** * LexiPress: WooCommerce Premium Decimal Superscript Engine * Intercepts server-side price strings and wraps decimals for CSS targeting. */ if ( ! defined( ‘ABSPATH’ ) ) { exit; } add_filter( ‘formatted_woocommerce_price’, ‘lexipress_format_price_decimals’, 10, 5 ); function lexipress_format_price_decimals( $formatted_price, $price,…Continue reading

Dodaje pole akceptacji regulaminu nad przyciskiem płatności

/** * Dodaje pole akceptacji regulaminu nad przyciskiem płatności */ add_action( ‘woocommerce_review_order_before_submit’, ‘dodaj_checkbox_regulaminu_nad_przyciskiem’, 10 ); function dodaj_checkbox_regulaminu_nad_przyciskiem() { woocommerce_form_field( ‘akceptacja_regulaminu’, array( ‘type’ => ‘checkbox’, ‘class’ => array(‘form-row-wide’, ‘terms-checkbox’), ‘label_class’ => array(‘woocommerce-form__label’, ‘woocommerce-form__label-for-checkbox’, ‘checkbox’), ‘input_class’ => array(‘woocommerce-form__input’, ‘woocommerce-form__input-checkbox’, ‘input-checkbox’), ‘required’ =>…Continue reading

Global Brand Footer Override

/** * LexiPress: Global Brand Footer Override for Belletrist */ if ( ! defined( ‘ABSPATH’ ) ) { exit; } // 1. Hide Belletrist’s native footer containers via inline CSS to prevent layout shift add_action(‘wp_head’, function() { echo ‘ ‘;…Continue reading

Product Details ACF V3.5

/** * Productdetails (V=3.5) uit ACF tonen via [dv_productdetails]. * Geschikt voor WooCommerce-productpagina’s en Elementor. */ if ( ! function_exists( ‘dv_productdetails_row’ ) ) { function dv_productdetails_row( $icon, $label, $field, $product_id ) { if ( ! function_exists( ‘get_field’ ) ) {…Continue reading