afsl01
Forum Replies Created
-
I meant also be able to round up the left part (the integer part).
Thanks! now it works properly
My products have set a child and a parent category (which is normal).
In your plugin settings:
– If I only set the parent category it does not work.
– If I set both parent and child categories it only work if in the cart is at least one item of each setted child category, if I add one that does not have setted its child category in your plugin it does not work.
– If I set both parent and more child categories than the ones from the products added to the cart it does not work.
Please check it, because it should also work if you only set the parent category.It does not work in your demo either, please replicate the scenario.
- This reply was modified 5 months, 2 weeks ago by afsl01.
Forum: Plugins
In reply to: [Stock Dependencies for WooCommerce] Can’t place new ordersI’ve solved this following the response you gave to another user on this topic:
“checkout -> There are not enough units”
I quote your response:
In your WordPress admin, navigate to WooCommerce > Settings > Products > Inventory and check the “Hold stock (minutes)” setting. This needs to be zero (or empty).
- This reply was modified 3 years, 1 month ago by afsl01.
Forum: Plugins
In reply to: [Stock Dependencies for WooCommerce] High amount of QueriesHi Kevin, sorry for the late response.
Ive updated to v1.4 and saw no difference at first.
But today Ive made some changes, and now I see that the queries has been seriously reduced.
I was using WP Sheet editor plugin to bulk edit stock dependencies and so the string format before updating to V1.4 where like this: {“enabled”:true,”stock_dependency”:[{“sku”:”_ON900A-256″,”qty”:”1″}]}
As today I was making some new changes on some new added products I ve found that the strings format have changed to this on V1.4:
{“enabled”:true,”stock_dependency”:[{“sku”:”_ON900A-256″,”qty”:”1″,”product_id”:4604}]}
Then Ive looked at the changelog on Github and found that the approach you used on this new update added “product id” to the stock dependencies rules.
So therefore Ive replaced the rules of an old product with this new format and suprise, Ive saw the queries are now much less than before (Eg on a single product page the queries went from 370 to 230 aprox)
Now I have to redo a lot of this rules to update to the new format.
Thanks you so much for your help.
Best regards.`Forum: Plugins
In reply to: [Stock Dependencies for WooCommerce] High amount of QueriesHi Kevin.
Here are the screenshots again.
https://drive.google.com/file/d/1RjcSCY-94zRkP5TuyB7aag_pUzQP451A
https://drive.google.com/file/d/1WFFWCTSziioMW0TAXOH3fVvUoSyNhNxq
https://drive.google.com/file/d/1Wj9vMfC6A_P0WOAoQip45kOhPA2vI3dLFor the shop page, the worst scenario could be the grid view displaying up to 16 products, each of one have arround 10-18 variations and each variation have only 1 stock dependency.
Therefore on a single prduct page there should be up to 18 queries for the product with most variations.
Thanks in advance.