• Helo
    I am making a post with products, using woocommerce products block, but the add to cart button does not work, a rotating icon appears. In the browser console it indicates an error when pressing the product button:
    TypeError: 'toString' called on an object that does not implement interface HTMLAnchorElement. jquery.js:4:24838

    I have added the products with shorcode [products ids = “”] and it works fine with the Customizr theme

    I have tried the Storefront template using woocommerce products block, and the button works well, when I press the message “see cart” appears below the button

    Greetings, Teresa

    Wordpress Versión 5.4
    Theme Customizr versión 4.2.4
    WooCommerce Versión 4.0.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author presscustomizr

    (@nikeo)

    Thank you for reporting the bug. I’m exploring it. I may ask you more details on how to reproduce it.
    While I’m working on the issue, can I you confirm that you follow the troubleshooting steps listed here : https://www.ads-software.com/support/topic/troubleshooting-tips-for-customizr-theme/ ?

    In your next reply can you :

    1. Please make sure to share your site URL when possible, so that we can see the issue and run some tests on your site.
    2. Include your system infos when creating your post. You’ll find them under Dashboard > Themes > About Customizr

    If relevant please include screenshot(s) of the issue.
    Tip : You can use an online screenshot sharing tool like https://prnt.sc/ to include a link to screenshot.

    Thanks

    Theme Author presscustomizr

    (@nikeo)

    The problem might be created by a collision with an internal option of the Customizer for links.
    Try to uncheck the two external links options located in the customizer > Global Settings > Formatting (…)

    Thread Starter Teresa In

    (@teresa-in)

    I have tried the indications
    Sorry I can’t share the url because I’m working on localhost

    The problem is solved by unchecking the options located in the customizer > Global Settings > Formatting (…) https://prnt.sc/s3yaoh

    I have done tests with the child theme and the parent theme Customizr, the error is the same when the external links options are checked in the customizer > Global Settings > Formatting (…) https://prnt.sc/s3ycif

    The info under Dashboard > Themes > About Customizr

    # SITE_URL:                 https://localhost/huver2020
    # HOME_URL:                 https://localhost/huver2020
    # IS MULTISITE :            No
    
    # ACTIVE THEME :            Customizr Child 1.0.0
    # PARENT THEME :            Customizr 4.2.4
    # WP VERSION :              5.4
    # PERMALINK STRUCTURE :     /%postname%/
    
    # ACTIVE PLUGINS :
    Advanced Woo Search: 1.99
    All In One SEO Pack: 3.4.2
    Contact Form 7: 5.1.7
    Cookie Notice: 1.3.1
    Custom Sidebars: 3.2.3
    Loco Translate: 2.3.3
    Really Simple CAPTCHA: 2.0.2
    Regenerate Thumbnails: 3.1.3
    WooCommerce: 4.0.1
    WooCommerce Checkout Manager: 5.0.3
    WooCommerce Enhancements for Spanish Market: 1.6
    WooCommerce PDF Invoices: 3.0.11
    WP-Optimize - Clean, Compress, Cache: 3.0.19
    
    PHP Version:              7.2.24-0ubuntu0.18.04.4
    MySQL Version:            5.7.29-0ubuntu0.18.04.1
    Web Server Info:          Apache/2.4.29 (Ubuntu)
    
    WordPress Memory Limit:   40MB
    PHP Memory Limit:         256M
    PHP Upload Max Size:      18M
    PHP Post Max Size:        36M
    PHP Upload Max Filesize:  18M
    PHP Time Limit:           30
    PHP Max Input Vars:       1000
    PHP Arg Separator:        &
    PHP Allow URL File Open:  Yes
    WP_DEBUG:                 Disabled
    
    Show On Front:            page
    Page On Front:            Huevos, Verduras y Frutas a Domicilio (#834)
    Page For Posts:            (#0)
    

    Greetings, Teresa

    • This reply was modified 4 years, 7 months ago by Teresa In.
    • This reply was modified 4 years, 7 months ago by Teresa In.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce products blocks don’t work’ is closed to new replies.