In " YOU MAY ALSO LIKE" section, "Add to cart" button and "Qty" input box are out of product card?

Hi guys,

In " YOU MAY ALSO LIKE" section in product page, “Add to cart” button and “Qty” input box not in product card in " YOU MAY ALSO LIKE" section. In collections, all great.

Applied the following for collections that worked very well:

theme.j

if(window.location.href.indexOf(“allianceautoproducts.com/collections”) > -1) {
const list = document.querySelectorAll(“.grid-view-item.product-card”);
const addDiv = document.querySelectorAll(“.grid__item.grid__item–collection-template.small–one-half.medium-up–one-quarter form”);
var index = 0;
list.forEach(l => {
l.style.height = “auto”;
l.appendChild(addDiv[index])
index ++;
})
}

Thank you

allianceautoproducts.com

Hi @Alliance ,

I checked and it shows fine, did you solve it?

No, not fixed. In product page not yet, in collection it is ok.

Need to fix this in product page, in desktop and mobile view.

Hi @Alliance ,

I don’t understand, it’s inside the product’s box, what do you want to change? Can you describe it in more detail?

I will check it.