Forum Replies Created

Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • in reply to: Pro Dashboard in different languages #58234
    Danny Kater
    Participant

    Sorry, got it working! Great solution!

    in reply to: Pro Dashboard in different languages #58233
    Danny Kater
    Participant

    @SANDOR,

    Indeed after changing the slug to the same as the main language (duplicating the page) the dashboard and subpages show fine.

    It’s just the javascript that doesn’t work anymore in all languages’ product-edit.php page? Things like adding picture / galery / attributes. There’s no js errors though…

    Does this all work fine for you? How about you @MUXCAM ?

    Thanks!

    in reply to: Pro Dashboard in different languages #58079
    Danny Kater
    Participant

    Hi Sandor, thanks for posting your code.

    My dashboard already showed up in all languages, just not the child pages: /product, /settings, /feedback etc. etc. Does this code solved this problem for you?

    I’ve put your code in functions.php and tested it. The child pages still don’t show up unfortunately.

    The first problem i see is that get_the_ID() gives null on the /product page as it showes a 404 page not found.

    Thanks!

    in reply to: Pro Dashboard in different languages #56013
    Danny Kater
    Participant
    in reply to: Pro Dashboard in different languages #56012
    Danny Kater
    Participant

    Jamie @digitalchild,

    I will be providing a multi page selector however it requires that I modify free and pro which takes a bit of time. This is due to the settings framework that we inherited.

    When are you expecting the PRO update with this functionality?

    Thanks!

    in reply to: Pro Dashboard in different languages #50286
    Danny Kater
    Participant

    Hi @muxcam,

    At the end my temporary solution didn’t really work steadily….

    As there’s an WCV Pro update coming ‘soon’ I expect it to be in there? Jamie’s been on this for a while.

    Maybe Jamie(@digitalchild) can confirm?

    Thanks!

    in reply to: Vendor add product page with lots of categories and sub cats #49720
    Danny Kater
    Participant

    @digitalchild,

    I’ve been in contact with Amit Kumar via Facebook. He’s willing to share the code with you, but asks what you can offer him for the code? He says he spent quite some time on it.

    He asked me for $75 to get the raw code to implement in my website, but he had to edit the core files of WCV so that will only work till your next update.

    Ofcourse i’m wiling to pay with you for this to get implemented asap.

    Please let me know how Amit can get in contact with you or please contact him on facebook: https://www.facebook.com/amitpammu

    Thanks!

    in reply to: Vendor add product page with lots of categories and sub cats #49595
    Danny Kater
    Participant

    This would be amazing @amitpammu.

    Would you be willing to share the code?

    How can I contact you?

    in reply to: Error on adding product #49594
    Danny Kater
    Participant

    @localbrands It should look like this:

    function wp_basename( $path, $suffix = '' ) {
    	$array = $path;
    	$can_foreach = is_array($array) || is_object($array);
    	if ($can_foreach) {
    		foreach ($array as $single_path){
    			$path = $single_path;
    		}
    	}
    	return urldecode( basename( str_replace( array( '%2F', '%5C' ), '/', urlencode( $path ) ), $suffix ) );
    }
    in reply to: Pro Dashboard in different languages #48844
    Danny Kater
    Participant

    Jamie, Ben, Anna,

    I’ve managed to kind of get it working by myself as described above. (I’ve just wrote some custom JS to make the tabs work.)

    Just one single problem for now: Sometimes there is a problem with the permalinks. One moment all the pages work, the next moment all pages give page not found error. After refreshing the permalinks from the WP Settings they all work again.

    Any idea how to fix this temporarily? We need to get the website online in 2 languages asap. If yes, then it works all great and no hurry on this anymore.

    Would be great to get an answer from you!

    Thanks in advance.

    in reply to: Filtering products by vendor location #48638
    Danny Kater
    Participant

    Curious if you found a way to filter on country/city?

    Country can be quite easily done by assigning the city as an attribute to a new product (as you’re writing above as well).

    In my opinion it doesn’t make much sence to do this for cities, as there are too many. A filter by distance would work better.

    Any luck?

    in reply to: Error on adding product #48572
    Danny Kater
    Participant

    For now I just edited WP’s wp-includes/formatting.php from line 4694 and added:

    	$array = $path;
    	$can_foreach = is_array($array) || is_object($array);
    	if ($can_foreach) {
    		foreach ($array as $single_path){
    			$path = $single_path;
    		}
    	}

    This changes the array to an string. Will be removed once WP is updated, so hope that YITH can reproduce the error and solve it asap.

    Cheers.

    in reply to: Error on adding product #48480
    Danny Kater
    Participant

    Hi Rachanee,

    It seems that after one of the last updates at least the category is added right to the product.

    Just still getting the urlencode() error. Same for you?

    Talking to YITH on their support forum: https://wordpress.org/support/topic/bug-array-parsed-into-urlencode/ Please join in on this forum as well please.

    Cheers

    in reply to: Pro Dashboard in different languages #48035
    Danny Kater
    Participant

    I temporarily solved it like this:

    In the WC Vendors Pro page “class-wcvendors-pro-dashboard.php” is replaced all:

    $dashboard_page_id = WCVendors_Pro::get_option( 'dashboard_page_id' );

    with:

        		// CUSTOM
    		global $sitepress;
    		
    		if ( $sitepress->get_current_language() == $sitepress->get_default_language()) {
            		$dashboard_page_id = WCVendors_Pro::get_option( 'dashboard_page_id' ); 
    		} else {
    			$dashboard_page_id = get_option( 'wcvdashboard_page_id_'.$sitepress->get_current_language() );	
    		}
    		// CUSTOM END

    Then just per WPML language add an option (in the WP options table in your DB) called: “wcvdashboard_page_id_fr”. The “fr” to be changed to the language shortcode.

    For some reason not all stylesheets and scripts are loaded properly. To start I had to enqueue the ink.min.css stylesheet:

    wp_enqueue_style( "", "https://surfsnb.com/wp-content/plugins/wc-vendors-pro/public/assets/lib/ink-3.1.10/dist/css/ink.min.css?ver=3.1.10" );

    Ratings, orders, products and add a product seem to work fine. Just the settings page misses some more scripts as the tabs aren’t working.

    Jamie, any idea why these scripts aren’t loaded anymore?

    in reply to: Vendor question form #46257
    Danny Kater
    Participant

    Hmm clear, thanks.

    in reply to: Vendor Reviews Tab is being unset #46256
    Danny Kater
    Participant

    themes/dashstore/inc/dash-vendors-modification.php

    I thought this was a WC Vendors file? But it’s not in the plugin directory so it’s probably a theme file, right?

    in reply to: Commission errors #45853
    Danny Kater
    Participant

    Anna,

    No, the page builder is not been used on the Finalize / Thank you page.

    I don’t get this error on any other page. Probably logic because the commission is added only after an order has been made.

    Thanks.

    in reply to: Pro Dashboard in different languages #43499
    Danny Kater
    Participant

    I see there is a WPML configuarion file added in the 1.9.4 update?

    in reply to: Error on adding product #43498
    Danny Kater
    Participant

    It seems to be caused by YITH WooCommerce Ajax Product Filter. Will try to figure it out with them.

    Thanks!

    in reply to: Pro Dashboard in different languages #43407
    Danny Kater
    Participant

    Hi guys,

    It all works fine for 1 language at the time. I set the WCV Pro Dashboard to the English page and the Dashboard works in English. But as soon as i switch WordPress to French and set the WCV Pro Dashboard to the French page the English setting disappears or gets overwritten.

    See attachements for the steps:
    1. English WCV Pro Dashboard page is set
    2. Switch to French, setting is empty
    3. Set French WCV Pro Dashboard page
    4. Switch to English, setting is empty

    Would be great if there’s a solutation for this soon.

    Thanks a lot!

    in reply to: Error on adding product #43174
    Danny Kater
    Participant

    Same topic: https://www.wcvendors.com/help/topic/urlencode-error-message-when-adding-product/

    Question from Ben: If you go back to the default templates, do you still get this error?

    My answer: Yes i do still get this error.

    The problem seems to be that there is an Array with the CategoryID passed into urlencode() instead of a string with the CategoryID.

    Once I change the Select Name from product_cat[] to product_cat a string is returned, but the cat is not saved?

    Can you help me?

    Danny Kater
    Participant

    Siloynet, have you figured out the best way to handle the categories? I’m looking at the same problems as you mentioned.

    Thanks.

    in reply to: Commission errors #41182
    Danny Kater
    Participant

    Hi Anna,

    I’ve added the WC My Account shortcode to the my account page. Didn’t make a difference.

    Disabled all plugins except woocommerce, wc vendors and wc vendors pro and started enabling them in groups. At the end the errors only show up when “PageBuilder for Dash Store” is activated.

    Theme: https://themeforest.net/item/dash-handmade-furniture-marketplace-theme/12650747

    What to do?

Viewing 23 posts - 1 through 23 (of 23 total)