跳至內容
選單
此問題已被標幟
2 回覆
3260 瀏覽次數


Hello,


We have an out of stock item in our shop.

We have created advertisements for this product. Customers are coming to this product. The error page is "horrible".

https://boutique.amnesty.be/shop/product/6611-masque-amnesty-187 

How to do (and where) to modify it?

Thanks for your help :-)

C.

頭像
捨棄
最佳答案

Hi,

You could probably modify the "http_routing.http_error" view, but it would impact all errors.
I would rather suggest implementing a custom logic for you out of stock items : leave the product (page) published and active but disable the add to cart button.
Or maybe just set your product to "archived" (and keep it "published") 

頭像
捨棄
最佳答案

If the 500 Internal Server Error is on Your Own Website:
Deactivate a plugin or theme.
Use a plugin like WP Debugging to identify the issue.
Ensure your PHP setup is configured correctly.
Check the code for your site's .htaccess file.
Ensure your new software is installed correctly.

Greetings,
Peter

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 16
5437
2
5月 25
3653
0
11月 24
1007
1
8月 24
1702
1
8月 24
3132