SomewhereWarm
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Product Dependencies] Incorrect use of _n()Hey @tobifjellner,
Thanks for the tip!
So from what I can tell
_n
should not be used to handle the “1” case at all?But if
_n
only has 2 arguments, then how do translators handle languages with multiple plural forms, e.g. different forms for 2, 3 and >3?Cheers,
Manos- This reply was modified 7 years, 1 month ago by SomewhereWarm.
Forum: Plugins
In reply to: [WooCommerce Product Dependencies] New translationHey @legato9
Thanks you for contributing ??
We cannot review/approve translations ourselves — translation submissions are reviewed by the www.ads-software.com team. Word of warning: Be prepared for a long wait!
Cheers,
Manos
SomewhereWarmForum: Plugins
In reply to: [WooCommerce Product Dependencies] Feature RequestHey @jasmithartist
Thanks for the kind words!
We are planning to add a category-based dependencies in version 1.2.0 ??
You can grab a pre-release version from https://github.com/somewherewarm/woocommerce-product-dependencies
Feel free to share feedback once you’ve had a chance to test it.
Cheers,
Manos
SomewhereWarmForum: Plugins
In reply to: [WooCommerce Product Dependencies] FeedbackHi again,
A
gettext
filter would work but it’s not the most maintainable or efficient way to do it. If you want to do it this way, that’s fine by us — but this is not something we’d be happy to recommend ??String modifications are best handled via localization: https://developer.www.ads-software.com/plugins/internationalization/localization/
Cheers,
ManosForum: Plugins
In reply to: [WooCommerce Product Dependencies] FeedbackHey there,
You can use a plugin such as Loco Translate to edit text strings. While it may sound strange to “translate” in your own language, this is the best way to customize plugin text strings, as the edits will not be overwritten after updating.
Cheers,
ManosForum: Plugins
In reply to: [WooCommerce Stacked Product Layout] Move add to cart above stacked list?Hey @espressivo,
For Product Bundles we have a free plugin that can do this — https://github.com/somewherewarm/woocommerce-product-bundles-top-add-to-cart-button
For anything else, you’d need to write some custom code as that part is outside the form (so adding a button there will not work on its own without throwing some JS into the mix).
Forum: Plugins
In reply to: [WooCommerce Stacked Product Layout] WooCommerce Dynamic Pricing pluginHey @fauerflora
There shouldn’t be any issues between the two.
If Stacked Product Layout fails to work, the only possible explanation would be that your theme is already modifying the default action hook priorities of WooCommerce.
Cheers,
ManosForum: Plugins
In reply to: [WooCommerce Product Dependencies] gettext filter, text domainHey @colin
Apologies for the delay ??
I am not sure what you are trying to achieve with this code, but if you want to localize or modify a WP plugin string you could create a translation using PoEdit or perhaps a plugin such as Loco Translate.
Using gettext filters to do this is a tedious, slow approach that’t not portable at all.
Is there a reason why you can’t use po/mo files?
Forum: Plugins
In reply to: [WooCommerce Product Dependencies] Cart remove of dependable productThere’s no way you can add this option to your plugin? It kind of makes sense to me to have it.
Noted. We’ll discuss this and if it makes sense in terms of UX we will consider it. Otherwise you could perhaps work with a developer to implement this for you?
Forum: Plugins
In reply to: [WooCommerce Product Dependencies] Cart remove of dependable productHey @tripatwhat
What you describe sounds like a bundling relationship, similar to what WooCommerce Force Sells is doing.
That’s not the purpose of Product Dependencies, so maybe you’d want to look at WooCommerce Force Sells, or perhaps WooCommerce Product Bundles?
WooCommerce Product Dependencies cannot be used to create quantity rules like this.
Unfortunately I am not aware of any plugin that could do this. You could perhaps look into having this functionality implemented for you by a developer with some solid WooCommerce experience?
Forum: Plugins
In reply to: [WooCommerce Product Dependencies] Feature RequestHey Jay,
Awesome, could you please send a pull request?
Note that SomewhereWarm is currently understaffed and we have a bunch of things on our backlog, which means I will not be able to review/merge your PR within the next couple weeks.
Cheers,
Manos- This reply was modified 7 years, 7 months ago by SomewhereWarm.
Forum: Plugins
In reply to: [WooCommerce Product Dependencies] Feature RequestHey Jay,
It’s quite tough to label this on a difficulty scale that’s mutually understood, or provide any tips without actually solving this for you ??
– If you want to make categories dependent on other categories, it can’t be done by modifying existing code — you’d need to code a dedicated page to define category-based Dependencies and write some rule-based logic to handle the validation.
– If you want to make specific products dependent on products from within a category, then you’d definitely be looking at less work.Cheers,
Manos
SomewhereWarm- This reply was modified 7 years, 7 months ago by SomewhereWarm.
Forum: Plugins
In reply to: [WooCommerce Product Dependencies] Feature RequestHey Jay,
(1) – You might want to use a plugin such as Loco Translate to modify that string instead of making changes to plugin files directly. If you do a google search on “WordPress plugin localization” you should get quite a few helpful results.
(2) – Category-based dependencies are a great idea indeed! Would love to add that feature in the future. Unfortunately this isn’t something that’s in our short-term plans.
Cheers,
Manos
SomewhereWarmForum: Plugins
In reply to: [WooCommerce Product Dependencies] will it work with UMPHey @ashukarwar
Hard to say without having a copy of that other plugin. WCPD is a free plugin though, so my best recommendation would be to just try it and see if it works for you.