<form action="http://xn--42c6aj2bak2dxbtz2l2d.com/index.php" method="post" name="addtocart" id="addtocart500_3" class="addtocart_form">
<input class="inputboxquantity" size="0" id="quantity1" name="quantity[]" value="1" type="hidden">
<input class="addtocart_button" value="หยิบใส่รถเข็น" title="หยิบใส่รถเข็น" type="submit">
<input name="category_id" value="1" type="hidden">
<input name="product_id" value="1" type="hidden">
<input name="prod_id[]" value="1" type="hidden">
<input name="page" value="shop.cart" type="hidden">
<input name="func" value="cartadd" type="hidden">
<input name="Itemid" value="18" type="hidden">
<input name="option" value="com_virtuemart" type="hidden">
<input name="set_price[]" value="" type="hidden">
<input name="adjust_price[]" value="" type="hidden">
<input name="master_product[]" value="" type="hidden">
----------------------------------------------------------------------------------------------------------------------------------
โค๊ดนี้ผมเซฟจากหน้าเว้บ Joomla vm ไปเปิดกับ Dream แล้วเอาโค๊ดนี้มาลองดู อยากเอารูปใส่ตรง หยิบใส่รถเข็นแทนครับ
+1 ทุกท่านครับ
ใช้ css คับ
.addtocart_button {
background-image: url('...');
width: ..px;
height: ..px;
}
เอา value="หยิบใส่รถเข็น" ออกด้วยคับ เพราะไม่งั้นมันจะแสดงข้อความที่ปุ่มอยู่
อ้างถึงจาก: kungbest ใน 05 มิถุนายน 2012, 20:31:01
ใช้ css คับ
.addtocart_button {
background-image: url('...');
width: ..px;
height: ..px;
}
เอา value="หยิบใส่รถเข็น" ออกด้วยคับ เพราะไม่งั้นมันจะแสดงข้อความที่ปุ่มอยู่
ตามนี้ครับ ไม่งั้นใช้ button image ครับ