* แต่ปุ่ม Delete สินค้า สามารถขึ้นใช้งานได้ครับ
* ไม่ทราบว่าเป็นเพราะ อะไรครับ ปุ่ม Addproducts ถึงไม่ขึ้นให้ครับ แต่ถ้าใช้เป็น icon ธรรมดา จะขึ้น Icon ให้ครับ
** จุดประสงค์คือ อยากให้ปุ่ม Addproduct ใส่เป็นแบบปุ่ม Btn ครับ
พอผมใส่ class="btn btn-primary"
จะได้ภาพนี้ครับปุ่มไม่ขึ้น พอผมเอา class="btn btn-primary" ออก ก็จะขึ้นรูปนี้ครับ อันนี้โค้ดปุ่ม Add ลงตระกร้าสินค้าครับ
โค้ด: เลือกทั้งหมด
<a class="button-img" href = "<?php print $prod['remove_to_cart'] ?>" onclick="document.updateCart.submit(<?php print _MZC_REMOVE_TO_CART; ?>);">
<center>
<span style="font-size: 15px" class="btn btn-primary">
<i class="fa fa-shopping-cart" aria-hidden="true"></i>
</span>
</center>
</a>
โค้ด: เลือกทั้งหมด
<a class="button-img" href="<?php print $prod['href_delete']?>" onclick="return confirm('<?php print _MZC_CONFIRM_REMOVE?>')">
<center>
<span style="font-size: 15px" class="btn btn-primary">
<i class="fa fa-trash-o" aria-hidden="true"></i>
</span>
</center>
</a>