muse777
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Folio] sf-controls not working at allHi,
You sent me a replacement file a couple weeks ago that did fix this issue, however…since the new WordPress update came out the sf-controls stopped working again. I sent an email to you as well.
Forum: Plugins
In reply to: [Simple Folio] sf-controls not working at allHi,
I deactivated all my plugins and activate the Twenty Seventeen theme and its doing the same thing.
Forum: Plugins
In reply to: [Simple Folio] sf-controls not working at allI did add a group… I added two groups. First thing I did was assign web design and photo restoration as groups and made sure each image was assigned its respective group. The groups aren’t showing up. That’s why I figured the sf controls aren’t working and contacted support.Do you know what can be causing this?
Forum: Plugins
In reply to: [Simple Folio] sf-controls not working at allForum: Plugins
In reply to: [WooCommerce] Warning: Invalid argument after update 3.0.1Its been resolved. Thanks
Forum: Plugins
In reply to: [WooCommerce] Warning: Invalid argument after update 3.0.1Thanks for the response!
I put add_filter( ‘woocommerce_get_breadcrumb’, ‘__return_false’ ); in my functions.php file.
Added .woocommerce-breadcrumb { display: none;} to my CSSRefreshed without cache
I’m still getting the error….
- This reply was modified 7 years, 10 months ago by muse777.
Forum: Plugins
In reply to: [WooCommerce] Warning: Invalid argument after update 3.0.1Hi,
I’m getting the same error. I tried the solutions mentioned here, but I am still getting the error message:
Warning: Invalid argument supplied for foreach() in /home/mxxxxxxx/mxxxxxxx.com/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php on line 294.I tried to hide the breadcrumbs using CSS and also tried remove it all together, nothing is working. What did you do exactly to remove your error?
Glad I could help!
Hi George,
I didn’t have all the user roles checked for some reason. Once I checked all of the the roles… it worked.
Forum: Plugins
In reply to: [WooCommerce] add custom fields to order confirmation screen?Again, thank you so much! As you know, the code works beautifully! Actually, I was able to figure out what I did wrong with my initial code by examining the last code you sent me. In the Update the order meta with field value, I had:
function my_custom_checkout_field_update_order_meta( $order_id ) { if ($_POST['my_gift_message']) update_post_meta( $order_id, 'Gift Message', esc_attr($_POST['my_gift_message'])); }
instead of
function my_custom_checkout_field_update_order_meta( $order_id ) { if ($_POST['my_gift_message']) update_post_meta( $order_id, 'my_gift_message', esc_attr($_POST['my_gift_message'])); }
That’s why the message wasn’t showing up anywhere. I would never have figured that out without looking at your correct code. Thank you again for taking the time to help me!It is very much appreciated!
Forum: Plugins
In reply to: [WooCommerce] add custom fields to order confirmation screen?Hey, I have another quick question. I noticed that the gift message appears on the email and thank you page even when someone doesn’t leave a gift message. Is there anyway to only make the gift message appear on the email and order detail page when someone chooses to enter a gift message? If you’re too busy, to look into this I completely understand. You have already done way more than enough and I can not begin to thank you for the help you have already given me.
Forum: Plugins
In reply to: [WooCommerce] add custom fields to order confirmation screen?Thank you so much for your help! I nearly fell down on my knees and wept when I saw that it worked! Do I need to add the woocommerce files if it works without them?
Forum: Plugins
In reply to: [WooCommerce] add custom fields to order confirmation screen?Thank you so much for getting back to me! I do have a functions.php and I am using a child theme. I need to display a gift message textarea field. I was able to get it to appear on the checkout page, the email and the backend orders page. I can not get it to display on the order confirmation page. So, I’m not sure how to make my code work with your checkbox code (I am that new at this). Also, I noticed that when I use autofill for the address it automatically inserts my zipcode into my custom field, do you happen to know how I can prevent that from happening?
Also, I am so sorry if my code is not formatted properly in this post…./** * Add the gift message field to the checkout **/ add_action('woocommerce_after_order_notes', 'my_custom_checkout_field'); function my_custom_checkout_field( $checkout ) { echo '<div id="my_custom_checkout_field"><h3>'.__('Gift Message').'</h3>'; woocommerce_form_field( 'gift_message', array( 'type' => 'text', 'class' => array('gift_message-class form-row-wide'), 'label' => __('* Optional'), 'placeholder' => __('Add a Gift Message'), ), $checkout->get_value( 'gift_message' )); echo '</div>'; } /** * Update the order meta with field value **/ add_action('woocommerce_checkout_update_order_meta', 'my_custom_checkout_field_update_order_meta'); function my_custom_checkout_field_update_order_meta( $order_id ) { if ($_POST['gift_message']) update_post_meta( $order_id, 'Gift Message', esc_attr($_POST['gift_message'])); } /* Add to Email */ add_filter('woocommerce_email_order_meta_keys', 'my_custom_order_meta_keys'); function my_custom_order_meta_keys( $keys ) { $keys[] = 'Gift Message'; // This will look for a custom field called 'Tracking Code' and add it to emails return $keys; }
Forum: Plugins
In reply to: [WooCommerce] add custom fields to order confirmation screen?Hi, would you be able to help me? I am also trying to display a custom field value in the order confirmation page, in my case a gift message. I tried your code and I was able to get the gift message text field to show up, but the not the customers input. I know that I am entering in the wrong info since I’m very new to php. Basically, I’m not sure how to modify your code so the customer’s gift message shows up on the order confirmation page.
Thanks in advance!
Forum: Themes and Templates
In reply to: [Storefront] adding shopping cart menu to top barI initially wanted the cart contents to drop down when you hover over it, but once I figured out how to do that, I didn’t care for it. So I ended up doing something nearly identical to what you have in your example. It turned out nice. Thanks for replying, btw.