Jump to content

网站可不可以设置几点到几点开放,其它时间关闭?


Recommended Posts

1. 提交一个feature request。看看官方在未来能否将其实现。

2. 修改代码。通过判断服务器时间,开启/关闭maintenance模式,并在该页面显示店铺open/close的时间。

Share this post


Link to post
Share on other sites
  • 3 years later...

1. 提交一个feature request。看看官方在未来能否将其实现。

 

2. 修改代码。通过判断服务器时间,开启/关闭maintenance模式,并在该页面显示店铺open/close的时间。

开启/关闭maintenance 就无法浏览到网站内容了。现在已经看到好几个网站可以根据时间来显示 加入购物车 按钮。

不知道是怎么做到的。

Share this post


Link to post
Share on other sites
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More