makarowich
Forum Replies Created
-
Just tried your plugin, it doesn’t seem to like insert PHP plugins, as it disabled all my insert PHP snippets.
Only solution I found was to remove your plugin and reinstall all insert PHP plugins.Forum: Fixing WordPress
In reply to: how to create csv file with images for woocommerce?Hi. This looks like a reasonable solution to my problem.
Luckily I’ve found a different supplier who’s cooperative and have CSVs ready.Otherwise I’d have to buy this tool and work on the clunky website my supplier has.
Thank you.
Forum: Plugins
In reply to: [WooCommerce] edit checkout pagefound the file if anyone will ever need something similar.
it’s called form-checkout.phpForum: Plugins
In reply to: [WooCommerce] how to call total order after payment?Not solution but a workaround.
I managed to find how to edit the actual checkout page which is called
form-checkout.phpI inserted the iframe with custom text in there and used
echo WC()->cart->total
Forum: Plugins
In reply to: [WooCommerce] how to call total order after payment?Still looking for solution
More information:
I use a custom payment which I display in an iframe and pass on variables into a form.
I need to pass order total without currency sign after checkout/payment.
I’ve found a way to pass total cart before checkout/payment using
echo WC()->cart->total
On checkout after payment page (thankyou.php) I’ve foundecho $order->get_formatted_order_total();
This will display order total with a currency sign only on the thankyou.php page and will not pass onto any other page no matter what i tried (which isn’t important as I can work with ether thankyou.php page or actual checkout page)Full code looks like this inside a list
<?php _e( ‘Total:’, ‘woocommerce’ ); ?>
<?php echo $order->get_formatted_order_total(); ?>
I’ve tried testing to see how wordpress stores order total both on thankyou.php page and on a seperate page to see if I can call the order total from the array after checkout/payment but I ether get a value of 0.00 or my page breaksCode I tried so far:
echo $order->get_order_total();
this breaks the pageecho WC()->$order->get_order_total();
this breaks the pageecho $order->get_total();
this also breaks the pagecalling total cart echo WC()->cart->total after checkout/payment will display 0 (which makes sense)
Forum: Plugins
In reply to: [WooCommerce] edit checkout pageAfter some digging I may need to come back to this ??
I’d like to add the iframe before the total or place order button.
code above doesn’t work.
adding iframe via WP admin pages adds it on the bottom where user can’t see it.
please help.
thank you.
Forum: Plugins
In reply to: [WooCommerce] call total to a formhere to answer my own question and to document solution.
I found a plugin called “Insert Php”.
I created the form on my own website (previously I was only passing values to offsite form)
now form accepts the value.
code looks like this now
value=”[insert_php]echo WC()->cart->total*100;[/insert_php]”
Forum: Plugins
In reply to: [WooCommerce] call total to a formHi.
I’m passing it like this
value=”<?php echo WC()->cart->total*100; ?>”
but form in the iframe comes up blank (free to fill in by user)
echo WC()->cart->total*100; on its own displays without problem as an integer
Also
I found echo $order->get_formatted_order_total
Is there a value for non-formatted?
I’d like to do similar thing as above and x100
thank you.
Forum: Plugins
In reply to: [WooCommerce] edit checkout pagethank you very much for the guide.
Forum: Plugins
In reply to: [WooCommerce] edit checkout pageThank you for the heads up regarding updates and for the code.
On a separate note.
Do I have to update ones I have everything running?
So far I have fixed and altered everything to my needs and don’t want to look for changes/error after each updateThank you.
Forum: Plugins
In reply to: [WooCommerce] Offline payment methods?I may have found a solution, and I’ll post it here in case other users may ask something like this in future.
I will change the payment to checque (but change the wording and title).
I will need to change the button from ‘place order’ to continue to payment.
After user has pressed,instead of thank you page, I will create an offsite page (with dead-end in mind).
Offsite payment will have a custom payment system, and after payment would redirect back to website.his does seem/look like a long tedious solution, but at the moment I don’t have time to dig trough php code, as after 2 weeks+ looking at code my eyes are starting to blur ??
Forum: Fixing WordPress
In reply to: Attributing wordpress as a platform and plugins?forgot to add themes in there.
Forum: Plugins
In reply to: [WooCommerce] Images not showing on productsI’d like to scrap my case ??
I never selected featured image on the bottom right cornerForum: Plugins
In reply to: [Widget Logic] widget logic blank widget on every pageI wish I found your post earlier.
Thank you good sir.Forum: Plugins
In reply to: [WooCommerce] Offline payment methods?I may have found a solution…
Would it be possible to load a web page where the description is meant to be?