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

Error in JS updateOrderSummary function #11

Open
vmatekole opened this issue Jul 30, 2015 · 1 comment
Open

Error in JS updateOrderSummary function #11

vmatekole opened this issue Jul 30, 2015 · 1 comment

Comments

@vmatekole
Copy link

Branch: 3-0-stable
Spree version: 3.0.2

When clicking in payment form the following JS error is emitted:
TypeError: manifest_item.variant is undefined

code:

 $.each(data.shipments, function(i, shipment) {
    $.each(shipment.manifest, function(j, manifest_item) {
      manifest_item.display_amount = manifest_item.quantity * manifest_item.variant.price;
    });
  });
@vmatekole vmatekole changed the title JS error JS updateOrderSummary function Jul 30, 2015
@vmatekole vmatekole changed the title JS updateOrderSummary function Error in JS updateOrderSummary function Jul 30, 2015
@vmatekole
Copy link
Author

Please note this is on a fresh install of Spree 3.0.2

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

1 participant