How to fix the Uncaught SyntaxError: Unexpected token } in JSON at position 113 (module version 1.1.6)?

Created by Rosa Truong, Modified on Wed, 16 Oct, 2019 at 9:11 AM by Rosa Truong

Issue: Module version 1.1.6 works for a simple product, but not for a configurable

In the shopping cart this javascript error occurs:

Uncaught SyntaxError: Unexpected token } in JSON at position 113
 

    {

        "*": {

            "Bss_QuantityDropdown/js/cart-dropdown": {

                "data": }

        }

    }


Answer:

Regarding the issue, this is caused due to our module's bug when we have disabled this config 

 

We have edited this file to fix the issue: app/code/Bss/QuantityDropdown/view/frontend/templates/cart_qty_dropdown.phtml

We would like to send you the fixed file attachment below to update on your site.

Thus, could you please update this file on your site and feel free to let us know if the issue still happens?

 

If you need any further assistance, please feel free to contact us via email sales@bsscommerce.com 

We're always happy to support you.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article