Lukasz Matysiewicz
Forum Replies Created
-
i loaded scripts globally in plugin without styles, and this helped.
Forum: Plugins
In reply to: [EU/UK VAT Validation Manager for WooCommerce] Cloudflare blocks validateHey Omar,
I found those IPs, tried to add them to WAF and still was a problem. It works once when I was testing it – turn off cloudflare. That why I thought it could be IP block.
I found out problem. When I add product to cart and go to checkout straight without cart step it show error with validate vat.For now I turned off checkout buttons and client have to go to cart first which solved thing.
I still experience that.
Me on WP login page all the time – cant log it
Some clients on contact form.
I wonder what else can I do. I tried deactivate plugin then uninstall it then generate new API keys.- This reply was modified 3 years, 2 months ago by Lukasz Matysiewicz.
Looks like topic is back after 5 months, and it’s marked as resolved. Well when someone is doing invoice for order need to put all details in currency not just total i.e. tax, shipping, vat
https://wordpress.org/support/topic/how-to-get-always-the-main-currency-in-the-backend/
I put request in premium support on https://villatheme.com how much it would cost to add this solution. And after I was ignored. I decided to have a look by my own.
First idea was to overwrite wordpress>includes>admin>html-order-item. i.e.// echo wc_price $wmc_order_base_currency; echo wc_price( wc_round_tax_total( $tax_item_total ), array( 'currency' => $order->get_currency() ) );but I am not sure which global variable can I use to both currencies. $wmc_order_base_currency?
Secondly I had a look into plugin. I found this function. Can’t it be modified and used in order-item.php not just order-items.phppublic function order_total_in_base_currency( $col ) { global $post, $the_order; if ( $col == 'order_total' ) { if ( empty( $the_order ) || $the_order->get_id() !== $post->ID ) { $the_order = wc_get_order( $post->ID ); } $order_currency = get_post_meta( $post->ID, '_order_currency', true ); $wmc_order_info = get_post_meta( $post->ID, 'wmc_order_info', true ); if ( is_array( $wmc_order_info ) && count( $wmc_order_info ) ) { foreach ( $wmc_order_info as $code => $currency_info ) { if ( isset( $currency_info['is_main'] ) && $currency_info['is_main'] == 1 && isset( $wmc_order_info[ $order_currency ] ) ) { if ( $order_currency != $code && floatval( $wmc_order_info[ $order_currency ]['rate'] ) ) { $price_in_base_currency = ( $the_order->get_total() - $the_order->get_total_refunded() ) / $wmc_order_info[ $order_currency ]['rate']; ?> <p style="color:red"> <?php echo $code . ': ' ?> <span> <?php echo wc_price( $price_in_base_currency, array( 'currency' => $code, 'decimals' => ! empty( $wmc_order_info[ $code ]['decimals'] ) ? (int) $wmc_order_info[ $code ]['decimals'] : 0 ) ) ?> </span> </p> <?php } break; } } } } }I think similar function could work in there.
That’s a process so far. I will try back if I find something how to solve this.Forum: Plugins
In reply to: [Product Enquiry for WooCommerce] Shortcode – enquiry buttonHi Lukasz,
Thanks for asking a question in our dead support center.You need to use this shortcode:
[ENQUIRY_BUTTON_DYNAMIC]Good for you to find answer yourself, while we were busy..
Hey,
What a shame 🙁 Also I was looking for a shortcode..
Because I use custom page for product catalog and single products and those buttons do not show there at all.
(use Toolset plugin)- This reply was modified 3 years, 9 months ago by Lukasz Matysiewicz.
Hi Jose,
I think this could work,
I just wonder about priority.
How about if I turned off a few plugins on page types and If I do Custom URL after do I have to turn off other plugins as well, I think Custom URL will overwrite all settings.
Twice work, in this scenario I supposed to turn off plugins on Custom URLs only.Yes I was using html popup
hey @sygnoossupport
I was trying to load external service into your popup
I put <script type=”text/javascript” src=””>
as custom html block and it works 🙂also tried use custom js field and but page didn’t load at all.
anyway thx
Forum: Plugins
In reply to: [LiteSpeed Cache] HTML minifyYes..
I didn’t wait much time as I tried it on production.
I will test it on beta for longer time. Does it need time for processing?Update:
Catalog images works
Product image can’t be swapped because it’s not img , it’s data-thumbanyway thanks for some updates!
- This reply was modified 4 years, 7 months ago by Lukasz Matysiewicz.
Forum: Plugins
In reply to: [Lana Downloads Manager] Download newest version of fileI have to look for htaccess redirection. thanks for advice
Forum: Plugins
In reply to: [MultiLine Files for Contact Form 7] PHP version warningI already did 😉
So can’t wait for update.
Cheers!Thx, fixed.
@giuse
thanks for quick answer.
I turned on debug log but it’s empty there is no errors.
Also I see both plugins works on frontend. It’s just displaying your plugin on backend: wp-admin/admin.php?page=eos_dp_by_post_typeAnd you are right it only happens when I turn on pro version on lite it works.