clementrectangle
Forum Replies Created
-
Forum: Plugins
In reply to: [Abandoned Cart Lite for WooCommerce] TranslateI’m trying to do the exact same thing, just leaving a message to follow replies ๐
Forum: Plugins
In reply to: [MyRewards] wr_cart_points_preview shortcode not workingD’accord je vais faire รงa, comme il s’agit d’une fonctionnalitรฉ qui si je ne m’abuse est prรฉsente aussi sur la version gratuite, je pensais que รงa avait sa place…
Yes I know, I can’t warp my head around this neither ๐
When I desactivate the plugin, or check the checkbox to disable automatic files deletion, the problem stops.
What is bugging me is that it’s not a file that is being deleted and recreated, it’s the “wpcf7-files” folder itself. If it was a file, I would have supposed the same : someone is uploading and deleting a file again and again.
And the strangest thing in this is when the folder gets recreated wiuth another linux user as owner. The website is run by the www-data user, and all files created by WordPress or plugins are created with www-data as owner, but sometimes, randomly, the “wpcf7-files” folder is recreated but owned by one of our admin users… That particular problem may be with our server configuration, but I’ve never seen that happen.
Actually, that’s the detail that pointed me to the problem : when the folder is owned by the admin user, it’s not writable anymore by www-data, so file upload stops working on the form.
I disabled automatic deletion anyway, and I’m now cleaning the “wpcf7-files” folder with a cron job, so this is not urgent, is working like this, but I was very curious to understand what happens ๐
Ha !
With that code, I can easily disable SVI for simple products only and get my Alt texts back ๐
Thank you for the help, very appreciated !
PS : If anyone has the same problem and find this thread : the very easy condition to set in David’s snippet is : if ($product->is_type( ‘simple’ ))
- This reply was modified 3 years, 11 months ago by clementrectangle.
- This reply was modified 3 years, 11 months ago by clementrectangle.
I tried to add the following elements to simple products forms as a workaround, by modifying default simple.php woocommerce template :
– the “variations_form” class on the form
– the “data-product_id” attribute on the form (filled with the right ID of course)
– a “reset_variations” button in the form, with display:none; since it’s not usefull on simple formsBut no luck, the error is still there…
Hi,
The problem is that most products on the website are not variable product, but simple ones… So it’s normal that the variable product form isn’t there.
And I just noticed that the fallback to the default theme display is a PRO feature. I also noticed that we can disable SVI for a specific product in the Advanced tab, but since it’s not accessible from the bulk modify, we would have to disable it on every products one by one…
It seems to me that it makes the free version of your plugin pretty unusable ๐
Isn’t there any way to fix this error for simple products, so that Alt texts are correctly applied to product images ?
Thanks ๐
(If I can be of any help let me know).
- This reply was modified 3 years, 11 months ago by clementrectangle.
Forum: Plugins
In reply to: [Advanced Custom Stock Status] Translate stock statusHey guys,
I was wondering the same thing and found a solution : in WPML, go to string translations page, and at the very bottom, click on the “translate texts from admin panels” blue link (or something similar, my WPML isn’t in english).
There, search for “wc_slr”, and you should find all the plugin fields. Check the ones you want to translate, and click on the “Add to string translation” button.
Now, in string translations, search for “wc_slr”, and you should see the fields being translatable ๐
Forum: Plugins
In reply to: [Advanced Order Export For WooCommerce] Too much height on list of fieldsI’m using a custom theme I developed myself, and I only use 2 or 3 CSS rules for the admin (related to ACF display), none are applying on your plugin page.
Here’s what it looks like on my side : https://imgur.com/qtz5OND
All the CSS rules I see on this block are coming from your CSS file : /plugins/woo-order-export-lite/assets/css/export.css?ver=3.2.2
Maybe there is something going on with the top part with “add products as” and “add coupons as” ?
Forum: Plugins
In reply to: [Hide Shipping Method For WooCommerce] Hide shipping rules not workingI had a similar problem recently with FS, and they updated Hide Shipping plugin to fit the new single method.
After the update, I had to do some black magic for everything to work, I :
– opened and re-saved every delivery method
– removed all methods from my Hide Shipping rule, save
– put all the methods back, savedIt seems it worked… even if I still have problems, I don’t think they’re related to this issue…
Yes, it indeed works fine now, thanks a lot for the modification ! ๐
Hi,
Thanks a lot for your investigation ! You were right, it’s just an hardcoded list of usable methods.
I gave this information to the Hide Shipping Method developer, I hope he’ll update this soon ๐
Hi again !
I’ve more informations about this, a dev of the other plugin looked into the issue and found how to resolve the problem ๐
In the class-woo-hide-shipping-methods-admin.php file, you’d have to add a new entry to the $whsm_all_cslist array : “flexible_shipping_single”.
You already got “flexible” hardcoded here, that was the slug used by FS3, but the new slug used by FS4 is flexible_shipping_single.Here’s the line : https://plugins.trac.ww.wp.xz.cn/browser/hide-shipping-method-for-woocommerce/trunk/admin/class-woo-hide-shipping-methods-admin.php#L1386
Could you please make this modification and update your plugin ?
Thanks !
Hi,
The plugin is : https://ww.wp.xz.cn/plugins/hide-shipping-method-for-woocommerce/
Nobody is misleading me, I tested it myself by downloading previous versions of the plugins :
– with Flexible Shipping 3, any version of Hide Shipping Methods detects flexible shipping methods and can show/hide them conditionnaly
– with Flexible Shipping 4, no version of Hide Shipping Methods detects the methods, so I guess other plugins won’t neither ?I guess shipping methods were declared differently in FS3, and the new way of declaring them in FS4 is preventing other plugins to see them as shipping methods ?
Hi,
After further investigation, it turns out it’s not a modification in your plugin that changed the previous behaviour, but a change in the shipping plugin we use…
The plugin is : https://fr.ww.wp.xz.cn/plugins/flexible-shipping/advanced/
They changed their way of managing Shipping methods with version 4… With the last version of Flexible Shipping 3 (3.16.5), the flexible shipping methods were displayed in the โSelect shipping methodโ dropdown of your plugin.
But with version 4 and their new way of managing Shipping methods, they’re not detected anymore ๐
I guess I’ll have to find an other “2 plugins combo” to achieve what I’m trying to achieve, since they already answered me to see this with you… thanks anyway !