Skip to content

Can't view added products #5810

Jul 16, 2024 · 2 comments · 13 replies
Discussion options

You must be logged in to vote

Had exactly this problem today, the issue is that a soldius 4.3 install pulls the 4.3 branch of the frontend. This has a couple of issues the file already highlighted and the app/views/carts/_cart_item.html.erb

Both are using selects which work for most products but when they have an infinite stock or even a large stock amount the building of the options can either never end or take a very long time and consume all available memory,

This looks like its fixed in the main branch so maybe just backport these files back into the 4.3 branch? Dont know if there are other files like this though,

Problem lines:
_cart_item.html.erb


<%= item_form.select :quantity, (0..variant.total_on_hand).to_a %>

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
1 reply
@jarednorman
Comment options

Comment options

You must be logged in to vote
12 replies
@jarednorman
Comment options

@ViciousMagician
Comment options

@jarednorman
Comment options

@magpieuk
Comment options

Answer selected by jarednorman
@jarednorman
Comment options

@jarednorman
Comment options

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