PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.6
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.6
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
← All changes | app/Services/Renderer/CartRenderer.php +19 -3 1.5.4 → 1.6.6 View file →
@@ -403,9 +403,17 @@
403 403 class="fct-cart-total-wrapper"
404 404 role="region"
405 405 aria-label="<?php esc_attr_e('Cart Total', 'fluent-cart'); ?>"
406 406 >
407 - <span><?php echo esc_html__('Total', 'fluent-cart'); ?>:</span>
407 + <span><?php
408 + /**
409 + * Filters the cart total label. Lets a caller relabel it without
410 + * reimplementing this markup; the default renders exactly as before.
411 + *
412 + * @param string $label
413 + */
414 + echo esc_html(apply_filters('fluent_cart/cart/total_label', __('Total', 'fluent-cart')));
415 + ?></span>
408 416 <span
409 417 data-fluent-cart-cart-total-price
410 418 aria-live="polite"
411 419 aria-label="<?php echo esc_attr($aria_label); ?>"
@@ -448,13 +456,21 @@
448 456 public function renderCheckoutButton()
449 457 {
450 458 ?>
451 459
452 - <a class="checkout-button"
460 + <a class="checkout-button fct-primary-btn"
453 461 href="<?php echo esc_attr($this->storeSettings->getCheckoutPage()); ?>"
454 462 role="button"
455 463 aria-label="<?php esc_attr_e('Go to checkout page', 'fluent-cart'); ?>">
456 - <?php esc_html_e('Go to Checkout', 'fluent-cart'); ?>
464 + <?php
465 + /**
466 + * Filters the cart checkout button text. Lets a caller relabel it
467 + * without reimplementing this markup; the default is unchanged.
468 + *
469 + * @param string $text
470 + */
471 + echo esc_html(apply_filters('fluent_cart/cart/checkout_button_text', __('Go to Checkout', 'fluent-cart')));
472 + ?>
457 473 </a>
458 474
459 475 <?php
460 476