Comments (3)
Nick,
Still no solution. This issue has made it to our next sprint, so I'll have a solution by 2/5.
Sorry for the delay.
Internal Note: JIRA RESTAPI-5
from responsive_checkout.
Thanks for the update Perry. Definitely looking forward to a solution.
Currently showing edge users a notice letting them know we are incompatible, asking them to use another browser.
from responsive_checkout.
Nick,
I've walked through this several times. The issue seems to be with the localstorage.
There's something I don't understand.
When the checkout page loads, you're loading the page from localstorage, a variable named ic-cart.
However, on the quick view page, after adding an item with the addItems() javascript method, where are you saving the cart back to localstorage?
The only place where the localstorage 'ic-cart' variable is set is from within the updateLocalCart() function, The only places that method is called is the login() method, within the document ready method, MyAccountWrapper.loggedIn,
I would expect to see a call to updateLocalCart made from within the addItems() methods between lines 910-911. Also, I don't like line line 910:
window.cart.items = updatedCart.items;
The notion of only updating part of a cart is a bad practice. The totals, subtotals, and all that jazz are updated constantly, especially when adding items to the cart. I would rather see:
window.cart = updatedCart;
updateLocalCart();
Thoughts?
from responsive_checkout.
Related Issues (20)
- credit card field values are missing HOT 3
- Checkout Registration HOT 2
- Turn Off Billing City / Zip Validation HOT 1
- CC Hosted Fields Iframes - Loads slow in some systems HOT 13
- Custom Receipt Page HOT 7
- Testing Credit Card Failed Attempt Limit Feature HOT 2
- Missing Hosted Fields (CC Number and CVV) HOT 10
- Order ID / Authorize Transaction ID Passed Back to Cart HOT 3
- Payment Declined but Receipt is generated in Ultracart HOT 2
- Using the new rest_proxy.php script with legacy catalog-structured merchant accounts HOT 3
- responsive_checkout HOT 13
- item.html
- I cant run commands giving error HOT 10
- Checkout is not working HOT 8
- upsell custom page setFinalizeAfter HOT 1
- How do I get the value of the credit card type HOT 3
- Load additional states/provinces when the country changes
- International Orders Outside US, Canada, Australia or Manual State/Province Method Needed HOT 2
- Delete Coupons Function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from responsive_checkout.