jimmb
Forum Replies Created
-
Hello – thanks for the further input! I just checked with our hosting partner, and he said:
That must use (MU) plugin is just changing the word Coupon to promo code when displayed – it filters that text string internally before outputting but does not affect any CSS.
But he did fix the issue for us by adding a stronger selector (not sure what specifically he did), along with editing functions.php and the VERSION_CSS constant to help break the caching.
So I guess it was still a caching issue, and FWIW these actions do appear to have resolved the issue on our side.
Thanks again,
JimHello again – I now have a more thoroughly tested update on that CSS snippet. Actually, it doesn’t successfully display the promo code input form in most cases.
Here is the code being used:
.checkout_coupon.woocommerce-form-coupon {display: block !important;}And here are the testing results with the latest versions of these browsers on a PC:
Chrome (standard) – works as expected
Chrome (Incognito) – worksFirefox (standard) – doesn’t work
Firefox (Private) – worksEdge (standard) – doesn’t work
Edge (InPrivate) – worksI don’t think it’s a caching issue, since both myself and the hosting partner have cleared caches multiple times. It’s probably a CSS conflict of some kind, and I’m going to see if someone who knows CSS better than myself can look into it further…
I’ll reply back if we manage to solve this or find a better solution than the above code.
Well, that’s a wild goose chase! It was this previous thread that I started with, where I was directed to start a new issue …
Anyway, I have applied the workaround to our style.css file, and it works okay.
It’s really a bit clumsy, though, as the ‘Click here to enter your code’ part is still showing above the newly added block … adding a redundant quality while remaining unfunctional.
But clearly this forum isn’t the place for such bug reports. I should have taken this up directly with WooCommerce support as a bug, and not been fishing around here.
Hi @joashrajin,
Thanks for your reply, and here is the system status for the staging site:
### WordPress Environment ### WordPress address (URL): https://954cfbbb37.nxcli.net Site address (URL): https://954cfbbb37.nxcli.net WC Version: 5.9.0 REST API Version: ✔ 5.9.0 WC Blocks Version: ✔ 6.1.0 Action Scheduler Version: ✔ 3.3.0 WC Admin Version: ✔ 2.8.0 Log Directory Writable: ✔ WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.33 PHP Post Max Size: 2 GB PHP Time Limit: 600 PHP Max Input Vars: 16384 cURL Version: 7.29.0 NSS/3.53.1 SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.28-MariaDB Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.9.0 WC Database Prefix: wp_avf2sndwsk_ Total Database Size: 77.57MB Database Data Size: 42.23MB Database Index Size: 35.34MB wp_avf2sndwsk_woocommerce_sessions: Data: 2.52MB + Index: 0.08MB + Engine InnoDB wp_avf2sndwsk_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_avf2sndwsk_woocommerce_order_items: Data: 1.52MB + Index: 0.19MB + Engine InnoDB wp_avf2sndwsk_woocommerce_order_itemmeta: Data: 6.52MB + Index: 7.03MB + Engine InnoDB wp_avf2sndwsk_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_avf2sndwsk_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_actionscheduler_actions: Data: 0.16MB + Index: 0.19MB + Engine InnoDB wp_avf2sndwsk_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_actionscheduler_logs: Data: 0.14MB + Index: 0.13MB + Engine InnoDB wp_avf2sndwsk_commentmeta: Data: 0.09MB + Index: 0.13MB + Engine InnoDB wp_avf2sndwsk_comments: Data: 2.52MB + Index: 3.00MB + Engine InnoDB wp_avf2sndwsk_es_deliverreport: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_es_emaillist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_es_notification: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_es_sentdetails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_es_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_gf_entry: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_gf_entry_meta: Data: 0.17MB + Index: 0.11MB + Engine InnoDB wp_avf2sndwsk_gf_entry_notes: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_ig_actions: Data: 0.05MB + Index: 0.08MB + Engine InnoDB wp_avf2sndwsk_ig_blocked_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_ig_campaigns: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_avf2sndwsk_ig_contactmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_ig_contacts: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_avf2sndwsk_ig_contacts_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_ig_contact_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_ig_custom_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_ig_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_ig_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_avf2sndwsk_ig_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_ig_lists_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_ig_mailing_queue: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_ig_queue: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wp_avf2sndwsk_ig_sending_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_ig_temp_import: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_ig_unsubscribe_feedback: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_ig_wc_cart: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_avf2sndwsk_ig_wc_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_avf2sndwsk_ig_workflows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_ig_workflows_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_newsletter: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_newsletter_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_newsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_newsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_options: Data: 2.38MB + Index: 0.13MB + Engine InnoDB wp_avf2sndwsk_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_postmeta: Data: 14.55MB + Index: 17.06MB + Engine InnoDB wp_avf2sndwsk_posts: Data: 5.52MB + Index: 1.06MB + Engine InnoDB wp_avf2sndwsk_termmeta: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_avf2sndwsk_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_term_relationships: Data: 0.16MB + Index: 0.11MB + Engine InnoDB wp_avf2sndwsk_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_usermeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB wp_avf2sndwsk_users: Data: 0.13MB + Index: 0.14MB + Engine InnoDB wp_avf2sndwsk_vtprd_purchase_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_vtprd_purchase_log_product: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_vtprd_purchase_log_product_rule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_vtprd_transient_cart_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_wc_customer_lookup: Data: 0.14MB + Index: 0.13MB + Engine InnoDB wp_avf2sndwsk_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_avf2sndwsk_wc_order_product_lookup: Data: 0.20MB + Index: 0.25MB + Engine InnoDB wp_avf2sndwsk_wc_order_stats: Data: 0.16MB + Index: 0.19MB + Engine InnoDB wp_avf2sndwsk_wc_order_tax_lookup: Data: 0.11MB + Index: 0.13MB + Engine InnoDB wp_avf2sndwsk_wc_product_meta_lookup: Data: 0.11MB + Index: 0.16MB + Engine InnoDB wp_avf2sndwsk_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_avf2sndwsk_wpmailsmtp_debug_events: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_avf2sndwsk_wpmailsmtp_tasks_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ### Post Type Counts ### acf-field: 117 acf-field-group: 10 attachment: 1571 custom_css: 1 customize_changeset: 3 es_template: 2 nav_menu_item: 18 page: 31 post: 37 product: 629 product_variation: 156 revision: 673 shop_coupon: 1 shop_order: 1876 shop_order_refund: 6 team: 11 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (1) ### WooCommerce: by Automattic – 5.9.0 (update to version 6.0.0 is available) ### Inactive Plugins (25) ### Advanced Custom Fields PRO: by Delicious Brains – 5.11 Classic Editor: by WordPress Contributors – 1.6.2 Codeable Mods: by Jason Martin – 0.2 Contact Form 7: by Takayuki Miyoshi – 5.5.2 Custom Related Products for WooCommerce: by Scott Nelle – 1.3 Email Subscribers & Newsletters: by Icegram – 5.0.0 Enhanced Media Library: by wpUXsolutions – 2.8.8 Error Log Monitor: by Janis Elsts – 1.7 GA Google Analytics: by Jeff Starr – 20210719 G Meta Keywords: by Sinan Yorulmaz – 1.4 Gravity Forms: by Gravity Forms – 2.5.15 Head, Footer and Post Injections: by Stefano Lissa – 3.2.2 PHPEnkoder: by Michael Greenberg – 1.15.1 Product Input Fields for WooCommerce Pro: by Tyche Softwares – 2.2.0 PublishPress Capabilities: by PublishPress – 2.3 Recapture for WooCommerce: by Recapture – 1.0.22 Recent Posts by Category Widget: by Ross Cornell – 1.3 Simple Custom Post Order: by Colorlib – 2.5.6 SumoMe: by SumoMe – 1.31 Tawk.to Live Chat: by Tawkto – 0.6.0 WooCommerce Authorize.net Premium: by Indatos Technologies – 10.5 WooCommerce AvaTax: by SkyVerge – 1.14.0 (update to version 1.15.0 is available) WooCommerce FedEx Shipping: by WooCommerce – 3.4.39 WooCommerce Search by Product SKU: by Clayton Kriesel [Three Remain Production] – 1.0 WP Mail SMTP: by WPForms – 3.2.0 ### Dropin Plugins (1) ### fatal-error-handler.php: fatal-error-handler.php ### Must Use Plugins (4) ### Nexcess Managed Apps: by Nexcess – 1.26.3 szbl-conversion-code.php: by – szbl-lw-flag.php: by – szbl-woo-coupon-text.php: by – ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ✔ ### WC Pages ### Shop base: #367 - /shop/ Cart: #368 - /cart/ Checkout: #369 - /checkout/ My account: #370 - /my-account/ Terms and conditions: #129 - /terms-and-conditions/ ### Theme ### Name: Twenty Nineteen Version: 2.1 Author URL: https://ww.wp.xz.cn/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### Action Scheduler ### Complete: 465 Oldest: 2021-10-22 13:19:46 -0500 Newest: 2021-12-16 18:28:49 -0600 Pending: 1 Oldest: 2021-12-20 13:41:25 -0600 Newest: 2021-12-20 13:41:25 -0600 ### Status report information ### Generated at: 2021-12-20 13:41:35 -06:00Best regards,
JimHello – I’d like to chime in on this thread, since it wasn’t really resolved.
Our website is having the exact same problem. So after cloning the live site for a staging site, I have taken the following steps:
1. Changed the theme from our custom theme to Twenty Nineteen
2. Went to the Plugins page, and deactivated everything except the core WooCommerce plug-in.And the issue is still happening. The promo code I’ve created (VUKJFU8G) works at /cart to provide a fixed discount of $44.00. But if I remove that promo code (or don’t enter it at /cart) and proceed to /checkout, the text “Have an Promo Code? Click here to enter your code” doesn’t provide a link or option to enter the code.
Since I’ve removed the custom theme and deactivated all other plug-ins, this appears to be an issue with the core WooCommerce plug-in.
Note: currently running Version 5.9.0
You can see this for yourself at the staging site: https://954cfbbb37.nxcli.net/
Thanks for your further help with this issue,
JimJust in case anyone else has this issue, the solution is to hide the reCAPTCHA ‘Privacy – Terms’ badge with CSS, and then re-install the Tawk.To Live Chat plug-in.
Doing the above solved this issue for me.
Forum: Fixing WordPress
In reply to: Newbie Q: Where to Add Code in PHP FIleThanks Steven – that’s very helpful.
So I’ll try to figure out how our theme is set up (i.e. whether it’s considered a ‘child’ or ‘base’ theme), and then go from there.
Best regards,
JimForum: Fixing WordPress
In reply to: Membership E-commerce Site RecommendationsThanks for the reply, retentionmediaseo! This is good news, and I will take that under consideration as we approach developers to get quotes.
Thanks again,
JimForum: Developing with WordPress
In reply to: CSS Styling on PHP Code Altered for Plug-inHi Joy – thanks for the reply! I should have included the original code for reference, because I have not changed that part of the previous code. Here is how that line was originally coded, when the ‘mailto’ icon displayed correctly:
<?php if(get_field('email_id'))?><li><a href="mailto:<?php the_field('email_id');?>"><i class="fa fa-envelope"></i></a></li>As you can see, the
<i class="fa fa-envelope">part is exactly the same, so I don’t think that’s the problem…Another thought I had was to place that functionality inside the
<i class="fa fa-envelope">, but that didn’t solve the problem. For reference, here is what that attempt looked like:<?php if(get_field('email_id'))?><li><i class="fa fa-envelope"><?php echo enkode_mailto(get_field('email_id'),get_field('email_id'));?></i></li>I agree it seems like the easiest option is to fix this in the theme’s PHP template (presumably wrapping the PHPEnkoder plug-in inside the FontAwesome icon + image), but I just don’t know how that would be done exactly.
Forum: Plugins
In reply to: [Error Log Monitor] Sorry, you are not allowed to change these settings.Thanks for the Reply, Janis. Strangely, I have tried this when logged in with 2 different Admin accounts, and in both cases it’s still showing that message. (Note: one of these accounts is the “Admin” account that is launched when clicking ‘WP Admin’ inside the GoDaddy portal).
I guess I’ll need to figure out why these admin accounts don’t have the
update_corecapability …. But I’ll mark this issue as resolved, since it appears this is a separate problem.Forum: Plugins
In reply to: [Error Log Monitor] Adding Notices & Warnings to Error LogThanks Janis – that is exactly what I was looking for!
Forum: Fixing WordPress
In reply to: Adding Space Between Product Categories & QuantityHi Steven, thanks for the reply! I just tried adding that code to the theme’s “functions.php” file, but I didn’t see anything change afterward.
Tomorrow I should have someone else in the office who is a programmer (technically a student in computer science) look at it…
But I’m guessing he’ll be wondering if there are any suggestions for specific types of things to play with in the ‘if’ condition section.
Alternately, is there an easy way to give either the product category label or the quantity (or both) a class? Then I could just add some padding in the CSS file and be done with it.
Thanks for any further suggestions or advice,
JimForum: Developing with WordPress
In reply to: How to Change E-mail Address being CalledAh, that is a good idea – thanks for the suggestion! Actually, though, you were right that there is a field to allow for adding Team Members’ e-mail addresses. For some reason, though, this wasn’t showing on the form when I was looking. But to solve a totally different problem, I reverted the files to a back-up of the site from 1 week ago, and also deactivated a couple plug-ins… And somehow something that happened during those changes today brought that field back! And so now it was easy to update her e-mail address. Anyway, I’ll mark this as ‘Resolved’, and thanks again for the input.
Forum: Developing with WordPress
In reply to: How to Change E-mail Address being CalledHi Steven,
Thanks very much for the reply! No, it’s very surprising to me, but there is not a place anywhere in the UI that the e-mail addresses are found. I double checked again today, and looked in every single place that seemed even remotely possible but without any success…
That’s why I posted this question, since it seems that — for some reason — the previous developer hard coded these e-mail addresses in somewhere. Unfortunately, I haven’t been able to figure out where they have been placed.
Any other suggestions will be much appreciated!
– Jim