-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vendor Shipping do not show for some product, but new entered products does #874
Comments
There is something to do with this /dokan-pro/includes/functions-wc.php Line 1406
} Is there any way i can debug and find whether each product do contain post_author ID? As seems like some of my product do not, which is very weird.... |
Finally found the issue, it seems like the variation if created by the admin, the author will be mark as admin, instead of vendor themselves, as such, the shipping will return the admin as arthur_id, which will not match any vendor shipping. Im not sure how to fix from the script, what i can do is change all the variation author to the vendor ID via mysql, but this is painful, hope you guys can suggest a better solution. |
I applied this fixed, hope this will help others, i replace this line:
With this:
/* |
Thank you, i was hoping that this will solve my issue, too. I use single vendor shipping, since last update there is no vendor shipping shown at old products but on new products it works like it did before ... |
i have to stick to their previous version for this to work, the developer seems didn't fix this on their latest version, and this changes won't help on their latest version. Not sure why. |
I can ensure that from latest Version 3.2.4 and pro 3.2.1 this issue still the same not fixed. |
@henmaker if you still getting the issue please submit a ticket to support team with your site details, we will check it. |
I need to point out that why your latest version is not fixed because your
That from /dokan-pro/includes/functions-wc.php This check will not return the variation post parent ID to return the author ID to match the shipping package. My current fixed is, i applied this on /dokan-pro/includes/functions-wc.php function dokan_custom_split_shipping_packages( $packages ) {
But im sure you guys. have better way to fixed this. |
It is weird that the vendor shipping do not display for some product, but new inserted product does, any idea why this happen?
The text was updated successfully, but these errors were encountered: