Skip to content

Releases: KingDonRush/simple-budget-plugin

Simple Budget Plugin v3.1.1

Choose a tag to compare

@KingDonRush KingDonRush released this 16 May 19:22

PT-BR

  • Adiciona scripts/verify.sh e CI básico para validação reproduzível.
  • Refatora renderização do carrinho para reduzir drift entre item real e placeholder de design.
  • Extrai normalização do Cart Shell e corrige larguras responsivas como 640px.
  • Evita escrita implícita ao listar templates; normalização do editor ocorre na criação/abertura explícita.
  • Remove o número de WhatsApp do JS público e só imprime o shell do popup quando há botão de abertura.

EN-US

  • Adds scripts/verify.sh and basic CI for reproducible validation.
  • Refactors cart rendering to reduce drift between real items and design placeholders.
  • Extracts Cart Shell normalization and fixes responsive widths such as 640px.
  • Avoids implicit writes when listing templates; editor normalization happens on creation/explicit edit open.
  • Removes the WhatsApp number from public JS and prints the popup shell only when an open-cart button exists.

Verification

  • bash scripts/verify.sh
  • SBP_SKIP_WP_SMOKE=1 bash scripts/verify.sh

Simple Budget Plugin v3.1.0

Choose a tag to compare

@KingDonRush KingDonRush released this 16 May 14:51

PT-BR

  • Adiciona Design Preview no widget Budget Listing para emular itens enquanto o template do carrinho é editado no Elementor.
  • Permite escolher post type público, IDs manuais, contagem de itens e quantidade exibida só no editor.
  • Usa posts reais quando disponíveis e placeholders seguros quando não houver dados.
  • Bloqueia ações de preview para não alterar o carrinho real.

EN-US

  • Adds Design Preview to the Budget Listing widget for cart-template editing in Elementor.
  • Supports public post type selection, manual IDs, item count, and displayed quantity in the editor only.
  • Uses real posts when available and safe placeholders when data is missing.
  • Keeps preview actions inert so they do not mutate the real cart.

Validation

  • node --check assets/js/sbp-script.js
  • php -l changed PHP files through Docker
  • WP-CLI checks for SBP_VERSION, Elementor 4.0.8, preview controls, renderer output, and placeholder fallback

v3.0.1 - Rendering and AJAX hardening

Choose a tag to compare

@KingDonRush KingDonRush released this 16 May 01:27

Simple Budget Plugin v3.0.1

PT-BR

  • Endurece a renderizacao de templates do carrinho: agora valida post type, role meta, status do post e permissao de edicao antes de enviar HTML Elementor para o frontend.
  • Bloqueia renderizacao publica de templates draft/private; editores ainda conseguem trabalhar com eles.
  • Centraliza validacao de produtos, post types permitidos, limite de itens e limite de quantidade no CartRenderer.
  • Limita payloads do carrinho no frontend e no servidor para evitar requisicoes excessivas.
  • Valida melhor o numero de WhatsApp antes de gerar a URL.
  • Remove registro duplicado de assets no loader interno.
  • Remove helpers globais mortos e limpa sbp_version no uninstall.

EN-US

  • Hardens cart template rendering: post type, role meta, post status, and edit capability are now validated before Elementor HTML is sent to the frontend.
  • Blocks public rendering of draft/private templates while still allowing editors to work with them.
  • Centralizes product validation, allowed post types, item limits, and quantity limits in CartRenderer.
  • Caps cart payloads on both frontend and server to avoid excessive requests.
  • Validates the WhatsApp number more strictly before generating the URL.
  • Removes duplicated asset registration from the internal loader.
  • Removes dead global helpers and clears sbp_version on uninstall.

Validation

  • PHP syntax checks passed for changed PHP files in the WordPress container.
  • node --check passed for assets/js/sbp-script.js.
  • WP-CLI confirmed SBP_VERSION is 3.0.1.
  • WP-CLI confirmed cart item and quantity limits.
  • WP-CLI confirmed draft templates are blocked for anonymous users, published templates render, and draft templates remain available to editors.
  • WP-CLI confirmed invalid configured post types block product validation instead of widening access.
  • WP-CLI confirmed active AJAX endpoints remain registered.
  • WP-CLI confirmed enqueue_assets is registered once.
  • Elementor local version checked: 4.0.8.

v3.0.0 - Elementor-only cleanup

Choose a tag to compare

@KingDonRush KingDonRush released this 16 May 01:20

Simple Budget Plugin v3.0.0

Breaking change

This release intentionally removes the old shortcode/CSS-ID compatibility layer and makes the plugin Elementor-only.

PT-BR

  • Remove o shortcode [sbp_cart].
  • Remove suporte a botoes legados por IDs fixos, como add-to-cart-button, open-cart-button e enviar-orcamento-whatsapp.
  • Remove a acao legada de remover item do widget Budget Button; remocao continua no Budget Listing, onde existe contexto de item.
  • Remove endpoints AJAX antigos que nao participavam mais do fluxo Elementor.
  • Substitui o fallback legado do popup por um prompt interno de setup, orientando criar/selecionar template em Simple Budget > Templates.
  • Atualiza versao, readmes, changelog, docs de GitHub e traducoes.

EN-US

  • Removes the [sbp_cart] shortcode.
  • Removes fixed-ID legacy button support, including add-to-cart-button, open-cart-button, and enviar-orcamento-whatsapp.
  • Removes the legacy remove-current-item action from Budget Button; removal remains in Budget Listing, where item context exists.
  • Removes older AJAX endpoints that no longer belonged to the Elementor flow.
  • Replaces the legacy popup fallback with an internal setup prompt that guides implementers to create/select a template in Simple Budget > Templates.
  • Updates version, readmes, changelog, GitHub docs, and translations.

Validation

  • PHP syntax checks passed for changed PHP files in the WordPress container.
  • node --check passed for assets/js/sbp-script.js.
  • WP-CLI confirmed SBP_VERSION is 3.0.0.
  • WP-CLI confirmed [sbp_cart] is no longer registered.
  • WP-CLI confirmed old AJAX endpoints are no longer registered and the active cart/template/WhatsApp endpoints remain registered.
  • WP-CLI footer check confirmed setup prompt is rendered and legacy cart markup is removed.
  • Elementor local version checked: 4.0.8.

v2.3.5 - Strategic responsive controls

Choose a tag to compare

@KingDonRush KingDonRush released this 16 May 01:02

Simple Budget Plugin v2.3.5

PT-BR

  • Torna responsivas outras opcoes estrategicas do Cart Shell: tipo de exibicao, animacao e opacidade do overlay.
  • Mantem a largura do painel responsiva e passa valores desktop/tablet/mobile por data-* no botao.
  • Torna responsivo o posicionamento do botao remover no Budget Listing, preservando remove_position.
  • O frontend resolve desktop/tablet/mobile com fallback progressivo e breakpoints do Elementor quando disponiveis.

EN-US

  • Makes additional strategic Cart Shell options responsive: display type, animation, and overlay opacity.
  • Keeps panel width responsive and passes desktop/tablet/mobile values through button data-* attributes.
  • Makes Budget Listing remove-button positioning responsive while preserving remove_position.
  • The frontend resolves desktop/tablet/mobile with progressive fallback and Elementor breakpoints when available.

Validation

  • PHP syntax checks passed in the WordPress PHP 8.3 container.
  • node --check passed for the frontend script.
  • WP-CLI confirmed SBP_VERSION is 2.3.5.
  • Source check confirmed responsive controls and desktop/tablet/mobile data attributes.

v2.3.4 - Responsive cart shell width

Choose a tag to compare

@KingDonRush KingDonRush released this 15 May 23:08

Simple Budget Plugin v2.3.4

PT-BR

  • Torna o controle Panel Width do Cart Shell responsivo no Budget Button.
  • Adiciona valores separados para desktop, tablet e mobile usando o controle responsivo nativo do Elementor.
  • O botão agora passa data-sbp-panel-width, data-sbp-panel-width-tablet e data-sbp-panel-width-mobile para o frontend.
  • O frontend escolhe a largura correta ao abrir o carrinho, usando os breakpoints ativos do Elementor quando disponíveis.

EN-US

  • Makes the Cart Shell Panel Width control responsive in Budget Button.
  • Adds separate desktop, tablet, and mobile values using Elementor native responsive controls.
  • The button now passes data-sbp-panel-width, data-sbp-panel-width-tablet, and data-sbp-panel-width-mobile to the frontend.
  • The frontend chooses the correct width when opening the cart, using Elementor active breakpoints when available.

Validation

  • PHP syntax checks passed in the WordPress PHP 8.3 container.
  • node --check passed for the frontend script.
  • WP-CLI confirmed SBP_VERSION is 2.3.4.
  • Source check confirmed responsive control registration and desktop/tablet/mobile data attributes.

v2.3.3 - Remove button style positioning

Choose a tag to compare

@KingDonRush KingDonRush released this 15 May 22:51

Simple Budget Plugin v2.3.3

PT-BR

  • Move o controle de posição do botão remover do Budget Listing para Style > Remove Button.
  • Troca o seletor antigo por um controle visual no estilo do Icon Box do Elementor, com Start, End, Top e Bottom.
  • Mantém o ID interno remove_position para preservar templates existentes.
  • Adiciona controle de espaçamento do remover na mesma seção de estilo.

EN-US

  • Moves the Budget Listing remove-button position control into Style > Remove Button.
  • Replaces the previous selector with an Elementor Icon Box-like visual control for Start, End, Top, and Bottom.
  • Keeps the internal remove_position ID to preserve existing templates.
  • Adds remove-button spacing control in the same style section.

Validation

  • PHP syntax checks passed in the WordPress PHP 8.3 container.
  • WP-CLI confirmed SBP_VERSION is 2.3.3.
  • Source check confirmed remove_position and remove_spacing are registered inside register_remove_button_style_controls().
  • WP-CLI renderer check confirmed remove-position classes and remove action output still render correctly.

v2.3.2 - Individual cart template removal

Choose a tag to compare

@KingDonRush KingDonRush released this 15 May 22:03

Simple Budget Plugin v2.3.2

PT-BR

  • Adiciona botão Remove em cada linha da tela Simple Budget > Templates.
  • A remoção valida nonce, permissão e ownership: só templates elementor_library marcados como cart_modal pelo Simple Budget podem ser removidos por essa tela.
  • Quando a lixeira do WordPress está ativa, o template é movido para a lixeira em vez de ser apagado permanentemente.

EN-US

  • Adds a Remove button to each row on Simple Budget > Templates.
  • Removal validates nonce, permissions, and ownership: only elementor_library templates marked as cart_modal by Simple Budget can be removed from this screen.
  • When WordPress trash is enabled, the template is moved to trash instead of being permanently deleted.

Validation

  • PHP syntax checks passed in the WordPress PHP 8.3 container.
  • WP-CLI confirmed SBP_VERSION is 2.3.2.
  • WP-CLI created a QA cart template, removed it through the new manager method, confirmed status trash, and confirmed it no longer appears in get_templates().

v2.3.1 - Budget Button icon controls

Choose a tag to compare

@KingDonRush KingDonRush released this 15 May 21:57

Simple Budget Plugin v2.3.1

PT-BR

  • Move os controles de posição e espaçamento do ícone do Budget Button para Style > Icon.
  • Preserva compatibilidade com templates existentes mantendo os mesmos IDs internos: icon_align e icon_indent.
  • Reforça o autoloader interno para aceitar apenas classes SBP válidas e não expor paths absolutos em logs de debug.

EN-US

  • Moves Budget Button icon position and spacing controls into Style > Icon.
  • Preserves existing templates by keeping the same internal IDs: icon_align and icon_indent.
  • Hardens the internal autoloader to accept only valid SBP classes and avoid exposing absolute paths in debug logs.

Validation

  • PHP syntax checks passed in the WordPress PHP 8.3 container.
  • WP-CLI confirmed SBP_VERSION is 2.3.1.
  • Source check confirms icon_align and icon_indent are now registered inside register_icon_style_controls().

v2.3.0 - Elementor cart shell and quantity controls

Choose a tag to compare

@KingDonRush KingDonRush released this 15 May 21:48

Simple Budget Plugin v2.3.0

PT-BR

  • Adiciona controles de shell no Budget Button: modal central, carrinho lateral esquerdo/direito e bottom sheet.
  • Adiciona quantidade ao fluxo do orçamento, com localStorage, renderização no Budget Listing, shortcode/fallback e mensagem do WhatsApp.
  • Move a UX principal de remoção para o Budget Listing, com posição configurável por item.
  • Adiciona comportamento configurável para WhatsApp quando o orçamento está vazio: esconder, desabilitar ou manter visível com mensagem.
  • Adiciona controles de cor/tamanho para ícone do Budget Button e preview visual de shell no editor Elementor dos templates de carrinho.

EN-US

  • Adds Budget Button cart shell controls: centered modal, left/right side cart, and bottom sheet.
  • Adds quantity support across localStorage, Budget Listing rendering, shortcode/fallback, and WhatsApp messages.
  • Moves the primary remove UX into Budget Listing, with configurable per-item remove positioning.
  • Adds configurable empty-budget behavior for WhatsApp actions: hide, disable, or keep visible with a message.
  • Adds Budget Button icon color/size controls and a visual shell preview in the Elementor editor for cart templates.

Validation

  • PHP syntax checks passed through the WordPress PHP 8.3 container.
  • node --check passed for the frontend script.
  • WP-CLI confirmed SBP_VERSION is 2.3.0.
  • WP-CLI renderer check confirmed quantity output, remove action output, and remove-position classes.
  • QA template creation confirmed Elementor Canvas page template plus the new listing settings.