• Resolved bastian67200

    (@bastian67200)


    Hello

    I want to translate the word “Product Price”, I can not find the file or I can translate it; can you tell me which file it is?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • @bastian67200 There isn’t a file but you can change the wording in the PPOM settings. From your admin section go to Woocommerce -> Settings and then click on the PPOM Settings tab. Then just change the labels to whatever you like!

    ===============

    @nmedia the primary plugin is missing a link to the PPOM settings page. A lot of people look for it there since most developers place one there. Update the function ppom_settings_link() in inc/functions.php to the following (or something similar):

    
    function ppom_settings_link($links) {
    	$ppom_setting_url = admin_url( 'admin.php?page=wc-settings&tab=ppom_settings');
    	$add_fields_url = admin_url( 'admin.php?page=ppom');
    	$video_url = 'https://najeebmedia.com/wordpress-plugin/woocommerce-personalized-product-option/#ppom-quick-video';
    	$quote_url = "https://najeebmedia.com/get-quote/";	
    	$ppom_links = array(
    		'settings' => sprintf(__('<a href="%s">Settings</a>', "ppom"), esc_url($ppom_setting_url) ),
    		'add_fields' => sprintf(__('<a href="%s">Add Fields</a>', "ppom"), esc_url($add_fields_url) ),
    		'video_guide' => sprintf(__('<a href="%s" target="_blank">Video Guide</a>', "ppom"), esc_url($video_url) ),
    		'custom_solutions' => sprintf(__('<a href="%s" target="_blank">Custom Solutions</a>', "ppom"), esc_url($quote_url) )
    	);
    	$links = array_merge( $ppom_links, $links);
    	return $links;
    }
    

    I also changed the order and how the links were merged with the default WP links to push the “Deactivate” link to the end.

    Hi,
    Thanks @brozra, we will update our primary plugin by adding this link.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘translate Product Price’ is closed to new replies.