开发者

Magento: Products missing old-prices, keeps lines from being straight

开发者 https://www.devze.com 2023-01-24 00:43 出处:网络
In grid mode displaying the products, I would like the \"Add to cart\" buttons to line up. But beacause only som of m开发者_高级运维y products have old-price, the once who lack it will display the but

In grid mode displaying the products, I would like the "Add to cart" buttons to line up. But beacause only som of m开发者_高级运维y products have old-price, the once who lack it will display the button one line higher up. I have looked in prices.phtml without finding out where to edit.

td;dr: How to add a empty line in catalog if the old-price is empty?


Default themes have this CSS;

.products-grid .actions {
    bottom: 12px;
    position: absolute;
}

...which ensures the elements containing add to cart buttons line up.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号