PHAHONYOTHIN.COM

กูรู => เครือข่าย => ข้อความที่เริ่มโดย: nattasan ที่ เมษายน 18, 2017, 11:37:48 pm

หัวข้อ: Magento 2 หรือ CE 2 ปัญหาต่างๆ และ วิธีแก้ไข
เริ่มหัวข้อโดย: nattasan ที่ เมษายน 18, 2017, 11:37:48 pm
สวัสดีครับ

ด้วยความที่ผมอยากลองใช้ Magento 2 ก็เลยจัดการลงที่ Host แล้วลองใช้ ปรากฎว่าพอลองอัพรูปสินค้ากลับไม่ขึ้นเลยครับทั้งที่ backend และ frontend ก็พยายามหาข้อมูลก็ไม่เจอเลยนั่งหามา 2-3 วันไม่เจอวันนี้วันที่่ 3 จะถอดใจละครับดันมาเจอบทความนึงที่เค้าเคยเจอแบบผม

วิธีแก้คือ เข้าไปเปลี่ยนชื่อ file .htaccess ใน folder /media เป็น .htaccess-OLD แค่เนี้ยครับ

ไม่รู้ผมเจอปัญหานี้คนเดียวรึเปล่า 555 เผื่อเพื่อนๆ คนไหนเจอแบบผมลองเอาไปใช้ดูน่ะครับ

ที่มาของความรู้ในการแก้ปัญหาครั้งนี้
1. https://www.google.co.th/?gws_rd=ssl#q=Magento+CE+2+images+not+showing
2. https://community.magento.com/t5/Technical-Issues/Magento-2-product-images-not-displaying/td-p/58348

ขอบคุณครับ
หัวข้อ: Re: Magento 2 หรือ CE 2 วิธีแก้เมื่อ upload รูปแล้วรูปไม่ขึ้น
เริ่มหัวข้อโดย: nattasan ที่ เมษายน 25, 2017, 01:00:31 am
แล้วถ้าจะใส่ Script เพิ่ม เช่น พวก Stats Zendesk ฯลฯ ให้ใส่ที่

STORES -> Configuration -> GENERAL -> Design -> HTML Head ให้เอา  Code ต่างๆ ใส่ที่ Miscellaneous Scripts ครับ

ส่วนที่ Footer ใส่แล้วใช้ไม่ได้ครับ
หัวข้อ: Re: Magento 2 หรือ CE 2 วิธีแก้เมื่อ upload รูปแล้วรูปไม่ขึ้น
เริ่มหัวข้อโดย: nattasan ที่ พฤษภาคม 09, 2017, 12:55:23 am
สำหรับ Magento 2 ถ้าจะแก้ไขส่วนของ CSS ให้มาตาม path นี้ครับ domain/public_html/pub/static/frontend/Magento/ธีมที่เราใช้/th_TH/css แล้วก็เข้าไปแก้ไข file CSS ได้เลยครับ
หัวข้อ: Re: Magento 2 หรือ CE 2 วิธีแก้เมื่อ upload รูปแล้วรูปไม่ขึ้น
เริ่มหัวข้อโดย: nattasan ที่ พฤษภาคม 20, 2017, 01:47:47 am
การที่เราจะทำ Tier Price หรือ ประมาณ ซื้อ 2 ใบเหลือเท่านี้ ซื้อ 3 ใบเหลือเท่านี้ ทำได้โดย

ไปที่ Products -> Catelog เลือก Edit Product ที่เราจะทำ

ไปที่ Advanced Settings -> Advanced Pricing

ตรง Customer Group Price ใส่รายละเอียดได้ตามต้องการครับ ถ้าต้องการเพิ่มช่วงราคาอีกก็กด Add Price ไปเรื่อยๆครับ

ขอขอบคุณที่มาของความรู้ครับ : mageplaza.com/kb/how-to-setup-tier-price-in-magento-2.html
หัวข้อ: Re: Magento 2 หรือ CE 2 ปัญหาต่างๆ และ วิธีแก้ไข
เริ่มหัวข้อโดย: nattasan ที่ ธันวาคม 12, 2019, 05:01:14 pm
ผมเจอปัญหา You did not sign in correctly or your account is temporarily disabled.

วิธีแก้ไขที่ผมทำครับ

1.) ที่ phpMyAdmin > Table: XX_admin_user เลือก Edit
failures_num
first_failure
lock_expires
Set ทั้งหมดเป็น 0 ครับ (หรือคลิกที่ Null แล้วคลิกออก)
จากนั้นกด Go

2.) ที่ phpMyAdmin > Table: XX_admin_passwords เลือก Edit
ลบข้อมูลในนี้ให้หมด

3.) ไปที่หน้า admin > http://www.XXX.com/XXX/admin
เลือกที่ Forgot your password? จากนั้นใส่ Email address สำหรับรับ link reset password
ใส่ password ที่เราต้องการ เป็นอันเรียบร้อยครับ

- Truncate the mage_admin_user_session table
- In the mage_admin_user table reset failures_num to 0 and first_failure to NULL for the relevant user(s)
- Reset password via the front end option (not directly in the DB)

ที่มาของความรู้ในการแก้ปัญหาครั้งนี้
https://magento.stackexchange.com/questions/127245/magento-2-did-not-sign-in-correctly-or-your-account-is-temporarily-disabled