Media (music) in Product Summary
-
Hello,
I’m contacting you because I have an issue on single product’s pages.
As you can see, I’ve update WooCommerce with the last one, and since then, the product summary displays the short code instead of the playlist itself. Do you know how to fix that?
Thanks
The page I need help with: [log in to see the link]
-
From the details you’ve shared, it appears that the shortcode isn’t processing as it should. Instead, it’s showing up as plain text. I also saw this issue when I checked your site. This issue often arises after an update, if there’s a conflict with your theme or one of your plugins.
Here are a few steps you can take to troubleshoot this issue:
- Switch to a default theme: Temporarily switch to the default Storefront theme to see if the issue persists. If the problem is resolved, the issue lies within your theme, and you should reach out to your theme’s developer for assistance.
- Deactivate your plugins: Deactivate all your plugins except WooCommerce. If the issue is resolved, reactivate your plugins one by one to identify the conflicting plugin. Once you’ve found the conflicting plugin, you can reach out to the plugin’s developer for support.
If you’ve tried these steps and are still experiencing the issue, please can you share a copy of the following:
- System Status Report: navigate to WooCommerce → Status. Select Get system report and then Copy for support.
- Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here. Once you have these, please share them in your response here.
Thanks!
Hey,
Thanks for your reply, I tried the frist two options and it didn’t work so here it is:
WordPress Environment WordPress address (URL): https://haunted-dancehall.com Site address (URL): https://haunted-dancehall.com WC Version: 7.9.0 REST API Version: ? 7.9.0 WC Blocks Version: ? 10.6.1 Action Scheduler Version: ? 3.6.1 Log Directory Writable: ? WP Version: 6.2.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – Server Environment Server Info: Apache PHP Version: 8.0.28 PHP Post Max Size: 130 MB PHP Time Limit: 165 PHP Max Input Vars: 16000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.42-log Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 7.9.0 WC Database Prefix: mod16_ Total Database Size: 258.37MB Database Data Size: 239.49MB Database Index Size: 18.88MB mod16_woocommerce_sessions: Data: 4.02MB + Index: 1.02MB + Engine InnoDB mod16_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB mod16_woocommerce_order_items: Data: 0.08MB + Index: 0.02MB + Engine InnoDB mod16_woocommerce_order_itemmeta: Data: 0.50MB + Index: 0.47MB + Engine InnoDB mod16_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB mod16_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_actionscheduler_actions: Data: 0.22MB + Index: 0.19MB + Engine InnoDB mod16_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_actionscheduler_logs: Data: 0.17MB + Index: 0.14MB + Engine InnoDB mod16_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB mod16_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB mod16_gla_merchant_issues: Data: 1.02MB + Index: 0.00MB + Engine InnoDB mod16_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_options: Data: 5.02MB + Index: 0.17MB + Engine InnoDB mod16_postmeta: Data: 6.39MB + Index: 5.78MB + Engine InnoDB mod16_posts: Data: 10.48MB + Index: 0.70MB + Engine InnoDB mod16_relevanssi: Data: 4.44MB + Index: 6.66MB + Engine InnoDB mod16_relevanssi_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_relevanssi_stopwords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_termmeta: Data: 0.13MB + Index: 0.17MB + Engine InnoDB mod16_terms: Data: 0.20MB + Index: 0.28MB + Engine InnoDB mod16_term_relationships: Data: 0.38MB + Index: 0.22MB + Engine InnoDB mod16_term_taxonomy: Data: 0.20MB + Index: 0.23MB + Engine InnoDB mod16_ups_shipping_accessorial: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_account: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_config: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_delivery_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_fallback_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_license: Data: 0.09MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_logs_api: Data: 202.20MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_log_frontend: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_package_default: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_product_dimension: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_retry_api: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_services: Data: 0.11MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_shipments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_ups_shipping_tracking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_usermeta: Data: 0.17MB + Index: 0.06MB + Engine InnoDB mod16_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB mod16_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB mod16_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB mod16_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB mod16_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB mod16_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_wc_product_meta_lookup: Data: 0.11MB + Index: 0.13MB + Engine InnoDB mod16_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_woobe_history: Data: 0.02MB + Index: 0.05MB + Engine InnoDB mod16_woobe_history_bulk: Data: 0.02MB + Index: 0.03MB + Engine InnoDB mod16_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB mod16_yoast_indexable: Data: 1.52MB + Index: 0.95MB + Engine InnoDB mod16_yoast_indexable_hierarchy: Data: 0.19MB + Index: 0.22MB + Engine InnoDB mod16_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB mod16_yoast_primary_term: Data: 0.25MB + Index: 0.23MB + Engine InnoDB mod16_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts attachment: 2497 custom_css: 2 customize_changeset: 30 elementor_library: 1 nav_menu_item: 34 page: 16 post: 1 product: 615 revision: 1290 shop_coupon: 1 shop_order: 110 wp_global_styles: 2 wp_navigation: 2 wp_template: 11 wp_template_part: 5 yith_wcan_preset: 1 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (19) Akismet Anti-Spam: Spam Protection: by Automattic - Anti Spam Team – 5.2 Custom Post Type UI: by WebDevStudios – 1.13.7 Flexible Shipping: by Octolize – 4.21.5 Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.17 Jetpack Boost: by Automattic - Jetpack Site Speed team – 1.9.4 Jetpack: by Automattic – 12.3 Relevanssi: by Mikko Saari – 4.20.0 Side Cart WooCommerce: by XootiX – 2.3 Sticky Menu (or Anything!) on Scroll: by WebFactory Ltd – 2.32 SVG Support: by Benbodhi – 2.5.5 WooCommerce Blocks: by Automattic – 10.6.1 Table Rate Shipping for WooCommerce: by JEM Plugins – 2.28 WooCommerce Stripe Gateway: by WooCommerce – 7.4.1 PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.5.6 WooCommerce Shipping & Tax: by WooCommerce – 2.3.1 WooCommerce: by Automattic – 7.9.0 Yoast SEO: by Team Yoast – 20.11 WP File Manager: by mndpsingh287 – 7.1.9 LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: by Themeisle – 2.6.8 Inactive Plugins (5) Archive Control: by SwitchWP – 1.3.4 Boxtal Connect: by API Boxtal – 1.2.16 Relevanssi Live Ajax Search: by Mikko Saari – 2.2 UPS Shipping and UPS Access Point? : Official Plugin: by UPS – 3.8.0 YITH WooCommerce Ajax Product Filter: by YITH – 4.19.0 Settings API Enabled: – Force SSL: – Currency: GBP (£) 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: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – WC Pages Shop base: #22 - /shop/ Basket: #23 - /basket/ Checkout: #24 - /checkout/ My account: #25 - /my-account/ Terms and conditions: ? Page not set Theme Name: twentytwentytwo-child Version: 0.1.0 Author URL: https://none Child Theme: ? Parent Theme Name: Twenty Twenty-Two Parent Theme Version: 1.4 Parent Theme Author URL: https://en-gb.www.ads-software.com/ WooCommerce Support: ? Templates Overrides: twentytwentytwo-child/woocommerce/content-product.php twentytwentytwo-child/woocommerce/content-single-product.php /home/hauntes/www/wp-content/plugins/woo-gutenberg-products-block/templates/notices/error.php /home/hauntes/www/wp-content/plugins/woo-gutenberg-products-block/templates/notices/notice.php /home/hauntes/www/wp-content/plugins/woo-gutenberg-products-block/templates/notices/success.php twentytwentytwo-child/woocommerce/single-product/meta.php Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen 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: minified-js new-product-management-experience product-variation-management settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-07-19 09:37:13 +01:00 Options: ? Notes: 132 Onboarding: completed Action Scheduler Canceled: 1 Oldest: 2023-07-06 18:04:52 +0000 Newest: 2023-07-06 18:04:52 +0000 Complete: 628 Oldest: 2023-06-17 14:27:21 +0000 Newest: 2023-07-18 14:06:04 +0000 Failed: 9 Oldest: 2023-03-02 00:48:44 +0000 Newest: 2023-07-07 22:48:25 +0000 Pending: 3 Oldest: 2023-07-18 14:06:05 +0000 Newest: 2023-07-19 11:36:22 +0000 Status report information Generated at: 2023-07-18 15:06:15 +01:00 `
Hello
So I tried with themes twenty two and twenty three and it didn’t work, then I tried with themes nineteen, twenty and twenty on and it worked
Hello @mimiseku93002,
Thank you for reaching out!
I was able to replicate the issue with the[audio]
shortcode as well.
Seems like there’s a problem with block-based themes like twenty twenty-three where shortcodes are being translated to text. You can workaround this by adding the shortcode in a dedicated template for that product.
Here’s how you can do this:- Navigate to Appearances → Editor → Templates
- Add a new template for that specific product: https://d.pr/i/Pp5bJo
- Then add the single product page block to the template you just created.
- You’ll be asked to select which product should the block display, select the same product and add the shortcode block wherever you like.
You can check this screencast for context: https://d.pr/v/aTS9yY
I will also be doing some tests later to verify whether this is WooCommerce or theme related. I’ll update you here with my results. :?)
Cheers!Just a quick follow-up, seems like the developers are already aware of this issue.
Here’s the report for context: https://github.com/woocommerce/woocommerce-blocks/issues/9985We don’t have an exact timeline for when the team will investigate or fix this, as bug reports are prioritized based on a few criteria.
I suggest you subscribe to the report to receive updates. :?)
Let us know if you have any other questions.Hello,
Thanks a lot for your help, however, as I have around 500 products on my website, I guesse it’s easier to wait for the developpers to fix that instead of creating a single template for each one, what do you think?
All the best
As my colleague explained, we can’t provide an exact timeline for resolving this issue. However, if you subscribe to the GitHub issues, you’ll receive updates as soon as released a fix.
Additionally, you don’t have to make a separate template for each product. Instead, you can craft a custom template using the same method and apply it across all your products.
Meanwhile, I’ll be marking the thread as solved for now, but feel free to open a new one if you have any other questions.
Thanks!
- The topic ‘Media (music) in Product Summary’ is closed to new replies.