I have the current version of wp, and I'm using the tailor theme, and I have my up sell section set up so items show up. However, if an item is out of stock, it creates a random empty space instead of just showing the other up sell items. For example, if the second item is sold out, it will show item 1, large space, item 3. Is there a way to have it dynamically "fix" the up sell list? So in the example it would just be item 1, item 3.
I have the current version of wp, and I'm using the tailor theme, and I have my up sell section set up so items show up. However, if an item is out of stock, it creates a random empty space instead of just showing the other up sell items. For example, if the second item is sold out, it will show item 1, large space, item 3. Is there a way to have it dynamically "fix" the up sell list? So in the example it would just be item 1, item 3.
The issue I was having was that the query calling the items was checking to see if the main item (i.e. the product the user clicked on) was in stock, not the actual up sell items. Can add code snippets later if needed