frolovsite
Forum Replies Created
-
Unfortunately, this is not the solution that could satisfy me.
Please answer honestly, is it really impossible to implement such a functionality, or in your opinion is it simply impractical? Because I have been looking for the reason for this behavior for a couple of days, but so far without success. Is it worth spending more time on this?I know this, but I’m afraid I don’t have enough knowledge to do it without interfering with the wordpress core. Maybe you can suggest how to do it?
If someone needs to fix a similar problem, then you need to go to the file – /wp-admin/includes/template.php
And replace:echo "\n<option value='" . esc_attr( $key ) . "'>" . esc_html( $key ) . '</option>';
On the:
echo "\n<option value='" . esc_attr( $key ) . "'>" . esc_html( urldecode( $key ) ) . '</option>';
Forum: Plugins
In reply to: [Unit Price for WooCommerce] Problem displaying suffixes in the mini cart.Thank you!!! Now it works correctly ??
Forum: Plugins
In reply to: [Unit Price for WooCommerce] Problem displaying suffixes in the mini cart.Unfortunately, I did not find a way to disable caching, but I created a new demo store in which I installed only woocommerce and your plugin. Created two products, variable and simple. The problem hasn’t been resolved.
ON THE ARCHIVE PAGE:
If you add a simple product to the cart, then the price suffixes in the mini-cart are displayed correctly.
If you add a variable product to the basket, then the price suffixes from the mini-basket disappear.
If you add a simple product again, then the price suffixes are displayed correctly again, including for a variable product.Given that such a wonderful plugin is completely free, I cannot demand a solution to this minor problem. It is important for me to know that the problem was not my fault.
I’m sorry for the importunity, but please clarify, when you add a variable product to the cart from the archive page, are the price suffixes displayed correctly?
Demo – https://demo2.prostoy.site/Forum: Plugins
In reply to: [Unit Price for WooCommerce] Problem displaying suffixes in the mini cart.There was Deli. Installed storefront, disabled all unnecessary plugins. Did not help. Please clarify, when adding variable products to the cart from the archive page, do you display all suffixes correctly in the mini-cart? So the problem is on my end?
Forum: Plugins
In reply to: [Unit Price for WooCommerce] Problem displaying suffixes in the mini cart.If, after adding a variable product, you add a simple product to the cart, then the suffixes will be displayed.
Thanks a lot for the answer!
It was important for me to know that by default the button should not work in case of an incorrectly specified quantity of goods.
I completely forgot that I wrapped the “add to cart” button with an additional block. The problem was solved by adding an additional parent() method here:
qty = $button.parent().find( ‘input.qty’ );I apologize for the wasted time!
Forum: Plugins
In reply to: [Unit Price for WooCommerce] Problem with products added by shortcodeThank you for your reply! But this is not the solution that could satisfy me.
With my meager knowledge of programming, I had to spend a lot of time searching for the problem. But the problem has been on the surface all this time.
The main page (is_front_page()) simply does not have the “woocommerce_after_shop_loop” hook, to which the “wc_archives_quantity_fields_script” function was connected, responsible for the “data-quantity” attribute. Now I have connected this function to the footer and everything seems to work as it should. Maybe I’ll find a better solution later.Thanks for the cool plugin!
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Review search not workingUnfortunately, deactivating plugins and switching to storefront did not help.