Forum Replies Created
-
AuthorPosts
-
Marco
ParticipantOne question more:
I am running wc Version 2.6.13 and wc vendors Version 1.9.8 and
wc vendors pro Version 1.3.7.
Why I can not see the update to 1.3.9?Do you have a clue?
Marco
ParticipantHey Anna,
thats sounds fantastic 🙂
Do you have a time frame when we can expect 1.4?
Thanks!
Marco
ParticipantI found out how its working. Please close the request-
Marco
ParticipantHi Anna,
Thanks for your help!
The delivery time is from the Plugin “WooCommerce Germanized”. But getting the delivery-time of a Product is not my Problem here, because I have already found a function that returns the delivery time of a product. but of course it needs the products id as a parameter:
get_delivery_time($post_id);
So my problem in this case is just to get the product-id of the product, that is edited by the user (in his/her dashboard).
So far I thought, this could be done using get_the_ID(), but unfortunately that function does not return the post-id when I’m inside a function which is hooked to the wcv_product_options_shipping action.
(The post id in my test-case would be 1211 and it returns 646, which is the id of a page-post_type).I would guess changing the double-qoutes to single quotes won’t change anything in this case, because the only difference is, that variable-substitution isn’t done when I’m using single quotes. But I tried it anyway – still the same problem.
The function wc_get_product($id); gives me a product-object (which would be all I need), but it requires the products-id as a parameter, which is just the information I’m trying to retrieve.
I could probably hook a function to another action like wcv_after_general_tab, get the product-id there (which actually works fine..) and save it to a global, but that would not be a very clean solution IMO. I would really prefer any way to just get the product-id inside of the wcv_product_options_shipping-hook-function.
Marco
ParticipantHello WC Vendors Team,
could you please shortly respond on our question!
Thanks a lot!
Marco
ParticipantHey Anna,
thanks a lot again. A lot of things are now in German because of the templates in the new map bb-marketplace 🙂
The other things I will discuss with buddyBoss.
Marco
ParticipantThanks a lot!
I try to translate WC Vendors into German. Can this also be the problem that a few parts within the dashboard are not translated correctly?
Does BuddyBoss has here also a easy solution? -
AuthorPosts