maipiusenza
Forum Replies Created
-
Forum: Plugins
In reply to: [Database Management tool - Adminer] Limit access to some table/DBOk thanks,
actually it is just a test to find the right tools for a new project. If it will be realized and if I’ll need more deep customization I’ll contact you for some collaborations.
Thanks
NadiaForum: Plugins
In reply to: [Database Management tool - Adminer] Limit access to some table/DBThanks for the prompt response!
I was thinking to use CSS rather than JS to hide the unwanted table.With JS is a bit more secure than CSS, but not so much if the use has it disabled.
I was looking for a more “risk free” solution.
Isn’t possible with an action to remove part of the code or add some “if” in a loop so to hide the lines where the table name doesn’t contain some word?Moreover, as in my case I will need to edit a DB different from the one used by WP, I have to set
define('PEXLECHRIS_ADMINER_HAVE_ACCESS_ONLY_IN_WP_DB', false);
But is there a way to have the adminer page opened directly on the correct DB page as I click on “Open Adminer in a new tab”.
Somthing likehttps://mysite.com/wp-adminer?username=&db=mydbname
rather than
https://mysite.com/wp-adminer?username=
(I don’t want to edit the plugin folder files to avoid problems with updates)
Is it possible with an action too?Another question as I never used adminer before… Will it manage huge amount of data?
I could have a table with some hundred thousand of lines. I could launch a search for something like half of the data and than click on “delete” for all of them, in one click. Will it be possible or do I risk some timeout?Thanks!
NadiaForum: Plugins
In reply to: [ELEX WooCommerce Dynamic Pricing and Discounts] VERY SLOW page loadingI sent the data access by your support link but I need your IP to grant you access to the staging site.
I don’t find the source of the first error, but get this other two in admin as I open settings, first error on general end per product page, second error on moltiplicators page:
errors:
1) PHP Warning: Illegal string offset ‘name’ in (cut)/wp-content/plugins/price-by-user-role-for-woocommerce/includes/alg-wc-price-by-user-role-functions.php on line 132
2)PHP Warning: Illegal string offset ‘name’ in (cut)/wp-content/plugins/price-by-user-role-for-woocommerce/includes/settings/class-alg-wc-price-by-user-role-settings-multipliers.php on line 84
Regards
NadiaSecond test made with different settings (this time was “percentage of the product price” with a rule on cart total quantity, the first test was “quantity based discount”), same problem.
In this screenshot you can see that the cart shows the correct amounts for each item, while the same cart transformed in order gives wrong single discounts (even applying it to not included products) and a correct total order discount.
But, as said, I need the correct discounts for each single item in the order details.Any idea?
Hi, even with the upgraded version I’m still facing the problem:
The total discount is correct but each item gets a wrong reduction.
Any chance to fix this?
Thanks
It still doesn’t work…
Now the “All” setting remains saved.
But If I have two active rules, one for products in category A, and the other for products in category B, If I select “All” I should see it in products in cat. A and B, while I see it on EVERY product in my shop. Even those in categories not affected by the rules.While if I disable every rule, the offer description correctly is not visible anymore.
Forum: Plugins
In reply to: [Product Prices by User Roles for WooCommerce] Round pricesI’ve found how to round it adding the formula to:
add_filter(‘woocommerce_product_get_price’, ’rounded_price’, PHP_INT_MAX, 2 );
and to:
woocommerce_product_get_regular_price
woocommerce_product_variation_get_regular_price
woocommerce_product_variation_get_price
woocommerce_variation_prices_price
woocommerce_variation_prices_regular_price
woocommerce_get_variation_prices_hash (different function)But it doesn’t affect the woocommerce mini cart widget, any tip to change it too?
Thanks
Forum: Plugins
In reply to: [YITH WooCommerce Ajax Product Filter] Show only selected category and childsThe theme is Divi.
Th plugin shows only the items in the selected category, but the filters show the full hierarchy, so the user that clicks on a parent category expects to see other products.
I would ile to hide that parent category.
Similarly, if I am in “man” and I click on “woman” I find zero products, I should not see It at all as it is not a child of “man” cat. Or, at least, I should be able to use css to let people understand it with some visual hint.It should be easy just adding some css class to the shown categories.
Forum: Plugins
In reply to: [Save and Share Cart for WooCommerce] Blank page in some situationFor those who are facing the same problem, I fixed it editing the file
/wp-content/plugins/wc-save-and-share-cart/admin/woosasc_svg.php
it had some new line before <?php at the beginning of the file.
Just remove them and it will work.
To the plugin developers: please fix it or in next updates the problem will occur again.
Nadia
Works perfectly with
$selector = ‘#page-container’;
(Default DIVI container)Thanks!
- This reply was modified 2 years, 10 months ago by maipiusenza.
To those who need it (not thanks to plugin support!):
The label is stored only in the plugin settings, not in post meta.
Moreover, be careful because value and label are in a single string separated by ” : “, so if you use it in your “value”, you will break it (there is no check to replace the character).// get the array of the plugin settings $settingList = get_option( 'inspire_checkout_fields_settings' ); // get value : option of the desired field (in this case "my_field_name" under "order" block) $myString_value_label = $settingList ['order']['my_field_name']['option']; // get only the label $myString_label = substr($myString_value_label ,strpos($myString_value_label ,' : ')+3);
Hope could be helpful.
Nadia- This reply was modified 2 years, 10 months ago by maipiusenza.
Thanks, but it is a select, with your code I get the label of the field, not of the option:
https://snipboard.io/CZ5hcN.jpgI need the code for the label indicated by the red arrow
Forum: Plugins
In reply to: [WooCommerce] Front end shows empty category while containing productsno please, remove the resolved mark, it is not…
I’m just too busy in these days to do the tests, but I will, the problem is present and unsolved.