tweenkle
Forum Replies Created
-
Thanks Angelo.
Yes and I am open to do some coding.
I finally found the .php file I need to modify and I put a modified copy in my child theme in the same directory path than the plugin file but it didn’t work.
I thought this could override the plugin file but that’s not the case.
How could I do that ?
Thanks.Forum: Plugins
In reply to: [MANGOPAY for WooCommerce] Error when i change statut settingsOk
Thanks.
Have a nice day.I just tried the WC vendors Pro demo and it works as you say and as it is written : each vendor mark their products shipped and, once all the products have been sent, the admin can mark the order has termined.
So, I guess I need to buy the WC Vendor Pro.
That would solve my problem.The only issue remaining is the VAT split between vendors and site, which can’t be set in a proportional way with WC Vendors.
Thanks for your time.
Have a nice day.
Thanks for your reply.
But the way it actually works is the one I describe : any of the different vendors of a single order can mark the order as terminated.
And that triggers the transfer from the client wallet to the vendors.
Is really WC Vendors compatible with your workflow ?
Moreover, the admin cannot know if the order is terminated because as soon as one vendor marks it as terminated, there is no way to know if the other vendors have sent their products.
All the best.
Forum: Plugins
In reply to: [MANGOPAY for WooCommerce] Error when i change statut settingsHello.
Thank you for your reply.
I’ll wait…Forum: Plugins
In reply to: [MANGOPAY for WooCommerce] Error when i change statut settingsHello.
I get the same issue.
Mangoapqy : 2.6.0
WC Vendors : 2.1.0
WCFM : 5.0.3
Woocommerce : 3.4.4After I change and save Mangopay settings, I get an PHP error : ( ! ) Fatal error: Uncaught Error: Call to undefined function get_user_by() in /Users/XXXXXXXXX/XXXXXXX/public/wordpress/wp-includes/meta.php on line 1308
Thanks for your help.
- This reply was modified 7 years, 9 months ago by tweenkle.
Forum: Plugins
In reply to: [WooCommerce] The function I’m trying to use at thankyou is not workingHi @madeincosmos,
Thank you very much.
It works.
I now have to find the ‘adherent’ purchase among the whole order.
I guess the quotes have been change when I copied the code in OpenOffice.
I loooove WordPress !
Cheers !Thanks for your advice.
I’ll try that.Forum: Fixing WordPress
In reply to: You don’t have permission to access / on this server.I’m ashamed to say that, after having slept a few hours, I found the problem in a couple of minutes : for months, I have been working with wordpress directory recorded in my documents directory with a direct path set in MAMP.
But yesterday, after having installed a new version of MAMP, I recorded my wp files in the mamp\htdocs directory with the path set to mamp\htdocs.
And I forgot that I have to launch wp by typing localhost:8888/wp instead of local:8888 as I did previously…
Sorry to have taken your time for such a silly mistake and thank you really for your help.
Now, I’m trying to go forward.
I made a child theme that I activate.
I’m a using wp importall plugin to record posts containing data from a xml file.
For now, I’m just trying to call a function from post content, using the possibilities offered by wp import all.
The following code works :
[FOREACH({Lots[1]/Lot})]
{./TypeLot} surface {./Surface} prix [sqrt({./MntTTC})];
[ENDFOREACH]
But, if I write instead (it is just to test the call to a custom function) :
[FOREACH({Lots[1]/Lot})]
{./TypeLot} surface {./Surface} prix [thierry({./MntTTC})];
[ENDFOREACH]
I have the following error message : Error parsing content: Call to undefined function “thierry”
The functions.php file in my child theme dir contains the following lines :
<?php
function thierry(float $a) {
$a=sqrt($a);
return $a;
}What did I missed ?
Thanks
- This reply was modified 9 years, 6 months ago by tweenkle.
Forum: Fixing WordPress
In reply to: You don’t have permission to access / on this server.I deleted the wp directory and then copy again from the master and I still have the problem…
I can’t access to wordpress…
Forum: Fixing WordPress
In reply to: You don’t have permission to access / on this server.Yes. Next time I will make a child theme instead.
Yes I think it that the pb comes from a permission error.
I didn’t change anything but maybe I should have done something before editing it, like allowing me the rights to do it !
How can I can fix that now ?
Forum: Fixing WordPress
In reply to: You don’t have permission to access / on this server.I edited the functions.php file of the zerif lite theme.
I did 3. but there are no debug.log…
Forum: Fixing WordPress
In reply to: You don’t have permission to access / on this server.I added the following lines and then I took them off :
Function test(float $a) {
$a = sqrt($a);
return $a;
}But even without those lines, I can’t access to the website.
Forum: Fixing WordPress
In reply to: You don’t have permission to access / on this server.I just wrote a very simple function which return the square root of a number.
When I had the problem, I put back the file as it was before I modified it.
I guess that maybe the problem comes because wordpress consider that I should not have modified this file.
Could that be possible ?