• Resolved ghazzalwali

    (@ghazzalwali)


    Hello,
    I really Appreciate your Support.
    PPOM which is Compatible With Currency Switcher .
    The Currency Switcher plugin is not properly working as my need . whether i need to give the Fixed $value in the product conversion. it works only when the Multiple is Allow (OFF) then the PPOM value re-convert the $ . When the Multiple is (NO) it take the fine value but i couldn’t give the fix price Even on the cart page Currency switches to PKR on Initial. As i have discuss with the Support of the Currency Switcher they are Answering that Now only this Functionality is available .
    You should work to be Compatible with the Other Currency Plugin so these Issue can solve.

Viewing 15 replies - 1 through 15 (of 34 total)
  • This plugin is very good and handy, however it seems the major problem facing it is that, its not Compatible with Woocommerce Currency Switcher.

    I have the Latest version of WordPress core, Woocommerce, Currency Switcher and the PPOM plugin installed on my site.

    When a user selects products options, this plugin (PPOM) calculates and gives a different price. This can be very dangerous for a business.

    When I set the “IS MULTIPLE ALLOWED” to No, it appears to work well, but that means my local customers will not be able to make payments.
    The site targets local and foreign customers, so it means “IS MULTIPLE ALLOWED” cannot be set to NO.

    I really hope the developer can do something about it.
    Its such a great plugin, it would be a shame if I have to look for another plugin to do this efficiently.

    I also have a problem with this.
    When “is multiple allowed”, the base product price is multiplied by the currency rate twice in the summary box on the product page.

    Thread Starter ghazzalwali

    (@ghazzalwali)

    Yes , I am wishing the PPOM to be Compatible with any other plugin because the Multi Currency Plugin which is compatible their support is not solving the Matter .

    • This reply was modified 6 years, 4 months ago by ghazzalwali.
    • This reply was modified 6 years, 4 months ago by ghazzalwali.

    Hi,

    sorry for late response, ok for your STRONG request I am making plugin compatible even when “IS MULTIPLE ALLOWED” is ON. So can you please tell me more about this option? how it works quickly?

    Thread Starter ghazzalwali

    (@ghazzalwali)

    Hello ,

    1) When the Multiple is Allowed the Amount of PPOM services Re-convert the Amount of Dollar .

    • This reply was modified 6 years, 4 months ago by ghazzalwali.

    Hi,

    Well I have tried to make it compatible with WOOCS, sending you beta version in email.

    Good to hear nmedia ??
    Somehow when “is multiple allowed”, the base product price is multiplied by the currency rate twice in the summary box on the product page.

    I found a temporary fix for this:
    I commented out line 177 in this file:
    /wp-content/plugins/woocommerce-product-addon/inc/functions.php
    So it looks like this:

    
    // Get product price after some filters like currency switcher
    function ppom_get_product_price( $product ) {
    	
    	$product_price = $product->get_price();
    	
    	if( has_filter('woocs_exchange_value') ) {
    		global $WOOCS;
    		if($WOOCS->current_currency != $WOOCS->default_currency) {
    			//$product_price = apply_filters('woocs_exchange_value', $product_price);
    		}
    	}
    	
    	return apply_filters('ppom_product_price', $product_price, $product);
    }
    

    But if I then turn off multiple is allowed, then the base product price is not multiplied at all.. So I guess there is a problem somewhere else in the code, not sure which file.

    Images:
    How it looks with “IS MULTIPLE ALLOWED” NO
    When “IS MULTIPLE ALLOWED” is Yes
    When my quick fix is applied
    And here’s what happens when I set “IS MULTIPLE ALLOWED” back to No

    Well I tried and tested with my fix and it’s working fine, I have just sent the plugin to Ghazal, let me know your email, I will also send you.

    by the way here is my fix in same function:

    function ppom_get_product_price( $product ) {
    	
    	$product_price = $product->get_price();
    	
    	if( has_filter('woocs_exchange_value') ) {
    		global $WOOCS;
    		
    		if($WOOCS->current_currency != $WOOCS->default_currency ) {
    			if($WOOCS->is_multiple_allowed) {
    				$product_price = apply_filters('woocs_raw_woocommerce_price', $product_price);
    			} else {
    				
    				$product_price = apply_filters('woocs_exchange_value', $product_price);
    			}
    		}
    	}
    	
    	return apply_filters('ppom_product_price', $product_price, $product);
    }

    Great, this works just fine ??

    Great, I will release it here soon.

    Thread Starter ghazzalwali

    (@ghazzalwali)

    Hello ,
    Its is working fine. Now i can give the fixed price with PPOM Amount .
    But it is giving an Issue in Cart . The Amount in not Adding up in the cart.

    ok I am checking.

    Thread Starter ghazzalwali

    (@ghazzalwali)

    Hello,
    The Amount is Adding up in the PKR format, Not in the USD format. Kindly check the Link again .

    See here it’s adding price when USD is selected:

    Product page: https://www.diigo.com/item/image/4xv00/srai

    Cart page: https://www.diigo.com/item/image/4xv00/amt7

Viewing 15 replies - 1 through 15 (of 34 total)
  • The topic ‘Woocommerce Currency Switcher Compatiblity.’ is closed to new replies.