Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange Error Message #11

Open
suture opened this issue Jul 27, 2015 · 2 comments
Open

Strange Error Message #11

suture opened this issue Jul 27, 2015 · 2 comments

Comments

@suture
Copy link

suture commented Jul 27, 2015

Is there a way to customise this error. It looks strange having "Error : error This".

Error : error This cart does not require shipping.

@AlphaThread
Copy link

I have the same question. I am unable to find the source of the ${errorFeedback} variable (found in shipping-rates-calculator.liquid) for this case in either jquery.cart.min.js or shipping-rates-calculator.liquid. Any help would be appreciated.

@AlphaThread
Copy link

Realized that the message is contained in an (imported) .js file that we don't have access to directly.

So workaround was implemented instead, replacing:

${errorFeedback}

with:

${errorFeedback.replace("Error: error This cart does not require shipping", "Error: This cart does not require shipping.")}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants