mpantogi
Forum Replies Created
-
Thank you
Thank you Very much, It works fine.
You are awesome.Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Product shows free in wishlistin your case you can find the word ‘FREE’ in wishlist-view.php and change it to have SOON.That’s only.
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Product shows free in wishlistI found the solution,Please delete or comment the above lines in wishlist-view.php, and add the below code:
<?php if( $show_price ) : ?>
<td class=”product-price”>
<?php
if( is_a( $product, ‘WC_Product_Bundle’ ) ){
if( $product->min_price != $product->max_price ){
echo sprintf( ‘%s – %s’, wc_price( $product->min_price ), wc_price( $product->max_price ) );
}
else{
echo wc_price( $product->min_price );
}
}
elseif( $product->price != ‘0’ ) {
echo $product->get_price_html();
}
else {
echo apply_filters( ‘yith_free_text’, __( ‘Free!’, ‘yith-woocommerce-wishlist’’ ) );
}
?>
</td>
<?php endif ?>Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] Product shows free in wishlistHi,
I have the same issue, but only for grouped products i get ‘Free’
My problem appears suddenly someday. Maybe i have updated the plugin. It shows me a text ”free” in grouped products in wishlist view,
it doesn’t show me the price as it did before.
Also, i have found, from where the issue came, i provide you the lines of the code in wishlist-view.php.<?php if( $show_price ) : ?>
<td class=”product-price”>
<?php
$base_product = $product->is_type( ‘variable’ ) ? $product->get_variation_regular_price( ‘max’ ) : $product->get_price();
echo $base_product ? $product->get_price_html() : apply_filters( ‘yith_free_text’, __( ‘Free!’, ‘yith-woocommerce-wishlist’ ) );
?>
</td>
<?php endif ?>Is any other filter, which i can use and get the grouped prices and not the text ”Free”?