开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜