Forum Replies Created
-
AuthorPosts
-
honeyParticipant
Hello,
I have little problem. When using the “order action” email is triggered twice. I guess it is from content/plugins/wc-vendors/classes/admin/emails/class-notify-vendor.php at the following line.
function __construct()
{
$this->id = ‘vendor_new_order’;As I mentioned above I have used this class to make a new one (say class-notify-vendor-onhold.php) for the on-hold. Everything works fine when email is automatically triggered while order is on-hold. I think it has something to do with the id because both has same id. I have tried to give another id for the second one, but when I do so, I can’t find it (Notify vendors onhold) on the dropdown list of “order action”.
I also tried to adjust the following in content/plugins/wc-vendors/classes/admin/emails/class-emails.php line 104, to include the id of my second email as follows but that won’t work either
public function order_action( $available_emails )
{
$available_emails[ ] = ‘vendor_new_order, vendor_new_order-onhold’;return $available_emails;
}
Do you have an idea, what I could do to make it work?honeyParticipantdon’t bother anymore. I have fixed that. I have created a new email following the template for notify-vendor. Thanks anyway. Your suggestion has pointed me towards the right direction.
honeyParticipantHi @Anna, thank you for your reply there is indeed a hook for that “woocommerce_order_status_pending_to_on-hold_notification” but the problem is that it is sending out the notify vendor email (which is normally sent out when order in processing). I only want a copy of admin notification (which is “new order”) to be sent to vendor.
Do I have to create new email? so that the one sent out to vendor when on-hold is different from that of the one sent when order is in process.
If yes, how can I do this?looking forward to your response, thanks in advance
honeyParticipantI am interested
honeyParticipantSince Multisite is not supported, can I use same license key on multiple sub-domains?
honeyParticipantok thanks
August 22, 2016 at 3:33 pm in reply to: Restrict client/Buyer to order from one vendor at a time #40747honeyParticipantDo you mean file to include the code in? If yes, it is the function.php of your theme
July 25, 2016 at 6:37 pm in reply to: Restrict client/Buyer to order from one vendor at a time #38166honeyParticipantI am making use of shipping weight, that is what is accepted in my country. Each shippment has minimum charge per box. Since all sellers are not at the same point, the calculation without separating the cart will be wrong.
July 24, 2016 at 9:50 pm in reply to: Restrict client/Buyer to order from one vendor at a time #38069honeyParticipantFinally, I found the solution after reading and reading…I will like to share this, probably it will be useful to someone. This solution actually removes the cart of previous vendor#1 and items of vendor#2 are added to cart .
http://stackoverflow.com/questions/29092534/plugin-woocommerce-how-to-allow-add-to-cart-products-from-authoradd_filter( ‘woocommerce_add_cart_item_data’, ‘woo_custom_add_to_cart’ );
function woo_custom_add_to_cart( $cart_item_data ) {
global $woocommerce;
$items = $woocommerce->cart->get_cart(); //getting cart items
$_product = array();
foreach($items as $item => $values) {
$_product[] = $values[‘data’]->post;
}
if(isset($_product[0]->ID)){ //getting first item from cart
$prodId = (int)$_POST[“add-to-cart”];
$product_in_cart_vendor_id = get_post_field( ‘post_author’, $_product[0]->ID);
$product_added_vendor_id = get_post_field( ‘post_author’, $prodId );
if( $product_in_cart_vendor_id !== $product_added_vendor_id ){$woocommerce->cart->empty_cart();}
return $cart_item_data; }}July 24, 2016 at 8:39 pm in reply to: Small Bugs in current version Plug In "WooCommerce Simple Auctions Integration" #38065honeyParticipantcan some please fix this
honeyParticipantThanks Jamie, yes I am using social M. theme. It works now after placing it in /themes/yourtheme/bp-marketplace/wc-vendors/. Thanks
honeyParticipantAny update here please?
honeyParticipantThanks Ben, the solution looks promising but it did not work :). No matter where I have changed it, be it from the orignal folder or moving it to theme/wc-vendors/dashboard/
honeyParticipantthanks ben for your reply, I don’t wan to completely disable it, because I want to make use of the entry “Weight” I need that entry.
honeyParticipantHi Ben, you have not yet understand my problem. On that settings I have the following that I could toggle
Weight
Product handling fee
Dimensions
Shipping classFine, I have disabled the Product handling fee and Shipping class, but my concern is that on the frontend I want to remove the National/international shipping fee section. Please see the attached image. Please help, how can I remove that!
July 14, 2016 at 4:20 pm in reply to: Restrict client/Buyer to order from one vendor at a time #37201honeyParticipantHello @chauhanrushang, did you have this problem resolved? if yes could you please share how. Thanks looking forward to your reply
honeyParticipantThanks, I guess this will be overwritten everytime I update PRO, right? if yes then I must do this with a filter. Do you know a good reference on how to create filters. I am new to wordpress 🙂 or can you help with this?
honeyParticipantcould you please tell me filter/ways to hide all other items on shipping tab except Weight (kg) and Dimensions (cm) while adding a product from the front-end?
I have checked, I could not locate the template used here.
ThankshoneyParticipantany update here?
honeyParticipantoh Ben, there is still a problem, the vendor can not enter the weight from the front-end.
honeyParticipantGreat thank you Ben!
honeyParticipantthanks!
honeyParticipantSame issue for me, looking forward to the solution in v2.0.0
April 12, 2016 at 1:57 pm in reply to: Product "Last edited" information showed in the back end is incorrect #29517honeyParticipantI am crossing my fingers 🙂
April 12, 2016 at 1:56 pm in reply to: Is it possible that you the wp date format on pro-dashboard page? #29516honeyParticipantokay please check, hope there will be solution to that. Just looking for simple and easy to understand UI for my users 🙂
April 12, 2016 at 1:53 pm in reply to: Missing grahics for orders, total products sold, commission owed etc. #29515honeyParticipantokay, no problem. Thanks
honeyParticipantI was actually playing around with adding filter for “sold by” before contacting you, I forgot to remove my mess 😉 that was why…Thanks though
honeyParticipantRelieved, problem solved thanks. The sold by also is no more there. Thanks
honeyParticipantThanks, I think I have serious problem, after running those code my site is gone. I can’t access it anymore ^^ :), blank page seen, cleared browser and restarted same issue. But pinging it is still working. Any idea? otherwise I will contact my host
honeyParticipantThanks for your reply Ben, I have ran the code but I got empty page. I put the following in my theme function but none of them is working
/* Remove sold by on single product pages */
remove_action( ‘woocommerce_product_meta_start’, array( ‘WCV_Vendor_Cart’, ‘sold_by_meta’ ), 10, 2 );I also tried this:
remove_action( ‘woocommerce_after_shop_loop_item’, array( $wcvendors_pro->wcvendors_pro_store_controller, ‘loop_sold_by’), 8 );
remove_action( ‘woocommerce_product_meta_start’, array( $wcvendors_pro->wcvendors_pro_store_controller, ‘product_sold_by’), 8);
remove_filter( ‘woocommerce_get_item_data’, array( $wcvendors_pro->wcvendors_pro_store_controller, ‘cart_sold_by’ ), 8, 2 );honeyParticipantHi Ben, this is definitely not a theme issue, I can also reproduce it on your demo site, it might be wc issue though. I tried to add http://dev.wcvendors.com/wp-content/uploads/2016/04/image_apple_store.png to featured image but nothing happened. Could you please check. Thanks
honeyParticipant@Lorette hi, am having the same issue, did you find any solution to that? I am also using same theme like you.
April 8, 2016 at 7:16 pm in reply to: Missing grahics for orders, total products sold, commission owed etc. #29145honeyParticipantoh I checked now the demo page, it seems you have changed the design. Okay ignore this issue then.
honeyParticipantlooking forward to the fix, as I got this issue too
April 8, 2016 at 6:25 pm in reply to: Is it possible that you the wp date format on pro-dashboard page? #29143honeyParticipantPlease it is not only used in the calendar, recent orders and product (/pro-dashboard/). I hope you shall have a fix for this. However it worked fine on order page (pro-dashboard/order/)
April 8, 2016 at 2:47 pm in reply to: Is it possible to change the dollar image on the report page to another image #29124honeyParticipantThanks Jamie, oh my God buddyboss theme removed your nice graphics. The page is only showing the graphs but those icons are not there. I have to do with that for now, as on one hand their theme is a wonderful theme full, maybe later they will add it.
By the way, I must credit you and Ben for your quick 6 great support, Thank you both. You guys are so far for me #1March 29, 2016 at 1:58 pm in reply to: Would like to change all occurring word "Vendor" to "Seller" #28324honeyParticipantok thanks a lot, I will check that
March 29, 2016 at 12:02 pm in reply to: Would like to change all occurring word "Vendor" to "Seller" #28315honeyParticipantthank you Ben, that works now but I have one question, is there any side effect copying the lang file and changing it? I am concern about when you add new texts/variables to wp-content/plugins/wc-vendors-pro/languages to future releases. Is there a way that I can update my file in wp-content/languages/file.ext without having to translate everything again? I mean just updating my file wp-content/languages/file.ext with the new texts/variables in the future update.
Sorry to bother you with this question, I am new to WP 🙂
March 21, 2016 at 4:10 pm in reply to: Would like to change all occurring word "Vendor" to "Seller" #27500honeyParticipantTranslation it via POEdit is not working for me. I have actually tried that before posting. May be I did it wrong, anyway let me tell you what I did took the file wcvendors-pro.pot from wp-content/plugins/wc-vendors-pro/languages, editted the file and save it as wcvendors-pro-en_EN.po as well as creating a .mo of it. The two files I put it in followings areas one by one. But none of them worked
wp-content/plugins/wc-vendors-pro/languages
wp-content/themes/onesocial-child/languages
wp-content/themes/onesocial-child/languages/wc-vendors-pro
wp-content/themes/onesocial-child/languages/wc-vendors-pro/languagesThe sample string I took is “No ratings found.” but on each location above that I tried, found no changes on this page http://***.com/pro-dashboard/rating/. What do you think I am doing wrong?
March 21, 2016 at 3:51 pm in reply to: Would like to change all occurring word "Vendor" to "Seller" #27497honeyParticipantthanks for your reply, first I don’t know which file is for the Pro Dashboard page, I have checked through those files in wp-content/plugins/wc-vendors-pro/templates
honeyParticipantIs there a solution to that Ben? This is what I noticed also.
honeyParticipantProblem solved, works perfect now. I think it was not working because I did not place <?php store_bank_details( ); ?> within the form section. Thanks
March 20, 2016 at 12:39 pm in reply to: Warning: Illegal string offset 'international_disable' #27402honeyParticipantthat sounds great, thanks
March 20, 2016 at 8:45 am in reply to: Warning: Illegal string offset 'international_disable' #27393honeyParticipantok thanks, looking forward to it be fixed in the next update. Is there a bug-id for that? so that I can track it. Thanks
honeyParticipantYes, it is happening on new product, with the following steps/nav.
Frontend > Vendor login > open Dashboard > click on “Add Product” just below the Dashboard@Tab > scroll down and check button’s text.honeyParticipantI tried it out but the data are not saved. I could see the form.
I have entered the sample text in both ways; from the front and backend but no success. Could you please help.
Thanks, jfyi I did follow the https://www.wcvendors.com/kb/custom-fields-to-shop-settings-page/ for pro 😉honeyParticipantI checked now, the issue with the text is still there. <br /><br />
1.Under: admin.php?page=wc_prd_vendor&tab=capabilities
check the following boxes under Products
YES – Submit products
NO – Edit live products
YES – Submit products live without requiring approval2 On the frontpage, try to add a product, so that the form is displayed. Scroll down to the button and
check the texts displayed on the buttonsISSUE: “Save Pending” is displayed. If a vendor can submit a product live without approval, why are you displaying “Save Pending”?
EXPECTED: Some text to show the user that the product goes live e.g Add Product.March 19, 2016 at 8:54 pm in reply to: Warning: Illegal string offset 'international_disable' #27368honeyParticipantthank you vey much. I have disabled that ^^.
March 19, 2016 at 8:42 pm in reply to: tabs configured to hide on the vendor settings page is not working #27366honeyParticipantAm sorry that my post was not clear enough. I will try my best always :). So I believe that the file you mentioned is already the v1.2.3 according to the updated date which was the today that I updated my wc-vendor. Please note that some of the checked items worked whole others not. Please see attachment for those that I tested.
March 19, 2016 at 5:28 pm in reply to: Warning: Illegal string offset 'international_disable' #27354honeyParticipantI later found a similar page with the problem I ma facing https://www.wcvendors.com/help/topic/php-notices-and-warnings-related-to-wcv-shipping-class/. Ok looking forward to the update. Thanks
-
AuthorPosts