• Resolved laurendevs

    (@laurenklesser)


    Hello, I’m using the checkout block and having a problem with the coupon field. It works fine when I’m logged in and testing, however when not logged in I get two errors when trying to use the coupon ‘firstship’.

    In the console I’m getting these two errors:
    – Uncaught ReferenceError: wp is not defined
    – Failed to load resource: the server responded with a status of 404 () /wc/store/cart/apply-coupon?_locale=user:1

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter laurendevs

    (@laurenklesser)

    I figured out the issue. This was a conflict with settings in the SG Optimizer plugin on Siteground hosting. I turned off Minify JavaScript Files and Combine JavaScript Files options, cleared the cache, and it’s working fine now.

Viewing 1 replies (of 1 total)
  • The topic ‘coupon code not working’ is closed to new replies.