Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Nataliia Vernyhora
    Participant

    @CAKECOMPARE
    Hi Stefan!
    I’m struggling with the same issue, tried different options, but still can’t figure out how to show admin Shipping rates on a product page in case when a vendor forgot to add a shipping rate. Do you have any ideas about this?

    Nataliia Vernyhora
    Participant

    @FERVOUS
    Thanks for your answer Anna!
    Yes, we use that functionality, but I wanted to try to activate the dropdown with choice exactly on each Vendor’s dashboard.
    When I add both methods for vendor, extending code, the country table rate always have the priority. If flat rates are filled and a country table rate is empty, on a product page and cart page there is a note:
    There are no shipping methods available.

    in reply to: Custom Tab on Product add dashboard save info Problem #54963
    Nataliia Vernyhora
    Participant

    Thanks afor your answer. We decided to reduce the functionality we were going to add, because it broke the logic and was very embarrassing

    in reply to: Custom Field doesn't show on front-end #54093
    Nataliia Vernyhora
    Participant

    Oh, thanks Yasa! I used wrong variable!
    It worked! Thanks a lot!

    in reply to: Custom Field doesn't show on front-end #53861
    Nataliia Vernyhora
    Participant

    Hi guys!
    And how do you use this value to show bank name from input _wcv_custom_settings_bankname on pages?
    In my case I use the value from input on product page:
    echo '<p>'.$custom_bank_information.'</p>'; // I get empty data here

    This is my function for bank:

    function store_bank_details( ){ 
    	if ( class_exists( 'WCVendors_Pro' ) ){ 
    		$key = '_wcv_custom_settings_bankname'; 
    		$custom_bank_information = get_user_meta( get_current_user_id(), $key, true ); //instead $value as example shows
    		// Bank Name
    		WCVendors_Pro_Form_Helper::input( array(  
    			'id' 				=> $key, 
    			'label' 			=> __( 'Bank Name', 'wcvendors-pro' ), 
    			'placeholder' 			=> __( 'First Bank', 'wcvendors-pro' ), 
    			'desc_tip' 			=> 'true', 
    			'description' 			=> __( 'Your local bank name', 'wcvendors-pro' ), 
    			'type' 				=> 'text', 
    			'value'				=> $custom_bank_information,
    			)
    		);
    	} 
    }
Viewing 5 posts - 1 through 5 (of 5 total)