garrettm30
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Download Counter] Is there a solution for large files?No problem. I found it twice in
inc/functions-core.php
, once for locally hosted files at 342 and once for remotely hosted files at 387. I did not test the possible solution for remote files.Thank you for looking into this, especially considering this is a free plugin. That’s why I try to go as far as I can on my own before reporting.
Forum: Plugins
In reply to: [Simple Download Counter] DONOTCACHEPAGE Breaks Cache on Entire SiteThank you for fixing this issue. I am putting it through testing now as I move forward on transitioning to your good, simple plugin from another solution we have used for the past seven years that just gets more and more bloated over time.
Forum: Plugins
In reply to: [WooCommerce] Product names are not filtered with the_titleFirst, I assume you mean the products are filtered alphabetically.
No, it has nothing to do with sorting alphabetically, but I do appreciate your kindness in replying with a solution to the need you thought I had. What I am talking about is applying the WordPress filter
the_title
to the product titles. Default WordPress uses this hook to do things like change straight quotes to typographical quotes and apostrophes, and the filter is also available for other uses, such as in our case we apply the appropriate narrow no-break spaces according to French punctuation.In most cases, WooCommerce does apply the filter to product names for frontend display, but not in these two cases I have mentioned.
Changing the product titles themselves is a partial workaround, but it is not ideal because it breaks searches in default WordPress. A user types L’Eglise on a standard keyboard and a product titled L’Eglise will not match. (Fortunately, we use Relevanssi Pro for improved searches, so we do not have this issue.)
I thank you for the link to Github. I misunderstood about where to post requests for improvement. I will take the issue there and consider it resolved here.
Thank you. That’s very kind of you.
I am also interested in this. I have made a single-line edit to my copy of the file that seems to work, but it is not backwards compatible. This was a great plugin that solved some missing functionality for our needs. I would be glad to see it supported.
Forum: Plugins
In reply to: [WooCommerce] Getting subtotal to show on edit order pageI am interested in this as well. Why is it of use? In my case, it would be helpful for filling out customs forms, where I need to put the pre-shipment value of the package.
It is easy to figure with basic subtraction, but I think it should be easy to add to the calculate totals logic that already exists. In fact, subtotal already shows in checkout and invoices.
I found this thread when I was looking for a solution for the same notice in my own custom plugin after the Woocommerce 3 update. For the sake of the plugin author or others looking for the answer, here is the fix.
Search the plugin files for
$order->payment_method
and replace with
$order->get_payment_method()
I found the answer because this is the very thing Woocommerce did in their own default gateways. When I made this change to my own plugin, that took care of the notice.