Hi there,
Your plugin is causing an issue on Divi 4.24.3 and possibily other versions, under PHP 8.2+
The error is the following:
[09-Apr-2024 12:08:21 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_meta() on bool in <ABSPATH>/wp-content/plugins/elex-product-price-custom-text-before-after-text-and-discount-for-woocommerce/includes/SettingsController.php:433
It also impacts line 435.
I’ve replaced the lines with the following:
433: $custom_check_enable = $product_info ? $product_info->get_meta( 'elex_ppct_custom_fields_checkbox' ) : 'no';
435: $custom_discount_checkbox = $product_info ? $product_info->get_meta( 'elex_ppct_custom_fields_discount_type_checkbox' ) : 'no';
I am not sure why you are trying to fetch the product once again in line 432, since normally you should already have the product passed in the second function parameter.
Either way, if you could get a chance to investigate this and fix in in next releases, it would be great.
Best regards,
Adrian
In the last update, the price of the product is shown again at the normal price but crossed out, the type of discount in the preferences is selected, the option without discount and even so the text continues to appear, I have cleared the cache and nothing.. please help
]]>Hi, your plugin works well with simple product.
When I have a variable product, for example a product width different colors; the product have the same price.
I compiled the global discount, the same the simple product, but the price doesn’t change; it doesn’t change also if a set a discount for each variation.
The plugin works well only if the variation have differente prices.
How I could fix this problems?
Thank You
Best Regards
]]>When there is no discounted price available, the regular price is displayed twice: once with a strikethrough and once without.
I am using woocommerce and elementor, and everything is up to date.
]]>When the plugin is activated it gives a problem with products which allready having discount in Woocommerce (i only use the plugin for to add m3 to some of my productprices).
For example in the backend the regular price is 33,95. The discount price is 21,95. In the frontend the regular price is all of a sudden 41,79. I also having problems with another plugin i am using (woo discount rules).
]]>Will this plugin become HPOS compatible? Since now it seems that it is not?
Thanks,
Best Regards
]]>Hello,
I need your help. Please check on why the suffix did not shows up as I marked in the attachment. My assumption was that the error only occur on the product that have 1 product variant, but now I found that some of the multi variant product also not showing the suffix.
Please help me as soon as possible
]]>Dear support Team,
After activating the plug-in, the gross price for discounted products incorrectly calculates for the value before the discount. Where is the problem and how to solve it?
link to my product: https://ginglas.com/sklep/akcesoria/dekoracje/bosa-primates-kandti/
screen shots from admin panel:
https://ginglas.com/screen1.png
and frontend with my comments: https://ginglas.com/screen2.png
Hi.
My site goes white (error, but nothing appear) on updating to 2.0.7 with Woocmmerce 7.8.1.
:’|
I deativeted it, but I need to restore this plugin because it’s awesome.
Thanks for some suggestions.
]]>Price Change after any update on Product
]]>Hello,
We just want to add a prefix to the “sale price” but we want to get rid of the strikethough “price”.
Please note that we are using the latest plugin version.
Hello there,
I have some membership feature active on website and i want to display a custom price after the normal price using your after suffix option.
My normal price is : 2$
And i want to display using your plugin :Buy membership and you can get this product with 1$
<currentprice – already displayed in website> < br> Price with membership <shortcode current price – 25% discount>
Is there a shortcode that i can use it ?
Thx!
]]>Is there a way we can call either the WordPress default Price display suffix or if set, a custom suffix with this plugin on the Cart and Checkout pages? It currently works fine for both Shop and Product pages, but nothing shows once we get to the cart or checkout.
Thanks
Hello,
we are using your plugin just for adding a suffix.
We do not use discount settings. Even though we don’t set discounts, we get double prices that are not different (the price with no discount is the same as the final price) as you can see it here https://www.dropbox.com/s/ip8n32vg1qbacsa/hide_discount.png?dl=0 . We would need to disable this double display. However, I don’t see this option in your plugin’s settings.
]]>Hi
im using version 1.2 and all work fine. With the new updates i see the price like this:
4,50€ 4,50€ / kg
we are using the plugin to add sufix like / gr in the prices
thanks
]]>Hello,
go back to older version, because with new version price looked like this;
35EUR 35EUR
Same price one regular, another same, but crossed
]]>Hello, in the last update 2.0.0 my simple products, has been modified and I leave as offer price and not to be indicated to the product an offer price, but I get the same price of the duplicate product as an offer, and uninstalled and reinstalled and still leaves me the same, I had to go back to the previous version so I do not get out
]]>Hello,
thank you for the plugin!
Is there possibility to input specific input for specific product category?
]]>Hi guys, when I add a eg 12.5 percent discount, it states to add a valid number being 12 or 13, when I need 12.5, I was hoping this would be possible to add as an option for a future update.
Thank you
]]>Hello,
Following the installation of the plugin no more prices are displayed on the site in the archives and the product page. I removed the plugin but the problem still persists.
]]>Hi,
I would like to remove variable product for range price regarding variable products.
When ELEX WooCommerce Product Price Custom Text (Before & After Text) and Discount the following from functions.php is workable however as soon as activate the plugin the price range is shown altought I would like a From price : A partir de 33,35€ HT
// PAGES PRODUIT : Afficher un prix ? A partir de ? pour les produits variables
/* Afficher "à partir de" pour les produits variables */
add_filter( 'woocommerce_variable_sale_price_html', 'wpm_variation_price_format', 10, 2 );
add_filter( 'woocommerce_variable_price_html', 'wpm_variation_price_format', 10, 2 );
function wpm_variation_price_format( $price, $product ) {
//On récupère le prix min et max du produit variable
$min_price = $product->get_variation_price( 'min', true );
$max_price = $product->get_variation_price( 'max', true );
// Si les prix sont différents on affiche "à partir de ..."
if ($min_price != $max_price){
$price = sprintf( __( 'A partir de %1$s', 'woocommerce' ), wc_price( $min_price ) );
return $price;
// Sinon on affiche juste le prix
} else {
$price = sprintf( __( '%1$s', 'woocommerce' ), wc_price( $min_price ) );
return $price;
}
}
Any hook ?
Regards,
Emmanuel
]]>Hi,
Q1-I just wanted to ask is there a way to make the text with link for example by:Company->(Link) that sends you to that page.
Q2-Can you add color to the text?
Thanks
]]>Hi there
I would like to find out is it possible to apply prefix and suffix only on shop page not on the product page
]]>Hi,
Is there a limited number of products we can use the plug-in (ELEX WooCommerce Product Price Custom Text (Before & After Text) and Discount)?
Thanks
]]>Hello,
Pls how can i reduce the prefix text font size. It is too big. I want it to be small like size 8
Hi There!
Just came across your plugin and I’m wondering how I can remove the add prefix from the bottom Woocommerce variation price. The text that is in red at the top is fine.
Thanks,
Maximilian
]]>I installed this plugin to create a label after price, after installing price and cart button not showing on the website.
]]>I have added a prefix of ‘Recommended Price’ and we are using wmpl for translation. May I ask which string should use to translate this ? thanks!
]]>Do you think that it would be possible to add the ability to set a different price prefix/suffix for variable products?
I know there is the option for a custom variation discount by price or %. But it would be great to also have the option to have a text prefix/suffix.
Thank you.
I have YITH Catalog Mode enabled, because most of my products don’t have prices (inquire for pricing). On products with no price, the Prefix text I assign with ELEX still shows up even when no price number is present, which looks weird. Is there any way to make the custom text contingent on there being a price present?
]]>