• Resolved greencode

    (@greencode)


    Major problem. Have been on Woo 3.9.2 and Ajax Search 1.6.1. Updated to 1.6.3. earlier today and it breaks the product page, deactivated Ajax Search and everything works as it should. Basically with the product page you could see the variation dropdown, but nothing below it i.e. no add to cart button.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ι have the same problem.
    In console I see the error “Uncaught TypeError: Cannot read property ‘sale_badge’ of undefined”

    Plugin Author Damian Góra

    (@damian-gora)

    Hello,
    Sorry to hear that.

    I prepared a few ways to solve these problems. It may be a browser cache issue, CND or old backward compatibility issue.

    Browser cache issue
    Do you use some optimizations plugin like WP Rocket or similar? If yes, maybe you have enabled the option “Remove Query String from Static Resources”. This option removes query string from JS files, and users still load old versions from browser cache instead latest version. Disable this option.

    CDN issue
    If you load resources from CDN, make sure you cleared and refreshed all caches. Make sure that CDN loads the latest JS files instead of old versions.

    Backward compatibility issue
    In 2018 I created backward compatibility solution that now is deprecated. Maybe you have some records in the database that cause loading old JS files. Remove these rows by following PHP code. Fire it only once:

    
    delete_option('dgwt_wcas_backward_compatibility');
    delete_option('dgwt_wcas_backward_compatibility_version');
    

    To do this you can use Code Snippets plugin.

    One of these solutions should help.

    Best
    Damian Góra

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘1.6.3 Breaks Product page’ is closed to new replies.