Beneris
Forum Replies Created
-
Thanks,
Lets wait for fix 😉- This reply was modified 11 months, 3 weeks ago by Beneris.
sorry my mistake, I just put it as LIVE. Do you need and admin acount created on it, so you can see backend and confirm that sippet adde is the same as in https://pastebin.com/PacRm38R
use this link to login as admin https://swimseat.s2-tastewp.com/?auto_login=1Product already there https://swimseat.s2-tastewp.com/product/test-product/
AGain as I mentioned new WP instlation uses blocks, and I can even see googlesitekit-events-provider-woocommerce-js-before script included, but when I debug same function, end result is pice 100 times bigger the it has to be, look at sniped code and what it returns at the end.Reverted plugin to original code https://i.imgur.com/QjN1cl5.png its still doing it.
I tried creasting new site instalation for testing, I got blocks enabled all checkout flow to new style, I dont even see script googlesitekit-events-provider-woocommerce-js-before not even included in to footer. But I managed to add same debug function to the product page https://swimseat.s2-tastewp.com/product/test-product/ maybe this footer script is included only when block are not available, but its still looks like issue for me.
I added code snipped using another plugin https://swimseat.s2-tastewp.com/wp-admin/admin.php?page=wpcode-snippet-manager&snippet_id=17- This reply was modified 11 months, 3 weeks ago by Beneris.
I still doing testing on my end, and split entire thing in to muptiple steps
$price = $product->get_price() => string(5) “42.99”
wc_format_decimal( $price ) => string(5) “42.99”
(float) wc_format_decimal( $price ) => float(42.99)wc_get_price_decimals() => int(2)
absint( wc_get_price_decimals() ) => int(2)
( 10 ** absint( wc_get_price_decimals() ) => int(100)
Not sure what`s different on that website setup but this last part ( 10 ** absint( wc_get_price_decimals() ) returns 100 and this is how we endup with this price.
https://pastebin.com/PacRm38R
https://i.imgur.com/txO82Do.pngSubmited form, to check what get_formatted_price() I made action do dump result on product page
https://pastebin.com/1KqwZsX3
end result was
$price = $product->get_price(); => string(5) “42.99”
$res = intval(round(( (float) wc_format_decimal( $price ) ) * ( 10 ** absint( wc_get_price_decimals() ) ),0)); => int(4299)
I woul be OK changing it to round( (float) $value, wc_get_price_decimals() ); but is not my plugin.Thank you for response, now I had idea what to look for.
So first tierd to disable wp-mail-smp (free version) nothing happened.
Looked at plugins directory how many plugins has this included
And had fun activating them one by one.
Failed on: WooCommerce Smart Coupons (woocommerce-smart-coupons)
[https://woo.com/products/smart-coupons]
Replaced “action-scheduler” folder from you plugin, workign fine.
Should I report issue to them? Fact is, I got fatal error only when forminator and this plugin is active, all other combinations was working fine.Profile Builder Pro v9.9.9
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Blank page on settingsHi, just had same issue on one of mine projects, looks that for some weird reason (maybe another plugin or server config) mailchiom-for-woo fails to set
$active_taband default toapi_keyjust adding extra GET parameter to set tab ID and interacting in it fixes issue. So if some one has same issue try link [YOUR-SITE-DOMAIN]/wp-admin/admin.php?page=mailchimp-woocommerce&tab=api_keyForum: Plugins
In reply to: [Widgets for Trustpilot Reviews] Inaccurate company rating on widgetJust to clarify, on free version plugin we can’t get even accurate reviews count?
For example, I setup plugin, leave it for a week, and if new reviews been posted on site we have old reviews count (what was pulled week ago setting plugin??) [using button layout]@mickbarlow78 you using “Track classic e-commerce” or “Track enhanced e-commerce”?
with “Track enhanced e-commerce” not working on few our sites.