是否可以像这样检查 div 类 simplecart_items 中是否有项目?
if simplecart_items == 0 {
NO ITEMS IN THE CARD // Shows no add to card, no total coast and no products quantity
}
else {
The "normal" output // Shows add to card, total coasts and products
}
有办法吗?
是否可以像这样检查 div 类 simplecart_items 中是否有项目?
if simplecart_items == 0 {
NO ITEMS IN THE CARD // Shows no add to card, no total coast and no products quantity
}
else {
The "normal" output // Shows add to card, total coasts and products
}
有办法吗?