pierremaitre
Forum Replies Created
-
Forum: Plugins
In reply to: [Payment Plugins for Stripe WooCommerce] Credit card icons are hugeThank you for your very quick reply. There must have been an issue with the cache of my browser, everything is OK.
Have a great day.
Cheers,
PierreForum: Fixing WordPress
In reply to: Self hosted videos fail with “No video with supported format…”Thank you for this excellent explanation, George!
@conocebiz I went for Memberpress, but there are several good alternatives. Have a look at this:
https://wpjohnny.com/wordpress-membership-plugins-review-2020/@mbobo Use another plugin ??
The support for Ultimate Members is helpless.The “RangeError: Maximum call stack size exceeded” means that something is making too many calls in quick succession, which causes the browser to reach the stack limit so it can’t continue processing.
As this only happens when the Ultimate Member plugin is active, there must be something within the code that is making those calls and causing the stack limit to be reached before the browser can finish loading the builder correctly.
This problem can be seen on this test site:
https://oxygen-qaqt3bgwas56.oxygen-demo.qsandbox.me/?ct_builder=true&%3Bct_inner=trueForum: Plugins
In reply to: [SVG Support] Display issue with 2 svg files on the same pageThank you very much @benbodhi,
It worked, but it is really sensitive stuff. Sometimes the colors were messed up, sometimes some of the text did not appear. I had to play with the save options in Illustrator to make it fully work.
Here is a screenshot of the options that worked for me, in case someone would have a similar issue.Forum: Plugins
In reply to: [SVG Support] Display issue with 2 svg files on the same pageHi @benbodhi,
Thanks for your reply. I outlined all texts and expanded all elements in both images, but it doesn’t change anything, the images still look ugly.
Any other idea?
- This reply was modified 4 years, 10 months ago by pierremaitre.
Forum: Plugins
In reply to: [Progress Bar] Progress bar over 100%Great, thanks for the tip!
Cheers.Forum: Plugins
In reply to: [WooCommerce] How to get woocommerce order id on thank you pageI answer my own question, it might help someone:
$sale_amt = $order->get_total() - $order->get_total_tax() - $order->get_total_shipping();
Forum: Plugins
In reply to: [WooCommerce] How to get woocommerce order id on thank you pageIt works, but the total includes tax and shipping. Is it possible to get the total amount excluding tax and shipping?
Forum: Plugins
In reply to: [WooCommerce] How to get woocommerce order id on thank you pageFor some reason, it works now!
Many thanks for your help.
Cheers.Forum: Plugins
In reply to: [WooCommerce] How to get woocommerce order id on thank you pageYes, there are several functions and hooks in it before this one.
If I replace the URL with:
print '<img src="https://tbs.tradedoubler.com/report?program=275634&event=322134&OrderNumber=$order_id&OrderValue=$sale_amt&Currency=EUR">';
the page displays correctly, but obviously the tracking code is not right. But it seems to me that there is a syntax problem in the url.
- This reply was modified 8 years, 1 month ago by pierremaitre.
Forum: Plugins
In reply to: [WooCommerce] How to get woocommerce order id on thank you pageHi Lorro,
Thanks for your help.
It looks like there is a problem with my code, since I get a blank page. I guess it is about the ‘ and the “, but I can’t figure it out:add_action ('woocommerce_thankyou', 'pix_truck'); function pix_truck($order_id) { $order = new WC_Order($order_id); $sale_amt = $order->get_total(); print '<img src="https://tbs.tradedoubler.com/report?program=275634&event=322134&OrderNumber='.$order_id.'&OrderValue='.$sale_amt.'&Currency=EUR">'; }
- This reply was modified 8 years, 1 month ago by pierremaitre.
Forum: Plugins
In reply to: [WooCommerce] How to get woocommerce order id on thank you pageHi,
I’m trying to adapt this code. I added the following to my functions.php in the child theme:add_action ('woocommerce_thankyou', 'pix_truck'); function pix_truck($order_id) { $order = new WC_Order($order_id); $sale_amt = $order->get_total(); print '<img src="https://tbs.tradedoubler.com/report?program=275634&event=322134&OrderNumber=$order_id&OrderValue=$sale_amt&Currency=EUR">'; }
Is that enough? The tracking code will be inserted in the thank you page, or is there some code I need to insert in thank you page?
Thanks in advance.