crystalpayton
Forum Replies Created
-
the entries are not saving anywhere
had to deactivate all in one security
I have the plugin set to auto-update.
I added All In One WP Security plugin lately.no caching plugin
cron events have been scheduled
WP-Cron Status is enableddiagnostics:
Mon, 08 Aug 2022 05:59:00 -0400 postExpiratorExpire 22633: Smoked Pork with a Cherry BBQ Sauce, Mac and Cheese, and Grilled Vegetables (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 ) 22634: Chicken Cacciatore with Penne Pasta (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 ) 22638: Grilled Vegetable Enchilada Bake (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 ) 22639: Orange Cheesecake (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 ) 22640: Coleslaw (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 ) 22641: Berry Pecan Spinach Salad with Poppyseed Dressing (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 ) 22642: Supreme Calzone (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 ) 22636: Beef, Potato, and Vegetable Casserole (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 ) 22637: Lemon Herb Salmon w/Mashed Potatoes & Green Beans (status: draft): Array ( [expireType] => draft [category] => [categoryTaxonomy] => [enabled] => 1 )using this plugin Missed Scheduled Posts Publisher by WPBeginner since this was also an issue in the past
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Fatal ErrorTried another custom checkout field plugin and still run into this issue
I just had to remove the problem ad and add it again not sure what was set wrong
Forum: Plugins
In reply to: [Smart Coupons For WooCommerce Coupons] coupon expiry date bugHere is what I see and the calendar does not popup when I click to enter a date
https://lakeeffectkitchen.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-8.03.12-AM.pngHere is how I entered the date:
2022-07-18
https://lakeeffectkitchen.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-8.04.40-AM.pngHere is what it changes to when I click off the box:
06/07/18
https://lakeeffectkitchen.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-8.05.11-AM.pngHere is how I entered the time:
01:00
https://lakeeffectkitchen.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-8.06.30-AM.pngHere is what it changes to when I click off the box:
07/12/2022
https://lakeeffectkitchen.com/wp-content/uploads/2022/07/Screen-Shot-2022-07-12-at-8.06.42-AM.pngan ad is also randomly displaying just under the top slider on the home page https://premiermdplus.com/
Forum: Plugins
In reply to: [Braintree for WooCommerce Payment Gateway] Payment issuesThis is from woocommerce support
Gabriel B. (Automattic) Jun 27, 2022, 20:07 UTC Hi there, Thanks for waiting while we continue investigating this. We were able to reproduce this issue on our end when this specific set of plugins are active: Braintree for WooCommerce WooCommerce Subscriptions Smart Coupons WooCommerce Points and Rewards We've reached out to our Developers to helps us understand what happens exactly with the combination above. We'll send you an update as soon as we hear back from them. Have a great rest of your day! Best, Gabriel B. Happiness Engineer at WooCommerce WooCommerce Payments helps increase conversions by making it convenient for customers to pay you using Apple Pay, Google Pay, Sofort, iDeal, SEPA, and more. Get started today – free download, with no setup costs or monthly fees.order says ‘value’ => ”,
but I submitted a test order and filled out all of the fieldsI even tried a different plugin and its doing the exact same thing
I have the following checkboxes checked
Display in Emails
Display in Order Detail Pages
but the input is not displaying in emails or order detail pagesI did many test orders.
There is nothing related to those fields showing after installing the store toolkit.
How can I tell if they are stored in the order data?Where can I even get any of the customers input from these fields to display?
I have been making different changes to the code but nothing is making a difference
// Add custom fields to a specific selected shipping method add_action( 'woocommerce_after_shipping_rate', 'shipper_custom_fields', 20, 2 ); function shipper_custom_fields( $method, $index ) { if( ! is_checkout()) return; // Only on checkout page $customer_shipper_method = 'local_pickup:7'; if( $method->id != $customer_shipper_method ) return; // Only display for "local_pickup" $chosen_method_id = WC()->session->chosen_shipping_methods[ $index ]; // If the chosen shipping method is 'legacy_local_pickup' we display if($chosen_method_id == $customer_shipper_method ): echo '<div class="custom-shipper">'; woocommerce_form_field( 'shipper_id' , array( 'type' => 'text', 'class' => array('form-row-wide shipper-id'), 'label' => 'Shipper ID:', 'required' => true, 'placeholder' => 'Shipper ID', ), WC()->checkout->get_value( 'shipper_id' )); echo '</div>'; endif; } // Check custom fields validation add_action('woocommerce_checkout_process', 'shipper_checkout_process'); function shipper_checkout_process() { if( isset( $_POST['shipper_id'] ) && empty( $_POST['shipper_id'] ) ) wc_add_notice( ( "Please don't forget to enter the shipping ID." ), "error" ); } // Save custom fields to order meta data add_action( 'woocommerce_checkout_update_order_meta', 'shipper_update_order_meta', 30, 1 ); function shipper_update_order_meta( $order_id ) { if( isset( $_POST['shipper_id'] )) update_post_meta( $order_id, '_shipper_id', sanitize_text_field( $_POST['shipper_id'] ) ); } add_action( 'wpo_wcpdf_after_order_data', function( $document_type, $order ) { if ( $document_type == 'invoice') { if ( $order_comments = $order->get_meta( 'order_comments' ) ) { ?> <tr class="order-comments"> <th>Order Notes:</th> <td><?php echo $order_comments; ?></td> </tr> <?php } if ( $shipper_id = $order->get_meta( '_shipper_id' ) ) { ?> <tr class="shipper-id"> <th>Shipper ID:</th> <td><?php echo $shipper_id; ?></td> </tr> <?php } if ( $po_number = $order->get_meta( 'po_number' ) ) { ?> <tr class="po-id"> <th>PO Number:</th> <td><?php echo $po_number; ?></td> </tr> <?php } } }, 10, 2 ); /** * Display field value on the order edit page */ add_action( 'woocommerce_admin_order_data_after_billing_address', 'my_custom_checkout_field_display_admin_order_meta', 10, 1 ); function my_custom_checkout_field_display_admin_order_meta($order){ echo '<p><strong>'.__('Shipper ID').':</strong> ' . get_post_meta( $order_id, '_shipper_id', true ) . '</p>'; echo '<p><strong>'.__('PO Number').':</strong> ' . get_post_meta( $order_id, 'po_number', true ) . '</p>'; echo '<p><strong>'.__('Order Comments').':</strong> ' . get_post_meta( $order_id, 'order_comments', true ) . '</p>'; }