ทำไมกดปุ่ม wish list กับสินค้าที่มีให้เลือก attributes แล้วถึงได้ขึ้น Please select the product options

ถามตอบ ปัญหาการพัฒนา Extension ไม่ว่าจะเป็น Module plugin Component หรือ แม้แต่ template การปรับแต่งโค้ด Joomla ต่างๆ ทุกเวอร์ชั่น 1.5 2.5 หรือ 3.x

Moderator: mindphp, ผู้ดูแลกระดาน

ภาพประจำตัวสมาชิก
jamepiyawat
PHP VIP Members
PHP VIP Members
โพสต์: 2008
ลงทะเบียนเมื่อ: 21/05/2019 10:45 am

ทำไมกดปุ่ม wish list กับสินค้าที่มีให้เลือก attributes แล้วถึงได้ขึ้น Please select the product options

โพสต์ที่ยังไม่ได้อ่าน โดย jamepiyawat »

ทำไมกดปุ่ม wish list สินค้าที่มีให้เลือก attributes แล้วถึงได้ขึ้น Please select the product options ถ้าเป็นสินค้าที่ไม่ได้ให้เลือก attributes ก็จะสามารแอดได้ปกติครับ
Selection_999(770).png
Selection_999(770).png (4.62 KiB) Viewed 648 times
โค้ด

โค้ด: เลือกทั้งหมด

<a data-toggle="tooltip" class="ask-a-question btn btn-default" title="" rel="nofollow" onclick="window.location = '<?php echo SEFLink('index.php?option=com_mooziicart&controller=cart&task=add&to=wishlist&product_id='.$product->product_id.'&category_id='.$product->category_id);?>'" data-original-title="Add to Wish List"><type="submit"><i class="fa fa-heart"> Add to Wish List</i></a>
ภาพประจำตัวสมาชิก
tsukasaz
PHP VIP Members
PHP VIP Members
โพสต์: 22114
ลงทะเบียนเมื่อ: 18/04/2012 9:39 am

Re: ทำไมกดปุ่ม wish list กับสินค้าที่มีให้เลือก attributes แล้วถึงได้ขึ้น Please select the product options

โพสต์ที่ยังไม่ได้อ่าน โดย tsukasaz »

ปัญหาน่าจะเกิดจาก โค้ดที่ทำ มันส่งค่าผ่าน URL ค่าที่ส่งไป ตอนนี้มีแค่ product_id กับ category_id ไม่ได้ส่งค่า options ที่เลือกไปด้วย

ลองปรับให้ส่งค่าจาก form ของ mooziicart แบบเดิมดูก่อน
The last bug isn't fixed until the last user is dead. (Sidney Markowitz, 1995)
ตอบกลับโพส
  • Similar Topics
    ตอบกลับ
    แสดง
    โพสต์ล่าสุด

ผู้ใช้งานขณะนี้

สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 115