Forum Replies Created

Viewing 50 posts - 1 through 50 (of 188 total)
  • Author
    Posts
  • in reply to: send order to 2 email recipients #69444
    Marc Bovet
    Participant

    @fervous,

    Dear Anna,
    do you maybe know how to get the order id ?

    I’ve tried but without success :

    
    add_filter( 'woocommerce_email_headers', 'custom_vendor_notify_order', 10, 3);
    function custom_vendor_notify_order( $headers, $email, $order) {
    $vendor_id = get_post_field( 'post_author', $order-id );
    }
    

    any idea ?
    Thanks !

    in reply to: Simple product – attributes – add to cart #68973
    Marc Bovet
    Participant

    Hi Anna,
    Ok, attributes and variations are ok for me but attributes alone was unclear. Thank you for your explanation.

    Cheers,

    Marc

    in reply to: Simple product – attributes – add to cart #68910
    Marc Bovet
    Participant

    @fervous,
    Anna,
    oh yes I forgot to add a sale price 🙂 sorry for that.
    but anyway, there is no options displayed to select the attribute during the purchase process.

    http://dev.wcvendors.com/shop/uncategorized/attr-2/

    http://dev.wcvendors.com/dashboard/product/edit/9860/

    any idea ?

    cheers,

    in reply to: WC Vendors Pro Shipping #67625
    Marc Bovet
    Participant

    @fervous,
    Anna,
    I totally agree with you that with persistence and work you’ll solve this issue. “Don’t ever give up” 🙂
    In fact, it seems that you have to split the cart as many vendors are in the cart and calculate the shipping fees for each vendor depending on the business logic setup by each vendor, you have to split the order in sub-orders.
    Woocommerce local pickup and flate_rate override this as it concerns the global order and not the sub-order (vendors sub-order) only. I understand better Jamie’s position. Seems that you have to derive the Woocommerce shipping class completely to make it work for each vendor, then each vendor could choose, local pickup, flat rate, country rate, free shipping, as an Woocommerce admin setups its shipping methods.

    I saw yesterday that WC Vendors shipping class is present in the checkout page but is hidden and not available to customer.

    cheers,

    in reply to: WC Vendors Pro Shipping #67532
    Marc Bovet
    Participant

    @fervous,
    hello Anna,
    it’s very frustrating when something was working fine during months and it’s now broken. I just added a localpickup method without a fee and this method was showed to the customer.

    “localpickup” has less option than “free shipping”. I use this method to allow the customer to pickup the order by himself without charging a fee. This method is very common and offered by a lot of webshops.
    For various reasons, my marketplace does not allow more than one vendor in the cart and I do not use Stripe to automatically reverse commissions and shipping costs to the vendors as it is too complicated for a vendor to create a stripe account,…

    Nevermind, I’ve just created all the needed methods (2x flat-rates, free shipping, localpickup,…) in woocommerce, added an ACF to the dashboard settings to allow the vendor to add its own delivery postcodes. The standard woo shipping methods are now displayed to the customer depending on my business logic.
    Just took 3days of work…. 😉

    WC vendors is able to offer various vendors in the cart, calculate shipping costs per vendor with different rules, calculate commissions and do much much more fantastic things. I cannot figure me out why a customer cannot tell a vendor “I’ll pick up the goods I’ve ordered in your webshop”, maybe something I did not understood yet.

    cheers

    in reply to: WC Vendors Pro Shipping #67429
    Marc Bovet
    Participant

    @fervous,
    Thank you for your follow-up. Unfortunately, your answer is not satisfactory.

    in reply to: WC Vendors Pro Shipping #67333
    Marc Bovet
    Participant

    @fervous,
    do you have any update on this subject ? shipping methods affects the checkout process and is vital for an e-commerce website.
    I fear that the issue comes from Woocommerce and that no quick solution will be found.
    cheers,

    in reply to: Pro Local Pickup Option? #67113
    Marc Bovet
    Participant

    @fripss, @fervous

    With previous versions of WC vendors it was possible to use the standard local pickup shipping method of Woocommerce.
    Now it seems that if some shippig methods are declared in Woocommerce then Wc vendor shipping method are overridden.
    I do not understand why, and why we were not informed of such change ?
    Is it possible to overcome that ? if yes how ?

    cheers,

    Marc

    in reply to: Printing the order #67110
    Marc Bovet
    Participant

    @ilkersurmeli

    use a webprinter and send the order to the email address of your printer.

    in reply to: WC Vendors Pro Shipping #67047
    Marc Bovet
    Participant

    @fervous, @ben,

    Hello,

    How can we make this work. I’ve tried to switch to country table rate but the issue remains the same.
    It seems that the country table rate is completely not working…

    It’s urgent to make this work.

    Thank you for your help,

    Cheers

    in reply to: WC Vendors Pro Shipping #66974
    Marc Bovet
    Participant

    @fervous,
    Hello Anna,
    Thank you for your answer.
    No problem, I’ve tried to give you as much of information as possible.

    As it was possible with previous versions of WC vendors, I want to be able to mix shiping methods :
    – WC Vendor shipping method at all
    AND
    – WC shipping methods (Local pickup for example or Free shipping or Flat Rate)

    From my point of view, WC Vendors is “just” an extra shipping method and should be compliant with other Shipping methods.

    Thank you for your help.
    Cheers,

    Marc

    Marc Bovet
    Participant

    @cakecompare

    Hi Stefan,

    Do you have some shipping zones with shipping methods set in Woocommerce ?
    Woocommerce – Settings – Shipping – Shipping zones

    Cheers,

    Marc Bovet
    Participant

    @fervous,

    Dear Anna,

    When I am adding a new shipping zone for example :
    “Shipping Zones – My Country – Local Pickup” to allow a customer to Pick up its delivery directly to the vendor, then “Vendor Shipping” is removed from the available shipping methods.

    This was working with previous versions.

    Can you help please ?

    Cheers,

    in reply to: Free shipping order / Free shipping product not working #66803
    Marc Bovet
    Participant

    @cakecompare
    Hi Stefan,

    It seems to work better if
    Default National Shipping Fee
    The default shipping fee within your country, this can be overridden on a per product basis.

    is set to 1 instead of the default value.
    I’ll continue to make tests,

    Cheers,

    in reply to: Free shipping order / Free shipping product not working #66802
    Marc Bovet
    Participant

    @fervous,

    Hi Anna, the same here I cannot setup this to make it work…
    Free shipping when XX is reached is not displayed…
    Vendor shipping fees are even not calculated..

    WC 3.0.7
    WP 4.7.5
    WC Vendors PRO : 1.4.3
    WC Vendors : 1.9.11
    Storefront Theme

    Cheers,
    Marc

    in reply to: bookings – get all bookable products from vendor #66704
    Marc Bovet
    Participant

    @fervous,

    Found a solution to get all bookable products of a vendor.

    https://gist.github.com/marcbovet/545b90487c8d244f629591e6da0e8a79

    in reply to: bookings – get all bookable products from vendor #66316
    Marc Bovet
    Participant

    fyi,some strings remains untranslated (see attached picture).
    Marc

    in reply to: bookings – get all bookable products from vendor #66314
    Marc Bovet
    Participant

    @fervous
    Please find attached the french translaton of your plugin.
    rename file extension from .jpg to .zip

    cheers

    Marc Bovet
    Participant

    @OXANDRA

    not sure to understand by “have your got it completely ? like M said”….

    if emtying the cart is not compliant with your user experience, I let you improve my code.
    It’s working as expected on my website with an without variable products.

    Kind Regards,

    Marc

    Marc Bovet
    Participant
    Marc Bovet
    Participant

    @ALIB
    I’ll try to sort this out
    Marc

    in reply to: send order to 2 email recipients #64903
    Marc Bovet
    Participant

    yep ! that’s great ! thank you very much !

    in reply to: Date format in dashboard #64063
    Marc Bovet
    Participant

    @Anna,

    same here. US date format is painful for us, EU users 🙂

    Cheers,

    in reply to: Bookings Plugin – some questions #64034
    Marc Bovet
    Participant

    Hi Anna,

    Thank you for your answers.

    2. Not sure why you should be able to have access to all registered user ?
    Adding a record with current logged in vendor or as a “guest” could be great.

    cheers,

    in reply to: WooCommerce Bookings Integration Extension Is HERE! #63549
    Marc Bovet
    Participant

    @fervous
    Dear Anna,

    Congrats for this new plugin ! That’s great !
    On you dev site, Internal Server Error when trying to place the order…

    cheers,

    Marc

    in reply to: dev.wcvendors.com – Internal Server Error #62602
    Marc Bovet
    Participant

    @anna
    great ! thank you.
    I can now continue my migration to woocommerce 3.0.xx

    Kind Regards,

    Marc

    in reply to: Restrict client/Buyer to order from one vendor at a time #60236
    Marc Bovet
    Participant

    Hi Nexus,

    Maybe something like this (untested) ?

    
    add_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;
    		break; //after 1st product we can stop the loop
        }
    
    	
        if(isset($_product[0]->ID)){ //getting first item from cart
    		if ($_product[0]->is_type('variable')){  //check if product is a variation
    
    			$available_variations = $product->get_available_variations();
    			foreach ($available_variations as $key => $value) 
    			{ 
    			  $product_id_in_cart= $value['variation_id'];
    			  break; //get first variation of product
    			}		
    		}	
    	    else //simple product
    		{
    		    $product_id_in_cart = $_product[0]->ID; 
    		}
    	    
    		$product_in_cart_vendor_id = get_post_field( 'post_author', $product_id_in_cart); //get vendor id from cart.
    		
    		$prodId = (int) apply_filters( 'woocommerce_add_to_cart_product_id', $_GET['add-to-cart'] );  //get last item added to cart
    		$product_added = wc_get_product( $productId ); //get product from ID
    		
    		if ($product_added->is_type('variable')){  //check if product is a variation
    
    			$available_variations = $product->get_available_variations();
    			foreach ($available_variations as $key => $value) 
    			{ 
    			  $product_id_added= $value['variation_id'];
    			  break; //get first variation of product
    			}		
    		}	
    	    else //simple product
    		{
    		    $product_id_added = $prodId; 
    		}		
    		
    		
    		$product_added_vendor_id = get_post_field( 'post_author', $product_id_added );
    
        if( $product_in_cart_vendor_id !== $product_added_vendor_id ){$woocommerce->cart->empty_cart();wc_add_notice(  __("You can only order items from 1 shop !", "wcvendors"));}
        return $cart_item_data; } 
    } 
    

    HTH

    in reply to: coupons #59616
    Marc Bovet
    Participant

    Another question about coupons.
    Can a vendor print coupons?
    Can a vendor send an email to customer with coupon data ?
    Can the admin manage vendors coupons ?

    You’ve got a small “bug” in the PRO dashboard.
    If woocommerce coupons is disabled and you keep WC Vendors Coupons management activated, the “Add Coupon” button appears, but the tab “Coupons” is hidden. 😉

    in reply to: coupons #59615
    Marc Bovet
    Participant

    @fervous
    Hi Anna,

    Damn ! I could make it work !
    Cannot work if I disable Woocommerce coupons !
    Go to: WooCommerce > Settings > Checkout to enable coupons

    🙂

    Cheers !

    in reply to: coupons #59549
    Marc Bovet
    Participant

    @fervous,
    ok serverpress is installed and now ? What shall I do ?

    in reply to: coupons #59548
    Marc Bovet
    Participant

    @fervous,

    Hi Anna,

    I’ll install serverpress, but is there a specific tool to use as I do not know this product ?
    The dev site looks strange because of the WP Globus Strings.
    Cheers,

    Marc

    in reply to: coupons #59339
    Marc Bovet
    Participant

    Hi Anna
    I ll setup another test site
    And keep you informed
    Cheers

    in reply to: coupons #59133
    Marc Bovet
    Participant

    Hi Anna,

    Yes I have activated theme storefront “standard”, deactivated the WP Globus Plugins + and all others.. without success.

    you can connect to the PRO Dashboard with the following credentials

    http://www.swisstakeaway.ch/test (pwd: Aston007)

    Vendor :
    restaurant1
    123456

    Back End : http://www.swisstakeaway.ch/test/adminbackend
    bjkk_sys__margaux2
    marc30828

    If you have any other idea ?
    The Add coupon appears but gives me a 404 error. The tab does not show.

    cheers,

    in reply to: Multi Vendor Rental Site Question #59006
    Marc Bovet
    Participant

    @ben
    finally it will be a blowdie day 🙂

    in reply to: coupons #59000
    Marc Bovet
    Participant

    Anna,

    1. Coupon Management is enabled
    2. Disabled my translating plugins (WP Globus + LocoTranslate) : no changes

    What’s next ? 🙂

    in reply to: Multi Vendor Rental Site Question #58932
    Marc Bovet
    Participant

    :-))
    fantastic !

    in reply to: Multi Vendor Rental Site Question #58926
    Marc Bovet
    Participant

    @mustardseedit
    Hi Sri,

    I use ACF, it’s working well, their support is great.

    I also would like to know when the bookings extension will be done.

    @fervous
    Is there any BETA available ?

    Kind Regards,

    in reply to: product variation #56594
    Marc Bovet
    Participant

    @fervous
    Hi Anna,

    Ok, thank you for your feedback.
    I’ll use filters to hide unwanted fields.

    Cheers,

    Marc

    in reply to: Change product length : apply filter #56283
    Marc Bovet
    Participant

    thank you Anna !

    in reply to: [The great thread of language support] #56070
    Marc Bovet
    Participant

    Hi,

    My website is available in 3 languages, english, german and french, languages are powered by WP Globus.
    When a customer visits the website in german, he receives the order confirmation in german. That’s great.
    The vendor receives the order confirmation in german as well, unfortunately he does not understand any word of german…

    Since the latest version of WP, a user can select it’s prefered language.

    My 2 questions are :
    1. how can I display the language selector on the vendor’s dashboard ?

    2. how can I notify the vendor of a new order in it’s prefered language ?

    Kind Regards,

    Marc

    in reply to: A solution for per order shipping fee #55583
    Marc Bovet
    Participant

    @veopolis

    Hi Joe,

    unfortunately not, but this could be adapted I think.

    vendor 1 :
    item 1.1
    item 1.2

    vendor 2
    item 2.1
    item 2.2

    Subtotal :

    shipping fees
    flat rate vendor 1 : $$$
    flat rate vendor 2 : $$$
    Total shippings :

    You have to make trials and adapt the code.

    HTH
    cheers,

    in reply to: Site admin sell to Vendors #53572
    Marc Bovet
    Participant

    @fervous,

    Thank you Anna, for your time and good ideass.

    cheers.

    Marc

    in reply to: Site admin sell to Vendors #53486
    Marc Bovet
    Participant

    Anna, @fervous
    thank you.
    What would be the url of my shop ? http://www.mywebsite.com/shop/ ?

    cheers,

    in reply to: Vendor Dashboard – Orders management #53386
    Marc Bovet
    Participant

    6. Manually.. go to wp admin > woocommerce > commissions and mark that order as PAID rather than due.

    This should be done automatically by WC Vendors when the payment method is Cash on Delivery. I’ll not have the time to manage this manually.

    Could be done via code ? Where to start ? Any documentation ?

    Marc

    in reply to: Vendor Dashboard – Orders management #53385
    Marc Bovet
    Participant

    @fervous,

    Hi Anna,

    Thank you for your reply.

    2. export to CSV, option is unchecked in the backend but the button is displayed ?

    Regards,

    Marc

    in reply to: Vendor Dashboard – Orders management #53323
    Marc Bovet
    Participant

    any tip or snippet to help to get started ?

    marc

    in reply to: WPML + Pro Dashboard #52930
    Marc Bovet
    Participant

    Hi Jamie,

    Thank you for your answer.
    Everything was buggy with WPML…. WC vendors Pro Dashboard, redirected to homepage when I was switching the language, cart was emptied when I was changing the language in the checkout or cart page….

    As their support forum was not available (broken link) and that WC vendors is not in their compliant plugins, I gave up and asked for a refund.

    I’ll continue with WP globus, it’s more expensive, less powerfull but at least it’s working (in fact I was intresed in their module for Yoast + ACF translation, etc).

    Cheers,

    Marc

    in reply to: custom-attibutes data-rules #52906
    Marc Bovet
    Participant

    @fervous
    Dear Anna,

    Thank you for the link, very helpfull.
    On the dashboard settings, the vendor can choose values below 0. Ok I can live with that because when the vendor tries to save its settings the the data-error message is correctly displayed and the settings are not saved.

    BUT,
    the save button is disabled and even if the vendor changes the value to an authorized one, the save button remains disabled and the settings cannot be saved.
    I am using storefont theme.

    		
    WCVendors_Pro_Form_Helper::input( array(  
    	'id' 				=> $key, 
    	'label' 			=> __( 'Minimum order amount', 'wcvendors-pro' ), 
    	'placeholder' 			=> __( 'Orders below this amount are not allowed by the vendor', 'wcvendors-pro' ), 
    	'desc_tip' 			=> 'true', 
    	'description' 			=> __( 'Set the minimum oder amount', 'wcvendors-pro' ), 
    	'type' 				=> 'number', 
    	'value'				=> $value, 
    	'class' 			=> 'wcv-disable-national-input',
    	'custom_attributes' => array( 
    	'data-rules' => 'integer|range[0,500]',
    	'data-error' => __( 'Minimum order amount should be a number and between 0 and 500', 'wcvendors-pro' )
            	))
    		);

    Any tip ?

    in reply to: custom-attibutes data-rules #51167
    Marc Bovet
    Participant

    @fervous

    any tip ?
    For example, how to set the minimum value for a number(min value = 5).

    Thank you for your help,

    Marc

    in reply to: A supervendor? #51102
    Marc Bovet
    Participant

    @chainznanz

    hi, maybe you can achieve this with URL rewritting ?

    Cheers,

Viewing 50 posts - 1 through 50 (of 188 total)