Error:Uncaught DOMException: Failed to set the 'domain' property on 'Document'
$2-12 USD / hour
Cancelled
Posted over 6 years ago
$2-12 USD / hour
If you go to this website: [login to view URL]
And try to add 1 fish to cart. You will see the fish doesn't add, BUT then reload page, and you will see the fish in your cart. Error that is happening is:
Uncaught DOMException: Failed to set the 'domain' property on 'Document': '[login to view URL]' is not a suffix of '[login to view URL]'. at [login to view URL]:1237:49
This domain [login to view URL] is mapped to a multisite remysreef.exoticreefimports.com.
So the problem is in my [login to view URL] file.
The script is hard coded to my main site incorrectly.
<script type="text/javascript">
[login to view URL] = '[login to view URL]';
[login to view URL] = function() {
fetchCart();
}
I need to replace code for [login to view URL] so that when I set [login to view URL] to be primary it doesn't produce the Uncaught error when trying to add a product to the cart.
We Believe in Delivering Perfect Work and Providing Full Satisfaction to Our Client . We also Insure to Deliver the Work in the given Time Frame . we have highly Qualified Professionals in our team.