-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, interesting question. In your case I suggest to override At this point, you may interested to preview and test our upcoming v6 version which is closed to ship and has several new features/improvements in cart area and string handling.
Use a filter in child's /**
* Change cart offcanvas title
*/
function change_cart_offcanvas_title($title) {
return 'My Cart';
}
add_filter('bootscore/offcanvas/cart/title', 'change_cart_offcanvas_title'); "To find out your shipping cost, please proceed to checkout." has been deleted. Use a hook to drop a custom notice: /**
* Offcanvas cart footer note
*/
add_action( 'woocommerce_widget_shopping_cart_before_buttons', 'bootscore_cart_footer_note' );
// Function for `woocommerce_widget_shopping_cart_before_buttons` action-hook.
function bootscore_cart_footer_note(){
// action...
echo '<div class="small text-body-secondary mb-3">Custom offcanvas cart footer notice</div>';
} Add or remove something in your cart to trigger AJAX and view changes. |
Beta Was this translation helpful? Give feedback.
Hello,
interesting question. In your case I suggest to override
template-parts/header/actions-woocommerce.php
and/woocommerce/cart/mini-cart.php
in your child and roughly hard-code those strings. Then add or delete something in your cart to trigger AJAX.At this point, you may interested to preview and test our upcoming v6 version which is closed to ship and has several new features/improvements in cart area and string handling.
bootscore
Use a filter in child's
functions.php
to change offcanvas cart title: