nward85
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Retrieve user data on/after checkout/** * woocommerce add user information to order */ $meta_value = get_user_meta( get_current_user_id(), 'user_favorite_scent_1', true ); add_action( 'woocommerce_checkout_update_order_meta', 'user_favorite_scent_1' ); function user_favorite_scent_1( $order_id ) { update_post_meta($order_id, 'favorite_scent_1', $meta_value); } /** * woocommerce display add user information to order */ function display_order_data_in_admin( $order ){ ?> <div class="order_data_column"> <h4><?php _e( 'Extra Details' ); ?></h4> <?php echo '<p><strong>' . __( 'Scent 1' ) . ':</strong>' . get_post_meta( $order->id, 'user_favorite_scent_1', true ) . '</p>'; ?> </div> <?php } add_action( 'woocommerce_admin_order_data_after_order_details', 'display_order_data_in_admin' );Does not work. any ideas?
Forum: Plugins
In reply to: [WooCommerce] Retrieve user data on/after checkout$user = get_userdata($userid); add_action( 'woocommerce_checkout_update_order_meta', 'user_favorite_scent_1' ); function user_favorite_scent_1( $order_id ) { update_post_meta($order_id, ['favorite_scent_1'], $userid); }?
Forum: Plugins
In reply to: [WooCommerce] Retrieve user data on/after checkoutOkay and I don’t need any kind of get_user_id or anything?
Forum: Plugins
In reply to: [WooCommerce] Retrieve user data on/after checkoutDoes this look accurate?
add_action( 'woocommerce_checkout_update_order_meta', 'user_meta_1' ); function user_meta_1( $order_id ) { update_post_meta($order_id, [META KEY HERE], $meta_value, $prev_value); }Forum: Plugins
In reply to: [WooCommerce] Retrieve user data on/after checkoutIf I could put it in a non-editable custom field on product page that would be awesome.
But straight into the order data makes more sense if I don’t even want it to be edited.Forum: Plugins
In reply to: [WooCommerce] Variation select not being recognizedThe error I get has to do with jquery smartresize function..
And as far as I can tell from looking at the files, selects are styles with CSS and only targets select within their plugin.
I emailed the plugin support about the situation. Maybe it has to do with their plugin, since everything works fine when I deactivate it.
Thanks for your time.
Forum: Plugins
In reply to: [WooCommerce] Variation select not being recognizedIt seems the issue is with my userpro plugin, which is strange because I have no updated that plugin recently, and the issue started when I updated the woocommerce plugin this morning.
Forum: Plugins
In reply to: [WooCommerce] Variation select not being recognizedAh I feel stupid, I read that and just forgot.
Here is the product: https://lazotix.com/product/individual-candle/
### WordPress Environment ###
Home URL: https://lazotix.com
Site URL: https://lazotix.com
WC Version: 2.5.2
Log Directory Writable: ✔ /home/nathanward1985/public_html/wp-content/uploads/wc-logs/
WP Version: 4.4.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
Language: en_US### Server Environment ###
Server Info: Apache/2.4.16
PHP Version: 5.4.45
PHP Post Max Size: 100 MB
PHP Time Limit: 300
PHP Max Input Vars: 4000
SUHOSIN Installed: –
MySQL Version: 5.5.45
Max Upload Size: 100 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✕ wp_remote_get() failed. The WooCommerce plugin updater won’t work with your server. Contact your hosting provider. Status code: 503
WCS_DEBUG: ✔No
### Database ###
WC Database Version: 2.5.2
:
woocommerce_sessions: ✔
woocommerce_api_keys: ✔
woocommerce_attribute_taxonomies: ✔
woocommerce_termmeta: ✔
woocommerce_downloadable_product_permissions: ✔
woocommerce_order_items: ✔
woocommerce_order_itemmeta: ✔
woocommerce_tax_rates: ✔
woocommerce_tax_rate_locations: ✔### Active Plugins (19) ###
Akismet: by Automattic – 3.1.7
Activity Log: by Yakir Sitbon
Maor Chasen
Ariel Klikstein – 2.2.8Email Log: by Sudar – 1.8.1
Jetpack by WordPress.com: by Automattic – 3.9.1
Menu Items Visibility Control: by Hassan Derakhshandeh – 0.3.1
Ninja Forms: by The WP Ninjas – 2.9.33
Shortcodes Ultimate: by Vladimir Anokhin – 4.9.9
Thumbs Rating: by Ricard Torres – 2.8
TinyMCE Advanced: by Andrew Ozz – 4.2.8
TinyMCE and TinyMCE Advanced Professsional Formats and Styles: by David St�ckl – 1.1.2
Types: by OnTheGoSystems – 1.8.11
Ultimate FAQ: by Etoile Web Design – 1.1.15
UserPro: by Deluxe Themes – 2.61
WooCommerce: by WooThemes – 2.5.2### Settings ###
Force SSL: ✔
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2### API ###
API Enabled: ✔
API Version: 3.1.0### WC Pages ###
Shop Base: #4 – /shop/
Cart: #5 – /cart/
Checkout: #6 – /checkout/
My Account: #7 – /your-account/### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)### Theme ###
Name: LAZOTIX
Version: 1.0.0
Author URL: http://underscores.me/
Child Theme: ✕ – If you’re modifying WooCommerce on a parent theme you didn’t build personally
then we recommend using a child theme. See: How to create a child themeWooCommerce Support: ✔
### Templates ###
Overrides: lazotix/woocommerce/archive-product.php
lazotix/woocommerce/cart/cart-empty.php
lazotix/woocommerce/cart/cart-totals.php
lazotix/woocommerce/cart/cart.php
lazotix/woocommerce/checkout/form-billing.php
lazotix/woocommerce/checkout/form-checkout.php
lazotix/woocommerce/checkout/form-coupon.php
lazotix/woocommerce/checkout/form-login.php
lazotix/woocommerce/checkout/form-shipping.php
lazotix/woocommerce/checkout/payment-method.php
lazotix/woocommerce/checkout/review-order.php
lazotix/woocommerce/checkout/thankyou.php
lazotix/woocommerce/content-single-product.php
lazotix/woocommerce/emails/email-styles.php
lazotix/woocommerce/global/form-login.php
lazotix/woocommerce/myaccount/form-add-payment-method.php
lazotix/woocommerce/myaccount/form-login.php
lazotix/woocommerce/myaccount/my-account.php
lazotix/woocommerce/myaccount/my-address.php
lazotix/woocommerce/myaccount/my-orders.php
lazotix/woocommerce/myaccount/view-order.phpForum: Plugins
In reply to: [Strong Testimonials] Category selection as part of formVoted for this on wpmission as well. Trying to put all product reviews on one page, but categorized by products.
Forum: Plugins
In reply to: [Thumbs Rating] change vote up/down to other textIf anyone is interested, This is how you add font awesome thumbs icon
span.thumbs-rating-up::before{ font-family: FontAwesome !important; content: '\f164' !important; } span.thumbs-rating-down::before{ font-family: FontAwesome !important; content: "\f165" !important; }Forum: Plugins
In reply to: [Thumbs Rating] change vote up/down to other textI tried doing this and it does not seem to be working…any ideas? I am trying to use font awesome. I did this:
‘.thumbs-rating-container .thumbs-rating-up span:before{
font-family: FontAwesome;
content: ‘\f164’;
}.thumbs-rating-container .thumbs-rating-down span:before{
font-family: FontAwesome;
content: “\f165”;
}’but it is not working. It doesn’t even show on my source code anywhere, but I know the CSS file is working.
I also read this: https://wordpress.org/support/topic/icon-from-font-awesom-instead-of-text-vote-up
But do not want to update plugin files for updates.
Forum: Plugins
In reply to: [Strong Testimonials] Registered users and avatarsPerfect! That worked 🙂 Thank you!
Forum: Plugins
In reply to: [Strong Testimonials] Registered users and avatarsMy website if needed: http://petnplayfl.com
Forum: Plugins
In reply to: [Strong Testimonials] Registered users and avatarsI make my own templates, mostly using a starter template, and I have patience if there are instructions. If you do have instructions that would be great. I am using buddypress as well. I have the membership plugin, I think i can restrict content with that.
I am interested in this as well