WooCommerce Adding HTML Text to Product Variation Descriptions
-
Having an issue with WooCommerce adding bits of html to the variable descriptions of Products in the Square app. Specifically, if there is a “Small Black Shirt” on our site, WooCommerce pushes it to the Square app on our POS as “Black Shirt<span> – </span>Small”.
This is pretty much just a cosmetic issue but it makes items with longer descriptions impossible to see which variation is which on the iPad.
Anyone have this kind of issue? Struck out with Square support as they have not seen this issue come up before. Any help is much appreciated.
The page I need help with: [log in to see the link]
-
Hello,
adding bits of html to the variable descriptions of Products in the Square app
I’m sorry to hear that. I understand WooCommerce is adding HTML descriptions into Square app.
To confirm, is your sync setting WooCommerce, correct? I mean, you are looking to sync products from WooCommerce to the Square platform.
Can you provide us a screenshot of the issue on your end? Can you please provide us one product link that is having the issue? For screenshots, you may want to use https://snipboard.io.
Looking forward to hearing from you.
Hey there,
Looks like all of our settings through the sync are correct and working. We are using WooCommece to sync from our online storefront to Square, both online and the POS system we use.
Took a screenshot of the Point of Sale screen for you to view…
https://snipboard.io/pM5BTF.jpg
Hopefully that helps to visualize the issue better.
Hi,
Thanks for sending the screenshot.
As the next step, please switch your site theme to the default Storefront theme (if applicable), and disable all plugins except WooCommerce and Square. Try to update the product that is showing the issue, please check if the issue persists. If not, it means a conflict was affecting the site, and you will want to reactivate the original theme (If it is not Storefront) and then reactivate the rest of the plugins one by one until you find the one causing the issue.
More info: https://woocommerce.com/document/how-to-test-for-conflicts/
Let us know how that goes for you.
Hey there,
Went through and tested multiple plug-ins as well as themes while pushing updates to Square on the point of sale. So far there has been on correction on that bit of html added to the attribute/variation.
Additionally, I went in and built a new set of Attributes/Terms, added them to a product and these also added the “<span> – </span>” text. These are also applied when making a product from scratch with these variations.
Such a strange error. Not sure where this is coming from, hah.
Hi,
Sorry to hear that.
To help you to investigate further, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?
Looking forward to hearing from you.
Sure thing. Have that pasted below…
WordPress Environment WordPress address (URL): https://clementemuseum.com
Site address (URL): https://clementemuseum.com
WC Version: 7.6.0
REST API Version: ? 7.6.0
WC Blocks Version: ? 9.8.4
Action Scheduler Version: ? 3.5.4
Log Directory Writable: ?
WP Version: 6.2
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: ?
WP Cron: ?
Language: en_US
External object cache: ? Server Environment Server Info: nginx
PHP Version: 8.0.28
PHP Post Max Size: 2 GB
PHP Time Limit: 1200
PHP Max Input Vars: 6144
cURL Version: 7.86.0
OpenSSL/1.1.1n SUHOSIN Installed: –
MySQL Version: 10.4.26-MariaDB-log
Max Upload Size: 2 GB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? Database WC Database Version: 7.6.0
WC Database Prefix: wp_
Total Database Size: 930.69MB
Database Data Size: 794.83MB
Database Index Size: 135.86MB
wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 1.52MB + Index: 0.23MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 7.52MB + Index: 6.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 4.03MB + Index: 3.92MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 3.02MB + Index: 3.03MB + Engine InnoDB
wp_ac_segments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_admin_columns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_cartflows_ca_cart_abandonment: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
wp_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 6.52MB + Index: 8.06MB + Engine InnoDB
wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_gf_entry: Data: 3.52MB + Index: 0.34MB + Engine InnoDB
wp_gf_entry_meta: Data: 14.52MB + Index: 7.59MB + Engine InnoDB
wp_gf_entry_notes: Data: 0.23MB + Index: 0.06MB + Engine InnoDB
wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_gf_form_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_gf_form_view: Data: 0.17MB + Index: 0.14MB + Engine InnoDB
wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailchimp_carts: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
wp_mailchimp_jobs: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_options: Data: 3.22MB + Index: 0.61MB + Engine InnoDB
wp_postmeta: Data: 347.84MB + Index: 69.89MB + Engine InnoDB
wp_posts: Data: 27.47MB + Index: 6.92MB + Engine InnoDB
wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_simple_auction_log: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_tec_events: Data: 0.16MB + Index: 0.05MB + Engine InnoDB
wp_tec_occurrences: Data: 0.17MB + Index: 0.13MB + Engine InnoDB
wp_tec_series_relationships: Data: 0.02MB + Index: 0.03MB + 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.36MB + Index: 0.27MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_trp_dictionary_en_us_es_pr: Data: 5.45MB + Index: 4.19MB + Engine InnoDB
wp_trp_gettext_en_us: Data: 1.52MB + Index: 1.91MB + Engine InnoDB
wp_trp_gettext_es_pr: Data: 2.52MB + Index: 0.75MB + Engine InnoDB
wp_trp_gettext_original_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_trp_gettext_original_strings: Data: 1.52MB + Index: 1.52MB + Engine InnoDB
wp_trp_original_meta: Data: 0.41MB + Index: 0.53MB + Engine InnoDB
wp_trp_original_strings: Data: 3.52MB + Index: 2.52MB + Engine InnoDB
wp_usermeta: Data: 5.52MB + Index: 4.03MB + Engine InnoDB
wp_users: Data: 0.47MB + Index: 0.31MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp_wc_bookings_availability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.52MB + Index: 0.31MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.67MB + Engine InnoDB
wp_wc_order_stats: Data: 2.52MB + Index: 0.75MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.22MB + Index: 0.34MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_square_customers: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
wp_wpml_mails: Data: 336.56MB + Index: 0.00MB + Engine InnoDB
wp_wps_hit: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
wp_wps_index: Data: 5.45MB + Index: 7.25MB + Engine InnoDB
wp_wps_key: Data: 0.34MB + Index: 0.28MB + Engine InnoDB
wp_wps_object_term: Data: 0.33MB + Index: 0.69MB + Engine InnoDB
wp_wps_object_type: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_wps_query: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wps_uri: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wps_user_agent: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_indexable: Data: 1.52MB + Index: 0.84MB + Engine InnoDB
wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_meta: Data: 0.33MB + Index: 0.00MB + Engine InnoDB Post Type Counts acf-field: 1
acf-field-group: 1
attachment: 788
bookable_person: 6
custom_css: 1
et_pb_layout: 4
jetpack_migration: 2
jp_img_sitemap: 11
jp_pay_product: 2
jp_sitemap: 11
jp_sitemap_master: 11
language_switcher: 4
nav_menu_item: 28
note: 2
page: 46
popup: 7
popup_theme: 3
post: 1
product: 1624
product_variation: 355
revision: 2034
shop_coupon: 20
shop_order: 7632
shop_order_refund: 171
shop_subscription: 52
ticket-meta-fieldset: 2
tribe_events: 862
tribe_organizer: 1
tribe_rsvp_attendees: 4
tribe_rsvp_tickets: 5
tribe_tpp_orders: 10
tribe_venue: 1
tribe_wooticket: 11531
wc_booking: 2
wc_membership_plan: 1
wc_user_membership: 48
wcpf_item: 2
wcpf_project: 1
wp_global_styles: 1 Security Secure connection (HTTPS): ?
Hide errors from visitors: ? Active Plugins (31) Gravity Forms: by Gravity Forms – 2.7.4
Akismet Anti-Spam: by Automattic – 5.1
Classic Editor: by WordPress Contributors – 1.6.3
Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
GTM4WP: by Thomas Geiger – 1.16.2
Elegant Themes Updater: by Elegant Themes – 1.2
Event Tickets Plus: by The Events Calendar – 5.6.9
Event Tickets: by The Events Calendar – 5.5.10
The Events Calendar Pro: by The Events Calendar – 6.0.11
EventsBear Clemente: by Bear Left Bear – 1.0.0
Facebook for WooCommerce: by Facebook – 3.0.18
Gravity Forms Mailchimp Add-On: by Gravity Forms – 5.2.0
Jetpack: by Automattic – 12.1-a.5
Mailchimp for WooCommerce: by Mailchimp – 2.8.2
Redirection: by John Godley – 5.3.10
Surbma | Divi & Gravity Forms: by Surbma – 5.1
The Events Calendar: by The Events Calendar – 6.0.12
TranslatePress - Multilingual: by Cozmoslabs
Razvan Mocanu
Madalin Ungureanu
Cristophor Hurduban – 2.5.1 Events Tickets Extension: Set default quantity of tickets to 1: by Modern Tribe
Inc. – 1.1.0 WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.24
WooCommerce Gravity Forms Product Add-Ons: by Element Stark – 3.3.26 (update to version 3.4.3 is available)
WooCommerce Memberships: by SkyVerge – 1.24.0
WooCommerce Payments: by Automattic – 5.7.0
WooCommerce Shipping & Tax: by WooCommerce – 2.2.4
WooCommerce Simple Auction: by wpgenie – 1.2.37
WooCommerce Smart Coupons: by StoreApps – 7.1.0 (update to version 7.5.0 is available)
WooCommerce Square: by WooCommerce – 3.7.0
WooCommerce Subscriptions: by WooCommerce – 4.8.1 (update to version 5.0.1 is available)
WooCommerce Variation Swatches and Photos: by Element Stark – 3.1.6 (update to version 3.1.7 is available)
WooCommerce: by Automattic – 7.6.0
WP Mail Logging: by WP Mail Logging Team – 1.11.0 Inactive Plugins (3) Admin Columns Pro: by AdminColumns.com – 6.0.3
Popup Maker: by Popup Maker – 1.18.1
Yoast SEO: by Team Yoast – 20.5 Dropin Plugins (2) advanced-cache.php: advanced-cache.php
object-cache.php: Memcached Settings API Enabled: –
Force SSL: ?
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: auction (auction)
booking (booking)
external (external)
grouped (grouped)
simple (simple)
subscription (subscription)
variable (variable)
variable subscription (variable-subscription) 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: ?
Enforce Approved Product Download Directories: –
Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #4 - /store/
Cart: #5 - /cart/
Checkout: #6 - /checkout/
My account: #7 - /my-account/
Terms and conditions: #655 - /terms/ Theme Name: Divi Child
Version: 1.0.0
Author URL: https://bearleftbear.com
Child Theme: ?
Parent Theme Name: Divi
Parent Theme Version: 4.19.5
Parent Theme Author URL: https://www.elegantthemes.com
WooCommerce Support: ? Templates Overrides: – Memberships Restriction mode:: Hide content only
Public content:: Products: 7 items
Excluded from discounts:: –
Membership plans:: 1
Standard Membership Plan:: Members: 48Access method: Product(s) purchaseAccess length: Unlimited Subscription: YesInstallment plan: No? The plan has purchasing discounts
but none are active Subscriptions WCS_DEBUG: ? No
Subscriptions Mode: ? Live
Subscriptions Live URL: https://clementemuseum.com
Subscriptions-core Library Version: 5.3.1
Subscription Statuses: wc-active: 39
wc-pending-cancel: 1
wc-on-hold: 5
wc-cancelled: 7 WooCommerce Account Connected: ? Yes
Active Product Key: ? No
Report Cache Enabled: ? Yes
Cache Update Failures: ? 0 failure Store Setup Country / State: United States (US) — Pennsylvania Subscriptions by Payment Gateway Square: wc-active: 39
wc-cancelled: 7
wc-on-hold: 5
wc-pending-cancel: 1 Payment Gateway Support PayPal Standard: subscriptions
gateway_scheduled_payments
subscription_payment_method_change_customer
subscription_cancellation
subscription_suspension
subscription_reactivation
products
refunds PayPal Reference Transactions Enabled: ? No
Square: products
card_types
customer_decline_messages
payment_form
authorization
charge
charge-virtual
capture_charge
refunds
voids
customer_id
tokenization
add_payment_method
token_editor
subscriptions
subscription_suspension
subscription_cancellation
subscription_reactivation
subscription_amount_changes
subscription_date_changes
multiple_subscriptions
subscription_payment_method_change_customer
subscription_payment_method_change_admin Square Environment: Production
Tokenization Enabled: ?
Debug Mode: Off Admin Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page Disabled Features: block-editor-feature-enabled
minified-js
new-product-management-experience
product-variation-management
settings Daily Cron: ? Next scheduled: 2023-04-14 15:50:19 -04:00
Options: ?
Notes: 74
Onboarding: completed WooCommerce Payments Version: 5.7.0
Connected to WPCOM: Yes
Blog ID: 159918095
Account ID: acct_1KgYqT2Ht3tWF7b8 Action Scheduler Complete: 10,008
Oldest: 2023-03-14 11:02:04 -0400
Newest: 2023-04-14 10:38:47 -0400 Failed: 16
Oldest: 2022-07-22 12:28:29 -0400
Newest: 2023-04-13 15:33:33 -0400 Pending: 50
Oldest: 2023-04-14 10:48:45 -0400
Newest: 2024-04-11 12:15:48 -0400 Smart Coupons related settings Number of coupons to show: 5
Number of characters in auto-generated coupon code:
Valid order status for auto-generating coupon: processing
completed Include tax in the amount of the generated gift card: no
Deduct credit/gift before doing tax calculations: no
Gift Card discount is inclusive of tax: no
Automatic deletion: no
Coupon emails: yes
Printing coupons: yes
Sell gift cards at less price?: no
Use gift card applied in first subscription order for subsequent renewals until credit reaches zero: yes
Renewal orders should not generate coupons even when they include a product that issues coupons: no
Allow sending of coupons to others: yes
Allow schedule sending of coupons?: no
Combine emails: no
Auto generated coupon email: yes
Combined auto generated coupons email: no
Acknowledgement email: yes
Enable taxes: yes
Prices entered with tax: no
Rounding: no
Display prices in the shop: excl
Display prices during cart and checkout: excl
Display tax totals: single
Enable the use of coupon codes: yes
Calculate coupon discounts sequentially: no
Account endpoints > Coupons: wc-smart-coupons Status report information Generated at: 2023-04-14 10:42:58 -04:00
`llo @eh25,
When Square is set as the Sync Setting, your products in WooCommerce will be overwritten with data from your Square products, including the product description.
However, when WooCommerce is designated the product description will not be overwritten in the first place.
Seems like we’ll need to take a closer look here. Could you please open a ticket about this from WooCommerce.com > MY profile > Support?
Make sure to include a link to this thread so we know what has been done already.
Cheers!Hello,
Opened that support ticket with this link.
As for the overwriting, WooCommerce definitely overwrites any product info on Square. Anytime I update descriptions on the Point of Sale WooCommerce replaces it with the web data on any sync.
From my testing and what’s mentioned in the documentation, the description should not sync from WooCommerce to Square but I could be wrong.
I can see the ticket in our system so I’m marking the thread as solved.
Feel free to respond here if you have any other questions. ??
- The topic ‘WooCommerce Adding HTML Text to Product Variation Descriptions’ is closed to new replies.