mbenatar
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalI tried it again and pasted the code. Got the same error message and the same thing happened again. So I uninstalled the plugin.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalOkay, for some strange reason I was able to get back on the website admin through Google and delete “My Custom Functions” plugin.
So I am wondering why I had that issue? I want to try the process again but I am a bit concerned that the same thing will happen. I am pretty sure that I pasted the code correctly.
mbenatar
Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalHere is a message I got back from my host support. I don’t even know what it means.
I am unable to see any relevant files under the document root directory for the domain clinicalavianpathologyservices.com. Please update the files so that the site loads properly.
Please let me know if you need any further assistance.
[/home/rescuebi/clinicalavianpathologyservices.com]# ll
total 12
drwxr-xr-x 3 rescuebi rescuebi 4096 May 17 15:50 ./
drwx–x–x 33 rescuebi rescuebi 4096 May 17 15:50 ../
drwxr-xr-x 2 rescuebi rescuebi 4096 May 17 15:50 marten/
All the Best,Arunlal Ashok,
Linux Systems Engineer
Acenet, Inc.
http://www.ace-host.net/Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalI am totally locked out of admin. I have ftp access but have no idea what to do.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalI do have ftp access through my web host. But I did enter the code in My Custom Functions in ‘Settings”
mbenatar
Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPal// add hidden field in order after checkout
add_action( ‘woocommerce_checkout_before_customer_details’, ‘my_custom_checkout_hidden_field’, 10, 1 );
function my_custom_checkout_hidden_field( $checkout ) {
foreach ( WC()->cart->get_cart() as $cart_item ) {
$product = $cart_item[‘data’];
if(!empty($product)){
$webinar_id = $product->get_attribute( ‘webinar_id’ );
// Output the hidden field
echo ‘<div id=”user_link_hidden_checkout_field”>
<input type=”hidden” class=”input-hidden” name=”webinar_id” id=”webinar_id” value=”‘ . $webinar_id . ‘”>
</div>’;
}
}
}
// save hidden field in the order
add_action( ‘woocommerce_checkout_update_order_meta’, ‘save_custom_checkout_hidden_field’, 10, 1 );
function save_custom_checkout_hidden_field( $order_id ) {
if ( ! empty( $_POST[‘webinar_id’] ) )
update_post_meta( $order_id, ‘_webinar_id’, sanitize_text_field( $_POST[‘webinar_id’] ) );
}
//only 1 prod in cart for WooC
add_filter( ‘woocommerce_add_to_cart_validation’, ‘bbloomer_only_one_in_cart’, 99, 2 );
function bbloomer_only_one_in_cart( $passed, $added_product_id ) {
// empty cart first: new item will replace previous
wc_empty_cart();
return $passed;
}Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalOkay so I tried to refresh my page and now I am getting this error message when I try and log back in to my wordpress admin. I entered the code into the code window of My Custom Functions.
“The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”
I have not received any email and can’t log back into my backend.
mbenatar
Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalHello Stef,
I started to implement the article but when I got to the step to install “My Custom Functions” plugin and insert the PHP code, I got this error message.I am not a coder so I don’t know how to debug and fix the error.“Sorry but your code causes a “fatal error”, so it is not applied!
Please, check the code and try again.mbenatar
Forum: Plugins
In reply to: [WooCommerce] WooCommerce, Zoom, PayPalHello Stef,
No I have not! Thank you for the information. I will take a look and let you know how I weather.Best Regards,
mbenatarForum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] CF7 Smart Grid DesignThank you.
Forum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] CF7 Smart Grid DesignIt not the form that I am having problems with. It’s the “Mail” tab. I don’t know how to set it up so I receive the information back after the client fills the form out. I get an email back with this in it. How about if I give you temporary access to my wp-admin page?
From: [your-name] <[your-email]>
Subject: [your-subject]Message Body:
[text text-221]
Address
[text text-221]
City
[text text-221]
State
[text text-221]
ZIP
[tel* tel-183]
Home Phone
[tel* tel-183]
Cell Phone
[tel* tel-183]
Work Phone
email* email-769
Email Address
[text* text-625]
Emergency Contact-First Name
[text* text-221]
Emergency Contact-Full Name
[tel* tel-341]
Phone Number
[text* text-183]
Dog Name
[text* text-221]
Dog Breed
[text* text-221]
Describe Dog Color
[text* text-221]
Sex
[text* text-221]
Neutered or Spayed
[text* text-221]
Birthdate
[text* text-221]
Weight
[text* text-221]
Veterinarian Name
[tel* tel-183]
Veterinarian Phone
[text* text-221]
Veterinarian Street Adress
[text* text-221]
City
[text* text-221]
State
[text* text-221]
ZIP
[textarea* textarea-493]
K9 SensitivitiesForum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] CF7 Smart Grid DesignIt not the form that I am having problems with. It’s the “Mail” tab. I don’t know how to set it up so I receive the information back after the client fills the form out.
Forum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] CF7 Smart Grid DesignI don’t know how to configure the “mail” tab to get it to work properly. I am not a coder and I have spent countless hours with NO progress to get this to function.
Forum: Plugins
In reply to: [Smart Grid-Layout Design for Contact Form 7] CF7 Smart Grid DesignI don’t get any information emailed back to me.
Forum: Plugins
In reply to: [Contact Form 7] Mail Set upReally could use some help here. HELP!