
Originally Posted by
Cenkki
fortunately it works.
wget -O -
www.xxxxxx/xxxxx/adminxxx/store_status.php
add... define('CRON_ADMIN_USER_ID', '1');
but :)
if store status 2= Showcase with prices, it change 1= Showcase no prices
if store status 0= Normal Store, its change 1= Showcase no prices again
if store status 1= Showcase no prices, its not changing
That indicates that the script is working as per configuration:
PHP Code:
if ((date(H) >= $store_open) && (date(H) <= $store_close)) {
$zen_store_stat = 0; // Store is Open Normal Zen Cart
} else {
$zen_store_stat = 1; // Store is Closed Showcase no Prices
}
If you wanted store status = 2 then you would need to set
PHP Code:
$zen_store_stat = 2; // Store is Closed Showcase with prices