PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Your plugin duplicates postfix notation near by the currency and add an additional price field under the color dropdown

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

You plugin is great but there are 2 main problems. They are really major. This is a staged site. I am trying many plugin to find the best compatibility within the pools of extensions.

The postfix"price per cm" comes from the: Measurement Price Calculator For Woocommerce Plugin: It is a"Pricing Label": https://ibb.co/DRfHKpV

Problem 1-) Your plugin duplicates postfix notation near by the currency. It does not load it at first then suddenly changes. The original is ”$4 per cm”. It makes this ”$4 per cm per cm”. This affects all category pages and product pages.

1-a:) For the category pages your plugin does this: https://ibb.co/LJtV90N

1-b:) For the product pages your plugin does this under the title just above the"product short description field": https://ibb.co/Pr95jnZ

 

Problem 2-) You plugin adds this price field under the"color variation drop down menu". In your currency Settings/Options"Show price information icon" is not enabled.

https://ibb.co/3mycZ5p

Thanks

Hello

Please  use  correct  currency  codes - https://c2n.me/4a3Dxg0.png - http://en.wikipedia.org/wiki/ISO_4217#Active_codes

This is incompatibility with a third party plugin. Read  this - https://currency-switcher.com/codex/#compatibility

Hi,

I changed the currency codes. Thanks. However, there are 2 problems in incompatibility with this extension:

1-) The path has changed. I just wanted to inform you.

In file \plugins\woocommerce-measurement-price-calculator\includes\class-wc-price-calculator-cart.php add next code:

In file \plugins\woocommerce-measurement-price-calculator\includes\class-wc-price-calculator-cart.php add next code:
2-) The codes have changed. 
This code below is..
if (class_exists('WOOCS')) {
global $WOOCS;
$temp_price = $WOOCS->woocs_exchange_value(floatval($temp_price));
}
... supposed to be here below: 
if (asset($cart_item['pricing_item_meta_data']['_price'] ) && empty( $cart_item['add ons'] )){
$temp_price = (float) $cart_item['pricing_item_meta_data']['_price'];
if (class_exists('WOOCS')) {
global $WOOCS;
$temp_price = $WOOCS->woocs_exchange_value(floatval($temp_price));
}
$price_html = wc_price( $price );
}
However, the original current code below is different. Where should I put the code? There is an additional if statement. 

public function get_cart_widget_item_price_html( $price_html, $cart_item, $cart_item_key ) {
// if this is a pricing calculator item, and WooCommerce Product Addons hasn't already altered the price
if ( empty( $cart_item['addons'] ) && isset( $cart_item['pricing_item_meta_data']['_price'] ) ) {
$args = [
'price' => (float) $cart_item['pricing_item_meta_data']['_price'],
'qty'   => 1,
];
if ( 'incl' === get_option( 'woocommerce_tax_display_cart' ) ) {
$price = wc_get_price_including_tax( $cart_item['data'], $args );
} else {
$price = wc_get_price_excluding_tax( $cart_item['data'], $args );
}
$price_html = wc_price( $price );
}
// default
return $price_html;
}

Thanks

Hello

It looks like the third party plugin has been updated

In  this  case  add  FTP+wp-admin access( https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png ) to  your  test  site

I will add this plugin to the adaptation queue

Hi,

You are right. The plugin version was 3.18.2. I realized there was an update. I did that. I updated the plugin via FTP. Now it is 3.18. It gives just php 8 support.

However, there is not any change in the php file. By the way this compatibility issue is all about the label but your solution is all about the cart.

I will try to create a limited access SSH because there are 3 applications. I do not know how. I use linode with serverpilot. With this logic I cannot share because one application is not just mine.

I added the .zip file of the last 3.18.2 version of the plugin. Also if you want I can give you duplicator pro file: full copy of the site if you want. You can download it if you need.

Thanks

Hello

Ok! I added the plugin to the adaptation queue

Hi,

Today I noticed something. When I disable ( it was enabled)"I am using cache plugin on my site" in the menu Woocommerce/Settings/Currency/Options, the duplication disappeared on the product pages and category pages. Also the additional price field is disappeared in product pages.

I use WP Super Cache with Autoptimize. These plugins were your recommendations that is why I deleted WP Rocket installed WP super Cache and autoptimize.

Can you please inform the developer who will write the adaptation code. That may help to figure out the problem.

Thanks

 

 

Hello

Sure!  Thank  you  for the  info!

Hi,

Another problem which I did not notice. I guess this was the original problem and your solution was for this cart issue I do not know but.  I will explain. If you want I can open another topic or do not... not to distract you. Your call.

-For this product"Measurement Price Calculator" plugin is active:

Let's say you add 1000 cm and it is 153 TL which is default currency.

Then you change the currency. Actually Subtotal is right here. However, the Price amount does not change just the currency sign.


 

-For this product,"Measurement Price Calculator" plugin is NOT active just Min/Max Quantities plugin is active:

Now let's say you add 25 items. The price and subtotal is as shown below.

Then you change the currency. There is not any problem as you see. So your currency plugin is compatible with the Min/Max Quantities  

Thanks

Hello

Ok!  thank you  for  cooperation

Hello

In  file   - wp-content\plugins\woocommerce-measurement-price-calculator\includes\class-wc-price-calculator-cart.php - add  code - https://c2n.me/4ayuA1p.png

if (class_exists('WOOCS')) {
global $WOOCS;
$price = $WOOCS->woocs_exchange_value(floatval($price));
}

Unfortunately, there are no errors on our site that you described in the first message