To fix this guys/gals, go to yith-woocommerce-product-add-ons/includes/class-yith-wapo-cart.php change base price text there.
Adios,
Red
Hi Red,
Is not recommend to makes changes on the plugin’s core files because any change will be lost on the next update.
We added a hook that will allow you change the label by using a function in the functions.php of your theme. This hook will be available on the next update release. Once you have it, use the following functions to change it:
if(!function_exists('yith_wapo_change_label_base_price')){
add_filter('yith_wapo_base_price_cart_data', 'yith_wapo_change_label_base_price');
function yith_wapo_change_label_base_price($args){
$args['name'] = '-Your name-';
return $args;
}
}
You only have to change “-Your name-“.
-
This reply was modified 4 years, 3 months ago by
Pablo Pérez.
Hello Pablo,
Is there any way to remove the base price information completely?
We have a situation where the Base price is always zero (https://eatcleanachara.com/shop/custom-meal/ ), so it’s not necessary to show that on the cart/checkout/orders page
Not a priority but would be a major upgrade: ability to display/hide addons which don’t change product price on cart/checkout/order pages 🙂
Thanks
-
This reply was modified 3 years, 10 months ago by
samthedev.