โดย jamepiyawat » 12/09/2019 4:20 pm
พอดีว่าผมได้นำคำสั่ง Remove มาใส่ในแท็กใหม่แต่ว่าพอกด ok แล้วสินค้ากลับไม่ได้หายไปครับ
- Selection_999(804).png (16.63 KiB) Viewed 657 times
code ที่ Remove ไม่ได้
โค้ด: เลือกทั้งหมด
<button type="submit" class="vmicon vm2-remove_from_cart" href="<?php print $prod['href_delete']?>" onclick="return confirm('<?php print _MZC_CONFIRM_REMOVE?>')" ><i class="fa fa-remove"></i></button>
code ที่ Remove ได้
โค้ด: เลือกทั้งหมด
<a class="button-img" href="<?php print $prod['href_delete']?>" onclick="return confirm('<?php print _MZC_CONFIRM_REMOVE?>')">
<img src = "<?php print $this->image_path ?>images/remove.png" alt = "<?php print _MZC_DELETE?>" title = "<?php print _MZC_DELETE?>" />
</a>
มันต่างกันยังไงเหรอครับ
พอดีว่าผมได้นำคำสั่ง Remove มาใส่ในแท็กใหม่แต่ว่าพอกด ok แล้วสินค้ากลับไม่ได้หายไปครับ
[attachment=0]Selection_999(804).png[/attachment]
code ที่ Remove ไม่ได้
[code]
<button type="submit" class="vmicon vm2-remove_from_cart" href="<?php print $prod['href_delete']?>" onclick="return confirm('<?php print _MZC_CONFIRM_REMOVE?>')" ><i class="fa fa-remove"></i></button>[/code]
code ที่ Remove ได้
[code]<a class="button-img" href="<?php print $prod['href_delete']?>" onclick="return confirm('<?php print _MZC_CONFIRM_REMOVE?>')">
<img src = "<?php print $this->image_path ?>images/remove.png" alt = "<?php print _MZC_DELETE?>" title = "<?php print _MZC_DELETE?>" />
</a>[/code]
มันต่างกันยังไงเหรอครับ